shahchandra / mate-tools

Automatically exported from code.google.com/p/mate-tools
0 stars 0 forks source link

parse_full.sh points to wrong .jar files in classpath #13

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Execute sh scripts/parse_full.sh

What is the expected output? What do you see instead?

Output gives

Exception in thread "main" java.lang.NoClassDefFoundError: is2/util/OptionsSuper
    at se.lth.cs.srl.languages.Language.getLemmatizer(Language.java:99)
    at se.lth.cs.srl.languages.Language.getPreprocessor(Language.java:72)
    at se.lth.cs.srl.CompletePipeline.getCompletePipeline(CompletePipeline.java:37)
    at se.lth.cs.srl.CompletePipeline.main(CompletePipeline.java:93)

What version of the product are you using? On what operating system?
SRL pipeline with all required models.
srl-20130917

Please provide any additional information below.

Changing 

classpath variable from 

CP="srl.jar:lib/anna.jar:lib/liblinear-1.51-with-deps.jar:lib/opennlp-tools-1.4.
3.jar:lib/maxent-2.5.2.jar:lib/trove.jar:lib/seg.jar"

to

CP="srl.jar:lib/anna-3.3.jar:lib/liblinear-1.51-with-deps.jar:lib/opennlp-tools-
1.4.3.jar:lib/maxent-2.5.2.jar:lib/trove.jar:lib/seg.jar"

with the required models (cf. next command)

java -cp 
srl.jar:lib/anna-3.3.jar:lib/liblinear-1.51-with-deps.jar:lib/opennlp-tools-1.4.
3.jar:lib/maxent-2.5.2.jar:lib/trove.jar:lib/seg.jar -Xmx3g 
se.lth.cs.srl.CompletePipeline eng -tagger 
models/CoNLL2009-ST-English-ALL.anna-3.3.postagger.model -parser 
models/CoNLL2009-ST-English-ALL.anna-3.3.parser.model -srl 
models/CoNLL2009-ST-English-ALL.anna-3.3.srl-4.1.srl.model -lemma 
models/CoNLL2009-ST-English-ALL.anna-3.3.lemmatizer.model -test input.txt -out 
output.txt

solves the problem.

Original issue reported on code.google.com by nikoschenk on 8 Oct 2014 at 9:53