Dictionary is a separate structure from the index that stores all the words from an
indexed document, plus their number of occurrences in the corpus. It serves for linguistic
expansion mechanisms such as spell-checking or regular expression matching.