{"repo":"pemistahl/lingua","free":true,"listed":false,"github":"https://github.com/pemistahl/lingua","clone":"git clone https://github.com/pemistahl/lingua.git","description":"The most accurate natural language detection library for Java and the JVM, suitable for long and short text alike","language":"Kotlin","stars":817,"topics":["language-detection","language-processing","kotlin-library","java-library","nlp-library","nlp","nlp-machine-learning","natural-language","natural-language-processing","android-library"],"license":"Apache-2.0","category":"machine-learning","readme_excerpt":"[![ci build status][ci badge]][ci url] [![codecov][codecov badge]][codecov url] [![supported languages][supported languages badge]](#supported-languages) [![Kotlin platforms badge][Kotlin platforms badge]][Kotlin platforms url] [![license badge][license badge]][license url] [![javadoc][javadoc badge]][javadoc url] [![Maven Central][Maven Central badge]][Maven Central] [![Download][lingua version badge]][lingua download url] 1. What does this library do? Its task is simple: It tells you which language some provided textual data is written in. This is very useful as a preprocessing step for linguistic data in natural language processing applications such as text classification and spell checking. Other use cases, for instance, might include routing e-mails to the right geographically located customer service department, based on the e-mails' languages. 2. Why does this library exist? Language detection is often done as part of large machine learning frameworks or natural language processing applications. In cases where you don't need the full-fledged functionality of those systems or don't want to learn the ropes of those, a small flexible library comes in handy. So far, three other comprehensive open source libraries working on the JVM for this task are [Apache Tika], [Apache OpenNLP] and [Optimaize Language Detector]. Unfortunately, especially the latter has three major drawbacks: 1. Detection only works with quite lengthy text fragments. For very short text snippets such as ","default_branch":null,"files":null,"tree":[],"storefront":"/r/pemistahl","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pemistahl/lingua/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}