-
-
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
Extra space within doc.text method #859
Comments
Thanks for the report -- bad bug. Will try to get this fixed shortly. In the meantime I think the error relates to the recent URL regex changes. |
Recently
|
@oroszgy Non-trivial whitespace has always been a token in spaCy -- I figured you'd have noticed this before. Is something new here that I'm not understanding? |
Hm, interesting, somehow I did not noticed this behaviour before. I guess my previous comment is useless in this case. |
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. |
An unexpected space was added within the doc.text.
code as below:
Note that there is a space before \n which was not there in the input. This caused incorrect position of tokens when I tried to map to original text
Your Environment
The text was updated successfully, but these errors were encountered: