cld2
Compact Language Detector 2 (by CLD2Owners)
lingua-go
The most accurate natural language detection library for Go, suitable for short text and mixed-language text (by pemistahl)
cld2 | lingua-go | |
---|---|---|
3 | 7 | |
801 | 1,100 | |
0.0% | - | |
0.0 | 4.8 | |
almost 3 years ago | 5 days ago | |
C++ | Go | |
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.
cld2
Posts with mentions or reviews of cld2.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-11.
-
Opensourcing Whichlang, a fast language detection library for Rust!
This looks cool, and it’s good to have a pure-Rust option available now, but I wonder, have the authors considered binding CLD2? (It looks like a crate exists for it already, but it is deprecated.) It was originally developed as the language detector for Chromium (to do things like selecting the right spell check language), optimized for speed and size. It may be a bit dated (Chromium no longer uses it), but it is small and easy to use. I’ve used it with great success in a past project.
- 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:
lingua-go
Posts with mentions or reviews of lingua-go.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-12.
- Lingua 1.2.0 - The most accurate natural language detection library for Go, now with support for detecting multiple languages in mixed-language text
- Lingua 1.1.0 - The most accurate natural language detection library for Go, suitable for long and short text alike
-
Hacker News top posts: Feb 12, 2022
Lingua-Go, the most accurate language detection for Go\ (16 comments)
- The most accurate natural language detection library for Go, suitable for long and short text alike
-
Lingua-Go, the most accurate language detection for Go
Worth noting that this is on Lingua-Go's issues list for the 1.1.0 version: https://github.com/pemistahl/lingua-go/issues/9
- Announcing Lingua 1.0.0: The most accurate natural language detection library in the Go ecosystem, suitable for long and short text alike
What are some alternatives?
When comparing cld2 and lingua-go you can also consider the following projects:
cld3
language-detection-cld2 - Natural language detection, Java bindings for CLD2
lingua-py - The most accurate natural language detection library for Python, suitable for short text and mixed-language text
langdetect - Port of Google's language-detection library to Python.
LSTM_langid - Source code for the Apple reproduction
Glyph - An architecture independent binary analysis tool for fingerprinting functions through NLP
blake3-6502 - the BLAKE3 hash function implemented in 6502 assembly
whatlanggo - Natural language detection library for Go
dictpress - A stand-alone web server application for building and publishing full fledged dictionary websites and APIs for any language.