Systems and methods for generating weighted finite-state automata representing grammars
Abstract
A context-free grammar can be represented by a weighted finite-state transducer. This representation can be used to efficiently compile that grammar into a weighted finite-state automaton that accepts the strings allowed by the grammar with the corresponding weights. The rules of a context-free grammar are input. A finite-state automaton is generated from the input rules. Strongly connected components of the finite-state automaton are identified. An automaton is generated for each strongly connected component. A topology that defines a number of states, and that uses active ones of the non-terminal symbols of the context-free grammar as the labels between those states, is defined. The topology is expanded by replacing a transition, and its beginning and end states, with the automaton that includes, as a state, the symbol used as the label on that transition. The topology can be fully expanded or dynamically expanded as required to recognize a particular input string.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 0.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for converting a context-free grammar to a finite-state automaton representing the context-free grammar, the method comprising: generating a first finite-state automaton from a set of rules associated with the context-free grammar; generating, from the first finite-state automaton, at least one second finite-state automaton; receiving a topology that defines an application of the context-free grammar; generating a third finite-state automaton that represents the received topology; and expanding the third finite-state automaton based on the at least one second finite-state automaton.
- Claim 2Depends on #1
The method of claim 1 , wherein the received topology defines at least one condition under which the context-free grammar is to be applied to an input string of symbols of the grammar.
- Claim 3Depends on #1
The method of claim 1 , wherein the topology identifie
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (16)
Non-Patent Literature (5)
- Cortes et al., "Context-Free Recognition with Weighted Automata," Jan. 2000, Kluwer Academic Publishers, vol. 3, No. 2-3, pp. 133-150.
- Karttunen, Lauri, "Finite-State Lexicon Compiler", Xerox Palo Alto Research Center, Apr. 1993.
- Knight et al., "A Primer on Finite-State Software for Natural Language Processing," Aug. 1999, ten pages.
- Mohri et al. "Dynamic Compilation of Weighted Context-Free Grammars," Proceedings of ACL '98. Montreal, Quebec, Canada, pp. 891-897.
- Mohri et al. "Regular approximation of context-free grammars through transformation," Robustness in Language and Speech Technology, Kluwer Academic Press, The Netherlands, 2000, pp. 251-261.