1. One or more computer-readable media having computer-executable instructions embodied thereon for performing a method of expanding and indexing relationships between words within a sentence, the method comprising: receiving a first electronic document having content that includes text; breaking the text into one or more sentences; determining a first grammatical role for a word in the sentence; determining that the word has more than one potential grammatical role; assigning a second grammatical role to the word, wherein the second grammatical role is a subservient grammatical role to the first grammatical role, which is a dominant grammatical role, wherein the subservient grammatical role fits within a definition of the dominant grammatical role and has a more specific definition; and storing the word with the first grammatical role and the second grammatical role in an index that associates the word and the sentence with the first electronic document, thereby allowing a search engine to match the first electronic document with a search query that includes similar words having similar roles.