Git Product home page Git Product logo

sempre's Introduction

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.

sempre's People

Contributors

percyliang avatar

Stargazers

Shizhu He avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.