Closed kercos closed 5 years ago
Hi @pypt, by any chance did you have time to look into this?
Hey @kercos, sorry for a late reply, busy times on my end!
I have no proof, but I think spaCy messes with regex
library's internals in some way, esp. given that they have pinned a specific regex
version in their requirements.txt
.
In a recent https://github.com/explosion/spaCy/pull/3218 PR (merged to develop
) they got rid of regex
dependency altogether, so I'd suggest that you try out installing that. Nightly from https://github.com/explosion/spaCy/tree/develop works for me, so I'd suggest that you try it out too!
Feel free to reopen the issue if you still encounter this issue.
I have no proof, but I think spaCy messes with
regex
library's internals in some way, esp. given that they have pinned a specificregex
version in theirrequirements.txt
.
Yep, it used to be so that spaCy globally changes the regex
settings: https://github.com/svlandeg/spaCy/blob/master/spacy/lang/char_classes.py#L6
But indeed on develop
, the regex
library was removed entirely.
Thanks @pypt and @svlandeg for looking into this. I'll give it a try ASAP and let you know.
Hi, great work!
I'm having a conflict when using both spacy and sentence_splitter.
The following code:
gives the following error: