Comparison
fasttext-langdetect vs langdetect vs pycld2
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-langdetectLanguage detection library ported from Google's language-detection.
Likely abandoned. No release or commit for years (last release over 5 years ago).
pip install langdetectPython bindings around Google Chromium's embedded compact language detection library (CLD2)
Low maintenance activity. Last release 20 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install pycld2In short
- langdetect looks abandoned: avoid it for new projects.
- pycld2 is the most used: 706.7K downloads a month.
- fasttext-langdetect is better maintained: Pythie’s Index 50 against 29.
Side by side
| Metric | fasttext-langdetect | langdetect | pycld2 |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 50 | 13 |