Part 3: Practical Tasks With AllenNLP

Semantic Parsing: Intro and Seq2Seq Model

This chapter describes the problem of semantic parsing—mapping language to executable programs—and how to build a simple seq2seq semantic parser with AllenNLP.

1Semantic parsing

2A toy task: Natural Language Arithmetic

3Semantic parsing as machine translation

4Implementing a seq2seq model



7Further reading

  1. "Semantic parsing" is also used to refer to non-executable meaning representations, like AMR or semantic dependencies. In this series of chapters on semantic parsing, we're referring exclusively to the executable kind of meaning representation.