I haven't figured out which is the default model that corenlp uses to parse sentences. I tried to explicitly call the following method to use englishSR which corenlp says has better performance:
// use faster shift reduce parser
props.setProperty("parse.model", "edu/stanford/nlp/models/srparser/englishSR.ser.gz");
And I got the following error:
edu.stanford.nlp.io.RuntimeIOException: java.io.IOException: Unable to open "edu/stanford/nlp/models/srparser/englishSR.ser.gz" as class path, filename or URL
I just commented the above line for now and maybe we can work on it later.
I haven't figured out which is the default model that corenlp uses to parse sentences. I tried to explicitly call the following method to use englishSR which corenlp says has better performance:
And I got the following error:
I just commented the above line for now and maybe we can work on it later.