44 karma · joined July 31, 2014
Thanks a lot!
Anyway, yeah, franc is for language detecting, but it’s optimised for many languages and works best at longer text. It’s a trade-off. For less languages and shorter texts, check out https://github.com/shuyo/ldig
Anyway, You’re completely right. Italian is `und` due to LTE 10 characters, the others are slightly off due to short input too, but the demo (http://wooorm.github.io/franc/) shows the correct languages in the second or third place though!
I’ll investigate that too. But it’s lots of work, this already was, give me some time :)
It’s interesting though, I’ll take a look at it!
Also, I’m interest in a test-suite, before we start talking about accuracy-percentages :p
If you set that number to 0, or 100,000 and execute `npm prepublish`, your franc supports more languages :) That’s it!
Shameless plug, the page clearly stated you can fork franc to support 300+ languages ;)