wooorm
Joined 12 years ago
Karma
44
Submissions
31
Member since
Jul 31
Joined 12 years ago
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 :)