Skip to content

Rustler bindings to use Charabia (a Rust NLP library by the Meilisearch team) from Elixir

Notifications You must be signed in to change notification settings

Lucassifoni/charabyx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Charabyx

WIP : Elixir NIFs for Meilisearch's Charabia crate.

Functions will be added as I need them.

iex> Charabyx.tokenize("bonjour chers amis !")
[
  %Charabyx.NifToken{
    kind: :word,
    lemma: "bonjour",
    script: :Latin,
    char_start: 0,
    char_end: 7,
    language: nil
  },
  %Charabyx.NifToken{
    kind: :separator_soft,
    lemma: " ",
    script: :Latin,
    char_start: 7,
    char_end: 8,
    language: nil
  },
  %Charabyx.NifToken{
    kind: :word,
    lemma: "chers",
    script: :Latin,
    char_start: 8,
    char_end: 13,
    language: nil
  },
  %Charabyx.NifToken{
    kind: :separator_soft,
    lemma: " ",
    script: :Latin,
    char_start: 13,
    char_end: 14,
    language: nil
  },
  ...

About

Rustler bindings to use Charabia (a Rust NLP library by the Meilisearch team) from Elixir

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published