Skip to content

Commit

Permalink
Significantly simplify commandline invocation
Browse files Browse the repository at this point in the history
Our previous usage was so complex due to Indri JNI which we don't use after all.
  • Loading branch information
pasky committed Jan 19, 2014
1 parent c6732ec commit a3deef8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -21,7 +21,7 @@ Quick instructions for setting up, building and running (focused on Debian Wheez
* ``for i in opennlp netagger wordnet questionanalysis stanfordparser indices; do wget http://pasky.or.cz/dev/brmson/res-$i.zip; unzip res-$i.zip; done``
* ``wget https://github.com/downloads/oaqa/helloqa/guten.tar.gz; tar -C data -xf guten.tar.gz``
* ``mvn verify``
* ``mvn exec:exec -Dexec.executable=java -Dexec.args="-Djava.library.path=lib/ -classpath %classpath edu.cmu.lti.oaqa.ecd.driver.ECDDriver phases.blanqa"``
* ``mvn -q exec:java -Dexec.arguments="phases.blanqa"``

The performance on the Project Gutenberg corpus is not very good. You can
try asking questions about a smaller snippet of English text ``data/sample.txt``
Expand Down
14 changes: 14 additions & 0 deletions pom.xml
Expand Up @@ -142,6 +142,20 @@
</descriptorRefs>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
<configuration>
<mainClass>edu.cmu.lti.oaqa.ecd.driver.ECDDriver</mainClass>
</configuration>
</plugin>
</plugins>
</build>
</project>

0 comments on commit a3deef8

Please sign in to comment.