allenai / ike

Build tables of information by extracting facts from indexed text corpora via a simple and effective query language.
http://allenai.org/software/interactive-knowledge-extraction/
Apache License 2.0
56 stars 20 forks source link

CreateIndex location moved? #233

Closed isabelleaugenstein closed 7 years ago

isabelleaugenstein commented 7 years ago

I tried to build a new index by running this in sbt:

ike/runMain org.allenai.dictionary.index.CreateIndex --help

as suggested in the documentation. However, I get the following error:

[info] Running org.allenai.dictionary.index.CreateIndex --help
[error] Error: Could not find or load main class org.allenai.dictionary.index.CreateIndex
java.lang.RuntimeException: Nonzero exit code returned from runner: 1
    at scala.sys.package$.error(package.scala:27)
[trace] Stack trace suppressed: run last compile:runMain for the full output.
[error] (compile:runMain) Nonzero exit code returned from runner: 1
[error] Total time: 1 s, completed 25-Sep-2016 14:10:31

I managed to get work out the right package name by unpacking ike_2.11-0.5-SNAPSHOT.jar in folder target/scala-2.11/ The following command for building indeces works in sbt:

ike/runMain org.allenai.ike.index.CreateIndex  --help
sbhaktha commented 7 years ago

Thank you for noting that @isabelleaugenstein . The README is now fixed!