fasttext-predict
v0.9.2.4fasttext with wheels and no external dependency, but only the predict method (<1MB)
88 KBplatform-specificMIT License
$ uv add fasttext-predictfasttext-predict
Python package for fasttext_:
- keep only the
predictmethod, 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
pip install fasttext-predict
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
Details
- Version
- 0.9.2.4
- License
- MIT License
- Maintainer
- Alexandre Flament
Links
Platforms
linuxarm64mac-x86mac-armwinmusl
Maintainers
- Alexandre Flament · [email protected]