wooorm / franc

Natural language detection
https://wooorm.com/franc/
MIT License
4.07k stars 175 forks source link

Norwegian detected as Deutch #92

Closed evenfrost closed 3 years ago

evenfrost commented 3 years ago

The following text

"Ble lokket pga det sto få 100 gratis uten innskudd.alt du må gjøre er å registrere deg.

Vel..nå har jeg prøvd,googlet osv... og uansett så vil dere at jeg skal registrere visa kortet og sette inn min innskudd...da er det ikke gratis spinn for kun registrering da 😡

Eller gjør jeg noe feil ? "

is detected as Deutch, though it's Norwegian and its length seems to be pretty sufficient.

wooorm commented 3 years ago

Cannot reproduce, I’m pasting it here and franc detects nynorsk:

wooorm commented 3 years ago

Closing this as I can’t reproduce it

evenfrost commented 3 years ago

My bad, I was using franc-min package which obviously doesn't support Norwegian. It works as expected.