Learning to Map Sentences to Logical Form: Structured Classification with Probabilistic Categorial Grammars
Abstract
This paper addresses the problem of mapping natural language sentences to lambda-calculus encodings of their meaning. We describe a learning algorithm that takes as input a training set of sentences labeled with expressions in the lambda calculus. The algorithm induces a grammar for the problem, along with a log-linear model that represents a distribution over syntactic and semantic analyses conditioned on the input sentence. We apply the method to the task of learning natural language interfaces to databases and show that the learned parsers outperform previous methods in two benchmark database domains.
- Publication:
-
arXiv e-prints
- Pub Date:
- July 2012
- DOI:
- 10.48550/arXiv.1207.1420
- arXiv:
- arXiv:1207.1420
- Bibcode:
- 2012arXiv1207.1420Z
- Keywords:
-
- Computer Science - Computation and Language
- E-Print:
- Appears in Proceedings of the Twenty-First Conference on Uncertainty in Artificial Intelligence (UAI2005)