-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hi, I am running in a pixi environment using python 3.11.11, and I downloaded all the files using the download_files -f morph command. During this download, it went through the files until lemmas_dic.pickle and then returned an error:
two_grams.pickle
100%|██████████████████████████████| 22.7M/22.7M [00:01<00:00, 16.9MiB/s]
Done: .pickle
three_grams.pickle
100%|███████████████████████████████| 6.11M/6.11M [00:07<00:00, 802kiB/s]
Done: .pickle
four_grams.pickle
100%|██████████████████████████████| 1.22M/1.22M [00:00<00:00, 2.26MiB/s]
Done: .pickle
five_grams.pickle
100%|█████████████████████████████████| 430k/430k [00:01<00:00, 383kiB/s]
Done: .pickle
lemmas_dic.pickle
100%|████████████████████████████████| 880M/880M [00:42<00:00, 20.6MiB/s]
Done: .pickle
Traceback (most recent call last): File "<frozen runpy>",
line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code
File "C:\folders\arabic_texts\.pixi\envs\default\Scripts\download_files.exe\__main__.py", line 4, in <module>
ImportError: cannot import name 'main' from 'sinatools.CLI.DataDownload.download_files'
(C:\folders\arabic_texts\.pixi\envs\default\Lib\site-packages\sinatools\CLI\DataDownload\download_files.py)I then go on to run the example code given on the website:
from sinatools.morphology import morph_analyzer
morph_analyzer.analyze('ذهب الولد الى المدرسة')It does not return any output. The code also takes a long time to run.
Metadata
Metadata
Assignees
Labels
No labels