peterc / whatlanguage

A language detection library for Ruby that uses bloom filters for speed.
MIT License
685 stars 69 forks source link

Does it support Chinese word? #33

Open hopexiao opened 9 years ago

hopexiao commented 9 years ago

I try with "测试".language, it return with "french". Does whatlanguage support Chinese?

carlosmartinez commented 9 years ago

@hopexiao you can see the set of languages here. Unfortunately doesn't include Chinese, yet!

peterc commented 8 years ago

Chinese would be easily detected using a Unicode codepoint presence test, one of the alternative tests I'm investigating for adding to a future version.

bendangelo commented 10 months ago

Has anyone added this support?