发明名称 Method and apparatus for robust efficient parsing
摘要 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. A fourth aspect of the invention utilizes a data structure to list the semantic tokens that have been fully parsed for each span in the input text segment. When a token is fully parsed, the list is accessed to determine if the new token should be discarded.
申请公布号 US7024351(B2) 申请公布日期 2006.04.04
申请号 US20010934223 申请日期 2001.08.21
申请人 MICROSOFT CORPORATION 发明人 WANG YEYI
分类号 G06F17/27 主分类号 G06F17/27
代理机构 代理人
主权项
地址