-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
ShiftReduceParserQuery Throwing NPE in Pipeline #42
Comments
Are you using the latest models? If so, what query are you using that causes it to crash? On Sun, Dec 7, 2014 at 8:40 AM, techscrub notifications@github.com wrote:
|
I didn't realize the SR models had changed from 3.4 to 3.5. I put in the new models and it works perfectly. I really can't thank you enough for the help, and for creating the SR parser. I have an enormous amount of text to crunch, and the performance gain from the SR parser is a game changer. |
Thanks! Great that you like it! |
I'm very excited about the new SR parser, and I'm trying to drop it into a StanfordCoreNLP pipeline, but it's throwing an NPE when it gets to ShiftReduceParserQuery. The same code works with the PCFG parser, and I'm using version 3.5.0. The only properties I'm applying are:
The stack trace leads to line 72 in the ShiftReduceParserQuery class:
I confirmed that parser.model is null here, even though the output says the model loads successfully. The relevant part of the output is below.
The text was updated successfully, but these errors were encountered: