views:

21

answers:

1

I'm looking for a library or technique to detect the input language of blocks of text provided by users. Online lookups (like Google translate) won't work for this task as I'm writing an app which must run offline.

Thanks.

+1  A: 

For anyone interested, I've found http://rubygems.org/gems/kenwaln-whatlanguage, which is performing excellently.

Ollie G