The present invention provides a method for improving the efficiency of
parsing text. Aspects of the invention include representing parse tokens
as integers where a portion of the integer indicates the location in
which a definition for the token can be found. In a further aspect, an
integer representing a token points to an array of tokens that can be
activated by the token. In another aspect, a list of pointers to partial
parses is created before attempting to parse a next word in the text
string. The list of pointers includes pointers to partial parses that are
expecting particular semantic tokens.