Go to file
Percy Liang ff5ab511fa add background reading 2014-01-23 12:34:38 -08:00
data fix tutorial.ttl bug 2014-01-08 00:17:48 -08:00
fig fixes in tutorial and also code changes from last 6 months 2014-01-14 09:00:13 -08:00
scripts initial version 2013-09-18 00:10:20 -07:00
src/edu/stanford/nlp/sempre Bug fix in sempre script - replace 'pivot' with 'join' 2014-01-20 08:32:24 -08:00
LICENSE.txt initial version 2013-09-18 00:10:20 -07:00
Makefile initial version 2013-09-18 00:10:20 -07:00
QUICKSTART.md Updated quickstart; changed ports; added interactive mode, removed download of ttl (not needed) 2014-01-10 12:42:57 -08:00
README.md initial version 2013-09-18 00:10:20 -07:00
TUTORIAL.md add background reading 2014-01-23 12:34:38 -08:00
download-dependencies some renaming and splitting of db 2013-10-16 22:24:42 -07:00
release-code.files fixes in tutorial and also code changes from last 6 months 2014-01-14 09:00:13 -08:00
release-core.files initial version 2013-09-18 00:10:20 -07:00
release-emnlp2013.files change in emnlp2013 grammar file 2014-01-16 10:53:48 -08:00
release-fullfreebase.files initial version 2013-09-18 00:10:20 -07:00
release-fullfreebase_ttl.files release files for geogreebase and fullfreebase split into ttl and vdb 2013-10-29 09:09:44 -07:00
release-fullfreebase_vdb.files release files for geogreebase and fullfreebase split into ttl and vdb 2013-10-29 09:09:44 -07:00
release-geofreebase.files initial version 2013-09-18 00:10:20 -07:00
release-geofreebase_ttl.files release files for geogreebase and fullfreebase split into ttl and vdb 2013-10-29 09:09:44 -07:00
release-geofreebase_vdb.files release files for geogreebase and fullfreebase split into ttl and vdb 2013-10-29 09:09:44 -07:00
sempre Bug fix in sempre script - replace 'pivot' with 'join' 2014-01-20 08:32:24 -08:00
testng.xml initial version 2013-09-18 00:10:20 -07:00

README.md

SEMPRE: Semantic Parsing with Execution

SEMPRE is a toolkit for training semantic parsers, which map natural language utterances to denotations (answers) via intermediate logical forms. See TUTORIAL.md for a walkthrough of the system.

If you use this system, please cite:

@inproceedings{berant2013freebase,
  author = {J. Berant and A. Chou and R. Frostig and P. Liang},
  booktitle = {Empirical Methods in Natural Language Processing (EMNLP)},
  title = {Semantic Parsing on {F}reebase from Question-Answer Pairs},
  year = {2013},
}

Requirements

SEMPRE depends on the following:

Aside from Java and Ruby, remaining software dependencies are among what's fetched by the download-depenencies script.

Tests

To troubleshoot or check for repository health, you can run a suite of unit tests that come packaged with the system. The command for this is:

./sempre @mode=test -excludegroups xfail

These tests assume you have a connection to a SPARQL endpoint at localhost:3093. To avoid this assumption, you can exclude any tests that require a SPARQL server by instead running:

./sempre @mode=test -excludegroups xfail,sparql

And if you don't have emnlp2013 dependencies downloaded, you'll need to exclude yet another group of unit tests:

./sempre @mode=test -excludegroups xfail,sparql,emnlp2013

All of these tests should pass.

License

SEMPRE is licensed under the GNU General Public License (v2 or later). Note that this is the /full/ GPL, which allows many free uses, but not its use in distributed proprietary software.