Trying the latest version of SinaTools and am facing some issues when loading the NER model. I installed it using the pip command, and downloaded the NER model using the "download_files -f NER" command. I am attempting to run the sample script:
from sinatools.ner.entity_extractor import extract
extract('ذهب محمد إلى جامعة بيرزيت')
and am facing the following error:
ModuleNotFoundError: No module named 'torchtext'
Despite the latest release saying torchtext dependency was removed. Upon downloading torchtext and running this code again, I get the following error:
OSError: [WinError 127] The specified procedure could not be found
I have tried creating a fresh environment as well to no effect.
Environment:
Python 3.11.11
Windows 11
Dependencies: Installed using "pip install sinatools"
Trying the latest version of SinaTools and am facing some issues when loading the NER model. I installed it using the pip command, and downloaded the NER model using the "download_files -f NER" command. I am attempting to run the sample script:
and am facing the following error:
ModuleNotFoundError: No module named 'torchtext'Despite the latest release saying torchtext dependency was removed. Upon downloading torchtext and running this code again, I get the following error:
OSError: [WinError 127] The specified procedure could not be foundI have tried creating a fresh environment as well to no effect.
Environment:
Python 3.11.11
Windows 11
Dependencies: Installed using "pip install sinatools"