Does anybody know an easy way (or tool) to guess the language of a
given text string?

e.g.
Feeding in "This is an example."  --> should return "english" or ISO
code
Feeding in  "Das ist ein Beispiel." --> should return "german" or ISO
code
Feeding in "Esto es un ejemplo." --> should return "spanish" or ISO
code

I would prefer something more lightweight than using nltk/corpus/...

And it's ok if the success ratio is just about 90% or so.

Roman

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to