When examining a collection of texts, researchers often want to get a sense of the differences in how certain words or phrases are used by different groups. For example, if we’re examining a collection of books, we might be interested in identifying phrases that distinguish particular authors or genres from…