How to detect the language of a given text

In my Rails 3 application, users may write messages in forum. I would like to identify what the language is for a given message. I'm interested in English, Russian, and Hebrew languages. Is there any built-in library in Ruby/Rails for such a task? If not, any ideas will be appreciated.

10
задан Misha Moroshko 5 May 2011 в 23:51
поделиться