Open CMallart opened 1 year ago
Hi, Can we please get help for the above mentioned issue please? I'm getting the same error for Bulgarian.
Already downloaded a model for the 'bg' language
Error
Traceback (most recent call last):
File "test_venv/lib/python3.9/site-packages/spacy/language.py", line 1014, in __call__
doc = self._ensure_doc(text)
File "test_venv/lib/python3.9/site-packages/spacy/language.py", line 1105, in _ensure_doc
return self.make_doc(doc_like)
File "test_venv/lib/python3.9/site-packages/spacy/language.py", line 1097, in make_doc
return self.tokenizer(text)
File "test_venv/lib/python3.9/site-packages/spacy_udpipe/tokenizer.py", line 83, in __call__
udpipe_sents = self.model(text=text) if text else [Sentence()]
File "test_venv/lib/python3.9/site-packages/spacy_udpipe/udpipe.py", line 99, in __call__
sentences = self.tokenize(text)
File "test_venv/lib/python3.9/site-packages/spacy_udpipe/udpipe.py", line 144, in tokenize
tokenizer = self.model.newTokenizer(self.model.DEFAULT)
AttributeError: 'NoneType' object has no attribute 'newTokenizer'
Appreciate your response at the soonest!
plus 1 for this issue!
Hello,
I installed spacy-udpipe from the Pypi repo using the following
pip install spacy-udpipe
When I follow the tutorial code from the Pypi package tutorial
it raises the following error
I am using spacy==3.5.0 and spacy-udpipe==1.0.0 inside of a Python 3.8.10 venv. I have also installed spacy-conll==3.3.0 and spacy-transformers==1.2.1.