Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoogleCodeExporter opened this issue Oct 26, 2015 · 0 comments
Open

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

GoogleCodeExporter opened this issue Oct 26, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant