Identifies human language from a string of text. This library is a wrapper and extension (18 additional languages) for the Pear library Text_LanguageDetect.
https://github.com/peterkahl/Language-Genius
origin - http://www.pipiscrew.com/?p=8816 language-genius