Displaying 1 to 6 from 6 results

franc - Natural language detection

  •    Javascript

Detect the language of text.† - Based on the UDHR, the most translated document in the world.

node-cld - Language detection for Javascript (Node)

  •    C++

Language detection for Javascript. Based on the CLD2 (Compact Language Detector) library from Google. Highly optimized for space and speed. Runs about 10x faster than other libraries. Detects over 160 languages. Full test coverage. Runs on Linux, OS X, and Windows.

paasaa - Natural language detection for Elixir

  •    Elixir

After you are done, run mix deps.get in your shell to fetch and compile Paasaa. Paasaa is a derivative work from Franc (JavaScript, MIT) by Titus Wormer.

whatlang-py - Simple bindings to the whatlang Rust package

  •    Rust

bindings by Cathal Garvey, Copyright 2017, released under MIT license. This simply wraps the Whatlang-rs library by Sergey Potapov, exposing a single function to Python which returns a tuple of (language code, script code).




guess-language

  •    Emacs

Emacs minor mode that detects the language of what you’re typing. Automatically switches the spell checker and typo-mode (if present). I write a lot of text in multiple languages and was getting tired of constantly having to switch the dictionary of my spell-checker. In true Emacs spirit, I decided to dust off my grandpa’s parentheses and wrote some code to address this problem. The result is guess-language-mode, a minor mode for Emacs that guesses the language of the current paragraph and then changes the dictionary of ispell and the language settings of typo-mode (if present). It also reruns Flyspell on the current paragraph, but only on that paragraph because I want to leave paragraphs in other languages untouched. Language guessing is triggered when Flyspell detects an unknown word, but only if the paragraph has enough material to allow for robust detection of the language (~ 35 characters).