-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
ParserStateError #758
Comments
Thanks! Will investigate. |
Hi. Thanks for all your work. For what it's worth, I'm running into the same issue in version 1.5.0. I added a comment to issue #429 describing the code (match rule, with callback, doing a span merge) and the text I'm parsing, but I'm thinking that's not really the issue where it belongs. Additionally, I'm able to do this to work around the ParserStateError:
The resulting doc has "5,956 BOPD." merged into a single token, but the entity type is ORG, and not QUANTITY. However, the match rule for {like_num,"BOPD."} does try to define the match as a QUANTITY, as does the span.merge in the on_match callback. One more update... At least in 1.5.0, passing keyword args to span.merge didn't work for me.
However, this (I think deprecated form) did:
I'm not a Python programmer, so this might be a noob issue on my part. |
Issue #758 occurs when no actions are available for a single token doc after merging.
I think this is fixed now. The code in this |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi,
We are getting a parser state error.
Here is our test:
Here is the trace:
Our spacy version: spacy==1.3.0
Python 3.5.1
Mac OSX EI Capitan
Any help or fix is much appreciated! Let us know if you need more details.
The text was updated successfully, but these errors were encountered: