Project Icon

lingua-py

Short Text Language Detection with High Accuracy and Flexibility

Product DescriptionThe lingua-py library provides accurate language detection for both long and short texts, including single words, which is useful in natural language processing tasks such as text classification and email sorting. It is a lightweight tool that operates offline without the need for external services. By using a combination of rule-based and statistical methods, it effectively identifies languages from minimal data. The library supports a range of 75 languages and is optimized for performance and memory efficiency through its integration with a Rust implementation.
Project Details