whatlang-rs and whichlang

These are competitors: both are standalone language detection libraries for Rust with overlapping functionality, and users would typically choose one based on performance, accuracy, or dependency preferences rather than use them together.

whatlang-rs
62
Established
whichlang
55
Established
Maintenance 6/25
Adoption 20/25
Maturity 16/25
Community 20/25
Maintenance 6/25
Adoption 20/25
Maturity 16/25
Community 13/25
Stars: 1,062
Forks: 120
Downloads: 117,933
Commits (30d): 0
Language: Rust
License: MIT
Stars: 442
Forks: 24
Downloads: 15,996
Commits (30d): 0
Language: Rust
License: MIT
No Package No Dependents
No Package No Dependents

About whatlang-rs

greyblake/whatlang-rs

Natural language detection library for Rust. Try demo online: https://whatlang.org/

Detects 70 languages using trigram-based language models, returning both language identification and script recognition (Latin, Cyrillic, etc.) alongside confidence metrics. Built entirely in Rust with zero external dependencies, it calculates detection reliability using a hyperbolic threshold function that considers unique trigram frequency and inter-language score differential. Provides FFI bindings and integrates with major search engines like Meilisearch and Sonic, with optional serde/enum-map support for ecosystem compatibility.

About whichlang

quickwit-oss/whichlang

A blazingly fast and lightweight language detection library for Rust

Scores updated daily from GitHub, PyPI, and npm data. How scores work