Decision Workspace
langr vs langid-rs vs naturallanguage
Side-by-side comparison of Rust crates
41
langr
experimentalv0.1.0
Fast, low-memory single-purpose language detector using an LLM subword vocab and token->language posteriors.
45
langid-rs
growingv1.1.0
A fast and lightweight language identification library in Rust, inspired by py3langid.
56
naturallanguage
experimentalv0.5.0
Safe Rust bindings for Apple's NaturalLanguage framework — language detection, tokenization, tagging, embeddings, gazetteers, and custom models on macOS
Core Metrics
| langr | langid-rs | naturallanguage | |
|---|---|---|---|
| Health Score | 41 | 45 | 56 |
| Total Downloads | 35 | 2.8K | 145 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 0 |
| Releases | 1 | 4 | 8 |
| Last Updated | 100d ago | 385d ago | 15d ago |
| Age | 3m | 1y 2m | 4m |
Health Breakdown
langr
Maintenance
8
Quality
14
Community
5
Popularity
2
Documentation
12
langid-rs
Maintenance
7
Quality
18
Community
3
Popularity
4
Documentation
13
naturallanguage
Maintenance
18
Quality
17
Community
6
Popularity
3
Documentation
12
Technical Details
| langr | langid-rs | naturallanguage | |
|---|---|---|---|
| Version | 0.1.0 | 1.1.0 | 0.5.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 13 | 0 | 2 |
| Crate Size | 41KB | 1.5MB | 69KB |
| Features | 2 | 0 | 9 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | 1.84 | — | 1.82 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •naturallanguage leads with a health score of 56/100, but none of the options score above 80.
- •langid-rs has the most downloads (2.8K), suggesting wider adoption.
- •⚠ langid-rs has not been updated in over a year.
- •langr, naturallanguage are pre-1.0 — API may change.