Chart parsing using compacted grammar representations
Abstract
A chart parser and a method for generating a parse chart for a sequence of input symbols in accordance with an abbreviated representation of a grammar. According to the method, an abbreviated representation of a grammar is stored as a set of finite-state automata, each finite-state automaton corresponding to a rule of the grammar. Chart edges are derived chart edges from the sequence of input symbols in accordance with the set of finite-state automata and are stored in the parse chart. Each chart edge spans a portion of the sequence of input symbols and may include a left input vertex index corresponding to the start of the span of the chart edge, a right input vertex index corresponding to the end of the span of the chart edge, a rule number, indicating which finite-state automaton of the plurality of finite-state automata has been used to generate the chart edge, a left state index, indicating the left most state of the finite-state automaton that has been matched and a right state index, indicating the right most state of the finite-state automaton that has been matched, the left-hand side of the rule and a path through the finite state comprising the right-hand side of the rule
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 25.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for generating a parse chart for a sequence of input symbols in accordance with an abbreviated representation of a grammar comprising a set of rules formed using operaters for optionality, disjunctivity, and repetition, said method comprising: storing the abbreviated representation of the grammar as a set of finite-state automata, each finite-state automaton of the set of finite-state automata corresponding to a rule of the set of rules; receiving the sequence of input symbols; deriving chart edges from the sequence of input symbols in accordance with said abbreviated representation o
- Claim 2Depends on #1
A method in accordance with claim 1 , wherein said s
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 25 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (3)
- "Direct Parsing of ID/LP Grammars" by Stuart M. Shieber. Liguistics and Philosophy7; D. Reidel Publishing Company, 1984, pp. 135-154.
- Jay Earley; "An Efficient Context-Free Parsing Algorithm"; University of Californai, Berkeley, CA.; pp. 25-33.
- Marsal Gavalda; "Soup: A Parser for Real-World Spontaneous Speech"; Interactive Systems, Inc.; Pittsburgh, PA.