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
AttributeError: 'NoneType' object has no attribute 'text' when using nlp.pipe() #5
Comments
@coltonpeltier-db I will take a look this week👍 |
https://stackoverflow.com/questions/69976538/spacy-preparing-training-data-doc-char-span-returning-none |
I will take a further look on coming friday. @coltonpeltier-db |
Hello there!
I got this
|
@coltonpeltier-db, is the issue resolved now after the commit by @Hmkhalla? If yes, I'll close this and update the code to a new version. |
Just tested with my example above, can't replicate the issue anymore. Thanks @Hmkhalla ! |
Hi, when I process multiple text documents as a batch, I have failure with the error message:
AttributeError: 'NoneType' object has no attribute 'text'
. However, processing each text document by itself produces no such error. Here is a easy to reproduce example:Fulll stack trace below:
I don't know what about the lengths of the strings causes an issue, but they do seem to matter in some way. Adding or removing a couple characters from either string can resolve the issue.
The text was updated successfully, but these errors were encountered: