Closed chaouiy closed 1 year ago
Hi, you can use python warnings
filters to manage how these warnings are handled: https://docs.python.org/3/library/warnings.html#the-warnings-filter
Hi, I still have the same ussue. How to simply shut up all UserWarning?
You can call code with python -W ignore script.py
to turn off all warnings (docs). This is not special or unique to spaCy.
Just going through some older issues...
It sounds like this was resolved, but please feel free to reopen if you're still running into issues!
I am parsing a big corpus that takes days to index. It is an arabic corpus so I need
spacy-stanza.
I have noticed that it is printing for each sentence I parseUserWarning: Can't set named entities because of multi-word token expansion or because the character offsets don't map to valid tokens produced by the Stanza tokenizer
This makes the parsing a lot slower. I suggest to remove these warnings