Weighted Parsing for Grammar-Based Language Models over Multioperator Monoids
Abstract
We develop a general framework for weighted parsing which is built on top of grammar-based language models and employs multioperator monoids as weight algebras. It generalizes previous work in that area (semiring parsing, weighted deductive parsing) and also covers applications outside the classical scope of parsing, e.g., algebraic dynamic programming. We show an algorithm for weighted parsing and, for a large class of weighted grammar-based language models, we prove formally that it terminates and is correct.
- Publication:
-
arXiv e-prints
- Pub Date:
- November 2019
- DOI:
- 10.48550/arXiv.1911.06585
- arXiv:
- arXiv:1911.06585
- Bibcode:
- 2019arXiv191106585M
- Keywords:
-
- Computer Science - Formal Languages and Automata Theory;
- F.4.2
- E-Print:
- 59 pages (89 with appendix)