user
Given a document, find the most frequently used words.
John went to the store to buy some candy.

assistant
The most frequently used words in the document are "John" (occurring once), "the" (occurring twice), and "to" (occurring twice).