Popularity
6.5
Growing
Activity
5.5
-
113
3
12

Monthly Downloads: 1,878
Programming language: Elixir
License: MIT License
Latest version: v0.5.1

Paasaa alternatives and similar packages

Based on the "Natural Language Processing (NLP)" category.
Alternatively, view Paasaa alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of Paasaa or a related project?

Add another 'Natural Language Processing (NLP)' Package

README

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

<!-- Definitions -->


*Note that all licence references and agreements mentioned in the Paasaa README section above are relevant to that project's source code only.