minibikini / paasaa

🔤 Natural language detection for Elixir
MIT License
115 stars 12 forks source link

Paasaa ignoring whitelist #21

Closed simoncocking closed 4 years ago

simoncocking commented 4 years ago

Paasaa 0.5.0 is ignoring the supplied language whitelist:

iex> Paasaa.detect("熊生活在森林中,不喜歡人。", whitelist: ["eng", "jpn"])
"cmn"
minibikini commented 4 years ago

Hi @simoncocking thanks for the bug report and sorry for the late response!

I just released a new version v0.5.1 with a fix.