-
-
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
Doc.is_sentenced is False for single-token Docs #3934
Comments
This is currently expected, because the last
|
There's kind of no good policy around this unfortunately, but I think returning
3 and 4 are obviously terrible. 5 sounds like a good solution, but the problem is that we'll be losing the information when we do |
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. |
* Make doc.is_sentenced return True if len(doc) < 2. * Make doc.is_nered return True if len(doc) == 0, for consistency. Closes explosion#3934
The following code should pass imo.
but it produces the following error due to the last line
Info about spaCy
The text was updated successfully, but these errors were encountered: