lichengunc / refer-parser2

Referring Expression Parser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error while Parsing expressions using Stanford Parser

BelaChakraborty opened this issue · comments

Hello, I tried to parse the sentence using:
python parse_sents.py --dataset refclef --splitBy unc --num_workers 4

I get the following error. I get the same error for all the REFER dataset. Could you plz advice what might be the reason.
Screenshot from 2020-03-21 17-02-58

Hello, have you solved this problem? I get the same problems

Same error. Seems like running the java command directly like
java -Xmx3g -cp edu.stanford.nlp.pipeline.StanfordCoreNLP -props /media/disk/user/abhinav/refer-parser2/pyutils/corenlp/default.properties,
gives the error:

Unrecognized option: -props
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

and the errors could be related. The java version installed is 1.8.0_282.

Seems like the problem is resolved if you extract the fill corenlp jars in the models folder.
Link: https://nlp.stanford.edu/software/stanford-corenlp-full-2015-04-20.zip