Comparison
fasttext-langdetect vs fasttext-predict vs langdetect vs langid
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
80x faster and 95% accurate language identification with fastText
Maintained. Last release 5 weeks ago, commits in 1 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install fasttext-langdetectfasttext with wheels and no external dependency, but only the predict method (<1MB)
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install fasttext-predictLanguage detection library ported from Google's language-detection.
Likely abandoned. No release or commit for years (last release over 5 years ago).
pip install langdetectlangid.py is a standalone Language Identification (LangID) tool.
Likely abandoned. No release or commit for years (last release over 10 years ago).
pip install langidIn short
- fasttext-predict is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- langdetect looks abandoned: avoid it for new projects.
- langid looks abandoned: avoid it for new projects.
- fasttext-langdetect is the most used: 99.1K downloads a month.
- fasttext-langdetect also has the best Pythie’s Index (50).
Side by side
| Metric | fasttext-langdetect | fasttext-predict | langdetect | langid |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 50 | 27 |