As a user, I want to generate a page index based on an input list of phrases, so that I can create a document index.