Whatlang — screenshot of whatlang.org

Whatlang

Whatlang is a natural language detection library for Rust. It provides a robust and efficient way to identify languages within Rust applications.

Visit whatlang.org →

Questions & Answers

What is Whatlang?
Whatlang is an open-source library for the Rust programming language designed for natural language detection. It analyzes text input to determine its language.
Who is Whatlang for?
Whatlang is primarily for Rust developers who need to integrate language identification capabilities into their applications. It is useful for projects involving multi-language support, text processing, or content filtering.
What are the key features of Whatlang?
Whatlang provides a performant solution for language detection within the Rust ecosystem. It not only identifies the language but can also detect the script (e.g., Latin, Cyrillic) and offer a confidence score for its prediction.
When should I use Whatlang in my project?
You should use Whatlang when your Rust application needs to automatically determine the language of text input, such as user comments, articles, or other dynamic content. This enables language-specific processing or display logic.
What is the licensing model for Whatlang?
The Whatlang source code is distributed under the MIT License. This permissive license allows for broad use, modification, and distribution, including in commercial applications.