Using wildcards in semantic parsing
First Claim
Patent Images
1. A method of generating a semantic representation of a string of words from a language, the method comprising:
- identifying at least one semantic token activated by a word;
placing the identified semantic token in a list of potential semantic tokens for the semantic representation of the string of words;
placing a wildcard semantic token in the list of potential semantic tokens for the word, the wildcard semantic token being activated by every word in the language; and
building the semantic representation in part by utilizing one of the semantic tokens in the list of potential semantic tokens by generating a semantic token that has a wildcard semantic token as a child node based on the generation of the wildcard semantic token by identifying a rule for the semantic token in a rule set where the rule indicates that the wildcard semantic token is the left-most child node of the semantic token.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus perform semantic parsing by designating one or more words in an input text stream as wildcards. Under some embodiments, partially constructed parses formed from other words in the text stream are used to control when a later word will be identified as a wildcard. In particular, if a partial parse is expecting a semantic token that begins with a wildcard, the next word in the input text segment is designated as a wildcard term. If none of the existing partial parses are expecting a semantic token that begins with a wildcard, the next word is not designated as a wildcard
13 Citations
8 Claims
-
1. A method of generating a semantic representation of a string of words from a language, the method comprising:
-
identifying at least one semantic token activated by a word; placing the identified semantic token in a list of potential semantic tokens for the semantic representation of the string of words; placing a wildcard semantic token in the list of potential semantic tokens for the word, the wildcard semantic token being activated by every word in the language; and building the semantic representation in part by utilizing one of the semantic tokens in the list of potential semantic tokens by generating a semantic token that has a wildcard semantic token as a child node based on the generation of the wildcard semantic token by identifying a rule for the semantic token in a rule set where the rule indicates that the wildcard semantic token is the left-most child node of the semantic token. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method of parsing text to form a semantic structure, the semantic structure formed of terminal nodes and non-terminal nodes, each non-terminal node being represented by a semantic token that is defined by child nodes beneath the semantic token, the method comprising:
-
generating a semantic token that has a word in the text as a child node; generating a wildcard semantic token that has a word in the text as a child node, the wildcard semantic token having any word as a child node; generating a semantic token that has a wildcard semantic token as a child node based on the generation of the wildcard semantic token by identifying a rule for the semantic token in a rule set where the rule indicates that the wildcard semantic token is the left-most child node of the semantic token; and utilizing at least one of the generated semantic tokens in the semantic structure representing the semantic meaning of the text. - View Dependent Claims (8)
-
Specification