fasttext-predict-0.9.2.1
توضیحات
fasttext with wheels and no external dependency, but only the predict method (<1MB)
| ویژگی | مقدار |
|---|---|
| سیستم عامل | Unix |
| نام فایل | fasttext-predict-0.9.2.1 |
| نام | fasttext-predict |
| نسخه کتابخانه | 0.9.2.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Alexandre Flament |
| ایمیل نویسنده | alex.andre@al-f.net |
| آدرس صفحه اصلی | https://github.com/searxng/fasttext-predict/ |
| آدرس اینترنتی | https://pypi.org/project/fasttext-predict/ |
| مجوز | MIT |
fasttext-predict
================
Python package for
`fasttext <https://github.com/facebookresearch/fastText>`__:
- keep only the ``predict`` method, all other features are removed
- standalone package without external dependency (numpy is not a
dependency)
- wheels for various architectures using GitHub workflows. The script
is inspired by lxml build scripts.
Usage
-----
.. code:: sh
pip install fasttext-predict
.. code:: python
import fasttext
model = fasttext.load_model('lid.176.ftz')
result = model.predict('Fondant au chocolat et tarte aux myrtilles')
See https://fasttext.cc/docs/en/language-identification.html
نحوه نصب
نصب پکیج whl fasttext-predict-0.9.2.1:
pip install fasttext-predict-0.9.2.1.whl
نصب پکیج tar.gz fasttext-predict-0.9.2.1:
pip install fasttext-predict-0.9.2.1.tar.gz