Language independent parsing in natural language systems
OwnerJohn Harney, Janet Dwyerinventors
Life of this patent
Estimating the term…
Abstract
There are provided methods and apparatus for parsing and for self-learning in natural language systems. A parsing method for a natural language system includes the step of parsing an input phrase to identify at least one word or phrase in the input phrase for which synonyms exist. The method further includes the step of substituting the synonyms in place of the identified at least one word or phrase, in descending order by text length, to provide a modified input phrase. The method also includes the step of repeating the parsing and substituting steps one of until the synonyms no longer exist or a pre-specified number of times.
Claims48
A parsing method for a natural language system, comprising:
- parsing an input phrase to identify at least one word or phrase in the input phrase for which synonyms exist;
- substituting the synonyms in place of the identified at least one word or phrase, in descending order by text length, to provide a modified input phrase;
- and
- repeating said parsing and substituting steps until the synonyms no longer exist or a pre-specified number of times.
A parsing method for a natural language system, comprising:
- parsing an input phrase to identify commands therein;
- and
- replacing the commands with language tags associated with the commands, in ascending order by text length,
- wherein the associated language tags correspond to a predefined library of functions in a target application program.
An apparatus for parsing an input phrase in a natural language system, comprising:
- a synonym mapper configured to map at least one of words-to-synonyms and phrases-to-synonyms;
- and
- a parser, in signal communication with said synonym mapper, configured to parse the input phrase to identify at least one word or phrase in the input phrase for which synonyms exist, substitute the synonyms in place of the identified at least one word or phrase in descending order by text length to provide a modified input phrase, and repeat the parsing and the substituting until the synonyms no longer exist or a pre-specified number of times.
An apparatus for parsing an input phrase in a natural language system, comprising:
- a language tag mapper configured to map commands-to-associated-language-tags;
- and
- a parser, in signal communication with said language tag mapper, configured to parse an input phrase to identify commands therein, and to replace the commands with language tags associated with the commands in ascending order by text length,
- wherein the associated language tags correspond to a target application program.
A self-learning method for a natural language system, comprising:
- detecting a new command indicator in an input phrase, the new command indicator configured to indicate a presence of a new user-defined command in the input phrase and to facilitate parsing of the new user-defined command from the input phrase;
- and
- utilizing the new command indicator to extract the new user-defined command from the input phrase for further processing.
A self-learning apparatus for a natural language system, comprising:
- a language tag mapper for mapping commands-to-associated-language-tags;
- and
- a parser, in signal communication with said language tag mapper, configured to detect a new command indicator in the input phrase, the new command indicator for indicating a presence of a new user-defined command in the input phrase and for facilitating parsing of the new user-defined command from the input phrase, said parser being further configured to utilize the new command indicator to extract the new user-defined command from the input phrase for further processing.
Dependencies are inferred from the claim text.