Go to file
Jonathan Berant f1828933e8 fix to null pointer bug for type.object.type equivalent formula 2015-05-27 16:53:18 -07: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 acl 2014 release 2014-04-09 12:20:13 -07:00
src/edu/stanford/nlp/sempre fix to null pointer bug for type.object.type equivalent formula 2015-05-27 16:53:18 -07:00
.gitignore minor fixes to quickstart and readme plus gitignore 2014-01-20 13:01:39 -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 update to quickstart.md for acl 2014 release 2014-04-09 14:27:29 -07:00
README.md initial version 2013-09-18 00:10:20 -07:00
TUTORIAL.md Update TUTORIAL.md 2014-10-12 12:14:53 -07:00
download-dependencies acl 2014 release 2014-04-09 12:20:13 -07:00
parasempre acl 2014 release 2014-04-09 12:20:13 -07:00
release-acl2014.files added derivation.txt file to the release 2014-04-09 14:15:12 -07:00
release-code.files acl 2014 release 2014-04-09 12:20:13 -07:00
release-core.files acl 2014 release 2014-04-09 12:20:13 -07:00
release-emnlp2013.files new released model for emnlp2013 2014-01-27 16:13:46 -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 acl 2014 release 2014-04-09 12:20:13 -07: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.