WhatLanguage is a library by Peter Cooper that makes it quick and easy to determine what language a supplied text is written in. It's pretty accurate on anything from a short sentence up to several paragraphs in all of the languages supplied with the library (Dutch, English, Farsi, Russian, French, German, Portuguese, Spanish, Pinyin) and adding languages of your own choosing isn't difficult.
http://www.rubyinside.com/whatlanguage-ruby-language-detection-library-1085.html
No comments:
Post a Comment