Patent ID: 8666729

Claim:
A method of creating a natural language grammar set of data based on an input text string, the method comprising: tagging the input text string; examining, via a processor, the input text string for at least one first set of substitutions based on content of the input text string; and determining whether the input text string is a substring of a previously tagged input text string by comparing the input text string to a previously tagged input text string, wherein the substring determination operation determines whether the input text string is wholly included in the previously tagged input text string, wherein if the input text string is determined to be a substring of a previously tagged input text string, then determining whether the input text string and the at least one additional input text string share a common pre-assigned tag identifier stored in a memory location, and wherein if the input text string and the at least one additional input text string share the common pre-assigned tag identifier stored in the memory location, then eliminating at least one of the input text string and the at least one additional input text string from the natural language grammar.