Generating metadata for phrases and usage time series