![]() |
SippyCup
Bill MacCartney |
SippyCup is a simple semantic parser, written in Python, created purely for didactic purposes. The design favors simplicity and readability over efficiency and performance. The goal is to make semantic parsing look easy!
SippyCup demonstrates an approach to semantic parsing based around:
We present applications of SippyCup to three different domains:
SippyCup was inspired by, and partly adapted from, the demonstration code published as a companion to Liang & Potts 2015, "Bringing machine learning and compositional semantics together". It was developed primarily for the benefit of students in Stanford's CS224U: Natural Language Understanding, and therefore contains exercises (without solutions) for use in the class. However, it should be of use to anyone interested in learning about semantic parsing. If you're new to Python, you might find this Python tutorial useful.
In addition to the Python source code, SippyCup includes a codelab on semantic parsing, published as a sequence of four IPython Notebooks:
SippyCup remains a work in progress, and you will find a number of TODOs throughout this notebook and the accompanying Python codebase. You will likely also find errors! You can help to contribute to SippyCup by sending corrections to the author or by sending a pull request to the SippyCup GitHub repository.