@@ -17,7 +17,8 @@ Recall that in semantic parsing, *natural language utterances* are mapped into
1717* logical forms* (think programs), which are executed to produce some
1818* denotation* (think return value).
1919
20- We have assumed you have already downloaded SEMPRE and can open up a shell:
20+ We have assumed you have already [ installed] ( README.md#installation )
21+ SEMPRE and can open up a shell:
2122
2223 ./run @mode=simple
2324
@@ -32,7 +33,7 @@ shell command and executes it. To see which command is run, do:
3233
3334This should print out:
3435
35- rlwrap java -cp libsempre/*:lib/* -ea edu.stanford.nlp.sempre.Main -interactive
36+ java -cp libsempre/*:lib/* -ea edu.stanford.nlp.sempre.Main -Main. interactive
3637
3738You can pass in additional options:
3839
@@ -586,7 +587,7 @@ To stop the server:
586587### Setting up a copy of Freebase
587588
588589The best case is someone already installed Freebase for you and handed you a
589- host: port . Otherwise, to run your own copy of the Freebase graph (a
590+ host: port . Otherwise, to run your own copy of the entire Freebase graph (a
5905912013 snapshot), read on.
591592
592593Download it (this is really big and takes a LONG time):
@@ -611,12 +612,9 @@ We assume you have started the Virtuoso database:
611612
612613Then start up a prompt:
613614
614- ./run @mode=simple-freebase @sparqlserver=localhost:3001
615-
616- The simplest logical formula in lambda DCS is a single entity:
617-
618- fb:en.california
615+ ./run @mode=simple-freebase-nocache @sparqlserver=localhost:3001
619616
617+ The simplest logical formula in lambda DCS is a single entity such as ` fb:en.california ` .
620618To execute this query, simply type the following into the interactive prompt:
621619
622620 (execute fb:en.california)
@@ -753,7 +751,7 @@ is the basis for the overloading.
753751
754752Now start the interactive prompt:
755753
756- ./run @mode=simple-freebase @sparqlserver=localhost:3001 -Grammar.inPaths freebase/data/tutorial-freebase.grammar -SimpleLexicon.inPaths freebase/data/tutorial-freebase.lexicon
754+ ./run @mode=simple-freebase-nocache @sparqlserver=localhost:3001 -Grammar.inPaths freebase/data/tutorial-freebase.grammar -SimpleLexicon.inPaths freebase/data/tutorial-freebase.lexicon
757755
758756We should be able to parse the following utterances:
759757
0 commit comments