lingua-rs and lingua_ex

These are ecosystem siblings where the second is a language binding that wraps the first Rust library to expose its functionality to Elixir applications.

lingua-rs
66
Established
lingua_ex
41
Emerging
Maintenance 16/25
Adoption 20/25
Maturity 16/25
Community 14/25
Maintenance 10/25
Adoption 5/25
Maturity 9/25
Community 17/25
Stars: 1,067
Forks: 53
Downloads: 235,303
Commits (30d): 2
Language: Rust
License: Apache-2.0
Stars: 14
Forks: 9
Downloads:
Commits (30d): 0
Language: Elixir
License: Apache-2.0
No Package No Dependents
No Package No Dependents

About lingua-rs

pemistahl/lingua-rs

The most accurate natural language detection library for Rust, suitable for short text and mixed-language text

Based on the README, here's a technical summary: Combines rule-based and statistical Naive Bayes classification without neural networks or external dictionaries, enabling offline language detection from single words to full sentences across 75 languages. Trained on Leipzig University corpora with separate train/test splits from news data, delivering measurably higher accuracy on short text than competing libraries like CLD2 and Whatlang. Includes minimal configuration requirements and ships with bundled language models for immediate use without API dependencies.

About lingua_ex

joshrotenberg/lingua_ex

An Elixir wrapper around the Rust Lingua language detection library.

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