1 unstable release
new 0.1.0 | Apr 14, 2025 |
---|
#436 in Text processing
Used in langram_train
52KB
1K
SLoC
Langram - the most accurate language detection library
Over 200 languages
This library is a complete rewrite of Lingua: more languages, more accuracy, faster, etc.
Setup
To use it, you need to patch langram_models
in Cargo.toml
:
- From Git:
[patch.crates-io]
langram_models = { git = "https://github.com/RoDmitry/langram_models.git" }
- From predownloaded copy:
[patch.crates-io]
langram_models = { path = "../langram_models" }
Which is more advanced and allows you to remove model ngrams, so that final executable would be lighter.
Dependencies
~14MB
~403K SLoC