All Projects → minibikini → Paasaa

minibikini / Paasaa

Licence: mit
Natural language detection for Elixir

Programming Languages

elixir
2628 projects
language
365 projects

Projects that are alternatives of or similar to Paasaa

pastey
A lightweight, self-hosted paste platform
Stars: ✭ 65 (-24.42%)
Mutual labels:  language-detection
Lingua
👄 The most accurate natural language detection library for Java and the JVM, suitable for long and short text alike
Stars: ✭ 341 (+296.51%)
Mutual labels:  language-detection
Geomate
GeoMate is a friend in need for all things geolocation. IP to geo lookup, automatic redirects (based on country, continent, language, etc), site switcher... You name it.
Stars: ✭ 19 (-77.91%)
Mutual labels:  language-detection
Command-line-translator
Command-line access to google translate and some other features
Stars: ✭ 26 (-69.77%)
Mutual labels:  language-detection
Lingua Rs
👄 The most accurate natural language detection library in the Rust ecosystem, suitable for long and short text alike
Stars: ✭ 260 (+202.33%)
Mutual labels:  language-detection
Yii2 Localeurls
Automatic locale/language management for URLs
Stars: ✭ 384 (+346.51%)
Mutual labels:  language-detection
nlpserver
NLP Web Service
Stars: ✭ 76 (-11.63%)
Mutual labels:  language-detection
Google Translate Php
🌐 Free Google Translate API PHP Package. Translates totally free of charge.
Stars: ✭ 1,131 (+1215.12%)
Mutual labels:  language-detection
Node Language Detect
🇫🇷 NodeJS language detection library using n-gram
Stars: ✭ 309 (+259.3%)
Mutual labels:  language-detection
Language Detection
A language detection library for PHP. Detects the language from a given text string.
Stars: ✭ 665 (+673.26%)
Mutual labels:  language-detection
get-user-locale
A function that returns user's locale as an IETF language tag, based on all available sources.
Stars: ✭ 44 (-48.84%)
Mutual labels:  language-detection
laravel-nlp
Laravel wrapper for common NLP tasks
Stars: ✭ 41 (-52.33%)
Mutual labels:  language-detection
Enry
A faster file programming language detector
Stars: ✭ 435 (+405.81%)
Mutual labels:  language-detection
language-identification-template
Detect the languages from short pieces of text
Stars: ✭ 20 (-76.74%)
Mutual labels:  language-detection
Cadscenario personalisation
This is a end to end Personalisation business scenario
Stars: ✭ 10 (-88.37%)
Mutual labels:  language-detection
UniLang
Translate text from one language to another using Google Translate
Stars: ✭ 33 (-61.63%)
Mutual labels:  language-detection
Franc
Natural language detection
Stars: ✭ 3,605 (+4091.86%)
Mutual labels:  language-detection
Guess Language.el
Emacs minor mode that detects the language you're typing in. Automatically switches spell checker. Supports multiple languages per document.
Stars: ✭ 78 (-9.3%)
Mutual labels:  language-detection
Cld2
R Wrapper for Google's Compact Language Detector 2
Stars: ✭ 34 (-60.47%)
Mutual labels:  language-detection
Awesome Persian Nlp Ir
Curated List of Persian Natural Language Processing and Information Retrieval Tools and Resources
Stars: ✭ 460 (+434.88%)
Mutual labels:  language-detection

Paasaa

Actions Status Coverage Status Hex.pm Hex.pm

Natural language detection for Elixir

API Documentation | Hex Package

Installation

Add paasaa to your list of dependencies in mix.exs:

def deps do
  [{:paasaa, "~> 0.5.0"}]
end

After you are done, run mix deps.get in your shell to fetch and compile Paasaa.

Usage

Detect a language:

iex> Paasaa.detect "Detect this!"
"eng"

Detect language and return a scored list of languages:

iex> Paasaa.all("Detect this!")
[
  {"eng", 1.0},
  {"sco", 0.8675529295913343},
  {"nob", 0.6065977351058591},
  {"swe", 0.5923190546528804},
  ...
]

Benchmark

mix bench

Update Language Data

mix run script/generate_language_data.exs

Derivation

Paasaa is a derivative work from Franc (JavaScript, MIT) by Titus Wormer.

License

MIT © Egor Kislitsyn

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].