Go to file
Emilka ea2beaee7e WebQuestions 2018-03-20 05:32:26 +01:00
data WebQuestions 2018-03-20 05:32:26 +01:00
demo-www Pre-release of SEMPRE 2.0 2014-12-21 18:43:16 -08:00
freebase Start state 2018-01-27 17:31:58 +01:00
interactive feat(install): Add unlisted dependency and change shebang of ruby script 2017-08-06 19:26:08 +09:00
overnight Documentation fixes 2016-05-21 15:07:43 -07:00
resources WebQuestions 2018-03-20 05:32:26 +01:00
scripts Added new README.md 2018-03-17 15:17:34 +01:00
src/main/java/edu/stanford/nlp/sempre WebQuestions 2018-03-20 05:29:42 +01:00
tables Fixed incorrect options 2018-01-11 15:52:34 -08:00
unittest-files Pre-release of SEMPRE 2.0 2014-12-21 18:43:16 -08:00
.gitattributes Added multiple databases and OpenType 2018-02-20 19:49:37 +01:00
.gitignore data process, faster parsing, reproduce results 2017-04-07 22:41:34 -07:00
DOCUMENTATION.md Documentation fixes 2016-05-21 15:07:43 -07:00
LICENSE.txt change license 2016-01-08 21:01:13 -08:00
README.md Update README.md 2018-03-19 20:32:11 +01:00
TUTORIAL.md Updated contents on SPARQL in README / TUTORIAL 2016-11-15 14:02:14 -08:00
build.xml Switched to Maven. Yay! Added analyzers 2018-03-16 04:04:37 +01:00
config.properties No external models needed 2018-03-20 02:25:28 +01:00
pom.xml WebQuestions 2018-03-20 05:29:42 +01:00
pull-dependencies Updated README and changed installation 2018-03-19 16:51:51 +01:00
quick_run.sh Switched to Maven. Yay! Added analyzers 2018-03-16 04:04:37 +01:00
run Switched to Maven. Yay! Added analyzers 2018-03-16 04:04:37 +01:00
testng.xml exclude my tests in main 2017-03-17 22:40:39 -07:00

README.md

ROBOY SEMANTIC PARSER

Semantic Parser based on SEMPRE.

Installation

Requirements

You must have the following already installed on your system.

  • Java 8 (not 7)
  • Maven
  • Ruby 1.8.7 or 1.9
  • wget
  • make (for compiling fig and Virtuoso)
  • zip (for unzip downloaded dependencies)

Other dependencies will be downloaded as you need them. SEMPRE has been tested on Ubuntu Linux 12.04 and MacOS X. Your mileage will vary depending on how similar your system is.

Build

In order to build application with all needed dependencies run:

./pull-dependencies roboy
mvn clean
mvn install

Word2Vec Model

Small model for parser has to be manually downloaded from this link and put it in data/word2vec. Other models: google_model

Run

Roboy Talk Grammar and Lexicon

To run SEMPRE with Roboy grammar in interactive mode (from command line):

mvn exec:java@interactive -Dexec.mainClass=edu.stanford.nlp.sempre.Main

To run SEMPRE with Roboy grammar in socket mode (port 5000):

mvn exec:java@demo -Dexec.mainClass=edu.stanford.nlp.sempre.Main

To run SEMPRE with Roboy grammar in socket mode (port 5000) with training:

mvn exec:java@test -Dexec.mainClass=edu.stanford.nlp.sempre.Main

To run SEMPRE with Roboy grammar in web server mode:

mvn exec:java@debug -Dexec.mainClass=edu.stanford.nlp.sempre.Main