lingua-py
The most accurate natural language detection library for Python, suitable for short text and mixed-language text (by pemistahl)
cld3
By google
Our great sponsors
lingua-py | cld3 | |
---|---|---|
8 | 6 | |
881 | 749 | |
- | 2.3% | |
7.4 | 0.0 | |
27 days ago | 11 months ago | |
Python | C++ | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
lingua-py
Posts with mentions or reviews of lingua-py.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-26.
-
Typos — automatic language recognition and error detection in Word and Excel documents
ᅠ✅ Recognition of 75 languages
-
The hand-picked selection of the best Python libraries and tools of 2022
Hi u/dekked_, perhaps you want to add my natural language detection library Lingua to the NLP section of the long tail. It is pretty unique among the natural language detection libraries for Python because it is able to detect multiple languages in mixed-language text. It is also one of the most accurate libraries when detecting the language of short text. I would very much appreciate if you added my library to your list.
- Lingua 1.2.0 - The most accurate natural language detection library for Python - now with support for detecting multiple languages in mixed-language text.
- Lingua 1.1.0 - The most accurate natural language detection library for Python
-
Lingua-Go, the most accurate language detection for Go
I've compared the Python implementation of Lingua with fasttext. Lingua performs clearly better. Look here: https://github.com/pemistahl/lingua-py#4-how-good-is-it
- Lingua 1.0.1: The most accurate natural language detection library for Python - previously for Python >= 3.9, now compatible with Python >= 3.7
- Announcing Lingua 1.0.0: The most accurate natural language detection library for Python, suitable for long and short text alike
cld3
Posts with mentions or reviews of cld3.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-10.
-
cld3: Rust binding for Compact Language Detector v3 (CLD3), a neural network model for language identification.
the C++ code is from https://github.com/google/cld3
- Lingua-Go, the most accurate language detection for Go
-
Announcing Lingua 1.0.0: The most accurate natural language detection library for Python, suitable for long and short text alike
Python is widely used in natural language processing, so there are a couple of comprehensive open source libraries for this task, such as Google's CLD 2 and CLD 3, langid and langdetect. Unfortunately, except for the last one they have two major drawbacks:
-
Best C# library to detect the language of user input strings without calling external APIs like Google Translate etc?
I was looking for something like that for .net app and ended up using this https://github.com/google/cld3
-
Using char n grams as input to a neural network
I used it a lot in the models I work on. For example, we used it on a widely used project called CLD3 (https://github.com/google/cld3). The performance is great.
- Language Detection - Pre Trained Models
What are some alternatives?
When comparing lingua-py and cld3 you can also consider the following projects:
lingua-rs - The most accurate natural language detection library for Rust, suitable for short text and mixed-language text
ntextcat
langid.py - Stand-alone language identification system
lingua - The most accurate natural language detection library for Java and the JVM, suitable for long and short text alike
LSTM_langid - Source code for the Apple reproduction
langdetect - Port of Google's language-detection library to Python.
lingua-go - The most accurate natural language detection library for Go, suitable for short text and mixed-language text
cld2 - Compact Language Detector 2