nds is not available [BUG] ๐ ๐ท ๐
ulf1 opened this issue ยท 1 comments
Describe the bug
nds
model is missing or not available for download
To Reproduce
Install package
pip install uralicNLP
Download nds
model
python -m uralicNLP.download -l nds
# or in python
# from uralicNLP import uralicApi
# uralicApi.model_info("nds")
The error message:
Downloading analyser for nds
99% 48/48.640625 [00:00<00:00, 292.24it/s]
Model analyser for nds was downloaded
Downloading analyzer.pt for nds
No content-length, cannot show progress for download
Couldn't download analyzer.pt for nds. It might be that the model for the language is not supported yet.
Downloading generator.pt for nds
No content-length, cannot show progress for download
Couldn't download generator.pt for nds. It might be that the model for the language is not supported yet.
Downloading lemmatizer.pt for nds
No content-length, cannot show progress for download
Couldn't download lemmatizer.pt for nds. It might be that the model for the language is not supported yet.
Downloading analyser-norm for nds
98% 44/44.9248046875 [00:00<00:00, 260.70it/s]
Model analyser-norm for nds was downloaded
Downloading analyser-dict for nds
No content-length, cannot show progress for download
Couldn't download analyser-dict for nds. It might be that the model for the language is not supported yet.
Downloading generator-desc for nds
98% 43/43.9716796875 [00:00<00:00, 254.54it/s]
Model generator-desc for nds was downloaded
Downloading generator-norm for nds
100% 43/43.1123046875 [00:00<00:00, 254.70it/s]
Model generator-norm for nds was downloaded
Downloading generator for nds
No content-length, cannot show progress for download
Couldn't download generator for nds. It might be that the model for the language is not supported yet.
Downloading cg for nds
99% 68/68.82421875 [00:00<00:00, 396.78it/s]
Model cg for nds was downloaded
Downloading metadata.json for nds
75% 1/1.33203125 [00:00<00:00, 553.56it/s]
Model metadata.json for nds was downloaded
Downloading dictionary.json for nds
98% 1/1.015625 [00:00<00:00, 577.17it/s]
Model dictionary.json for nds was downloaded
Calling uralicApi.dictionary_lemmas("nds")
would result in
EmptyDatabaseException: The dictionary is empty for nds in path /usr/local/lib/python3.7/dist-packages/uralicNLP/models/nds/dictionary.json
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Google Colab
- Version [e.g. 10]
- HFST version
- CG3 version
- Python version (2 is not supported at all): 3.7
Additional context
Add any other context about the problem here.
Not all models or resources are available for all languages. The basics for nds are available (analysis, generation and lemmatization). However, the transducers for nds are rather small so they probably don't cover too many words. If you would like to improve them, you can contact the authors of the nds resources here: https://github.com/giellalt/lang-nds