Using speculative parsing to process complex input data
First Claim
Patent Images
1. A parser comprising:
- a plurality of subparsers, each for attempting to interpret a stream of tokens corresponding to a statement in a respectively different way and for returning a respective speculative result and a respective confidence level;
a main parser unit for receiving said stream of tokens, for identifying said stream of tokens as said statement and for invoking ones of said plurality of subparsers; and
a selector for selecting said respective speculative result based upon each confidence level, returned by said ones of said plurality of subparsers which are invoked, being at a predetermined level.
7 Assignments
0 Petitions
Accused Products
Abstract
A parser includes a plurality of subparsers, a main parser unit, and a selector. Each of the subparsers attempts to interpret a stream of tokens corresponding to a statement in a respectively different way. In addition, each subparser returns a speculative result and a respective confidence level. The main parser unit receives the stream of tokens, identifies that the stream of tokens make up a statement and invokes at least a few of the subparsers. The selector selects one speculative result based upon the confidence level returned by the subparsers which are invoked by the main parser unit.
-
Citations
16 Claims
-
1. A parser comprising:
-
a plurality of subparsers, each for attempting to interpret a stream of tokens corresponding to a statement in a respectively different way and for returning a respective speculative result and a respective confidence level; a main parser unit for receiving said stream of tokens, for identifying said stream of tokens as said statement and for invoking ones of said plurality of subparsers; and a selector for selecting said respective speculative result based upon each confidence level, returned by said ones of said plurality of subparsers which are invoked, being at a predetermined level. - View Dependent Claims (2)
-
-
3. A parser comprising:
-
a plurality of subparsers, each for attempting to interpret a stream of tokens corresponding to a statement in a respectively different way and for returning a respective speculative result and respective confidence level; a main parser unit for receiving said stream of tokens, for identifying said stream of tokens as said statement and for invoking ones of said plurality of subparsers; and a selector for selecting said respective speculative result based upon each confidence level, returned by said ones of said plurality of subparsers which are invoked, being above a predetermined level.
-
-
4. A parser comprising:
-
a plurality of subparsers, each for attempting to interpret a stream of tokens corresponding to a statement in a respectively different way and for returning a respective speculative result and a respective confidence level; a main parser unit for receiving said stream of tokens, for identifying said stream of tokens as said statement and for invoking ones of said plurality of subparsers; and a selector for selecting said respective speculative result based upon each confidence level, returned by said ones of said plurality of subparsers which are invoked, being higher than other respective confidence levels returned by other of said parsers.
-
-
5. A parser comprising:
-
a plurality of subparsers, each for attempting to interpret a stream of tokens corresponding to a statement in a respectively different way and for returning a respective speculative result and a respective confidence level; a main parser unit for receiving said stream of tokens, for identifying said stream of tokens as said statement and for invoking ones of said plurality of subparsers wherein, said ones of said plurality of subparsers are invoked in a predetermined order; and a selector for selecting said respective speculative result based upon each confidence level returned by said ones of said plurality of subparsers. - View Dependent Claims (6, 7)
-
-
8. A parser comprising:
-
a plurality of subparsers, each for attempting to interpret a stream of tokens corresponding to a statement in a respectively different way and for returning a respective speculative result and a respective confidence level; a main parser unit for receiving said stream of tokens, for identifying said stream of tokens as said statement and for invoking ones of said plurality of subparsers wherein, said ones of said plurality of subparsers are invoked concurrently; and a selector for selecting said respective speculative result based upon each confidence level returned by said ones of said plurality of subparsers which are invoked.
-
-
9. A method of parsing a stream of tokens corresponding to a statement, comprising the steps of:
-
receiving said stream of tokens and identifying said stream of tokens as said statement; invoking a plurality of subparsers to attempt to interpret said stream of tokens, wherein each of said subparsers generates a respective speculative result and a respective confidence level; and selecting one of said speculative results from said plurality of subparsers based upon said respective confidence level, generated by each of said subparsers, being at a predetermined level. - View Dependent Claims (10)
-
-
11. A method of parsing a stream of tokens corresponding to a statement, comprising the steps of:
-
receiving said stream of tokens and identifying said stream of tokens as said statement; invoking a plurality of subparsers to attempt to interpret said stream of tokens, wherein each of said subparsers generates a respective speculative result and a respective confidence level; and selecting one of said speculative results from said plurality of subparsers based upon said respective confidence level, generated by each of said subparsers, being above a predetermined level.
-
-
12. A method of parsing a stream of tokens corresponding to a statement, comprising the steps of:
-
receiving said stream of tokens and identifying said stream of tokens as said statement; invoking a plurality of subparsers to attempt to interpret said stream of tokens, wherein each of said subparsers generates a respective speculative result and a respective confidence level; and selecting one of said speculative results from said plurality of subparsers based upon said respective confidence level, generated by each of said subparsers, being higher than other respective confidence levels returned by other of said parsers.
-
-
13. A method of parsing a stream of tokens corresponding to a statement, comprising the steps of:
-
receiving said stream of tokens and identifying said stream of tokens as said statement; invoking a plurality of subparsers to attempt to interpret said stream of tokens wherein, said ones of said plurality of parsers are invoked in a predetermined order, wherein each of said subparsers generates a respective speculative result and a respective confidence level; and selecting one of said speculative results from said plurality of subparsers based upon said respective confidence level, generated by each of said subparsers. - View Dependent Claims (14, 15)
-
-
16. A method of parsing a stream of tokens, comprising:
-
receiving said stream of tokens and identifying said stream of tokens as said statement; invoking a plurality of subparsers to attempt to interpret said stream of tokens wherein, ones of said subparsers are invoked concurrently, wherein each of said subparsers generates a respective speculative result and a respective confidence level; and selecting one of said speculative results from said plurality of subparsers based upon said respective confidence level, generated by each of said subparsers.
-
Specification