Generate a map of trigram frequency