Re: [PHP-I18N] Language detection

[email protected] (Darren Cook) Wed, 13 Aug 2008 13:06:16 +0900
Newsgroups php.i18n
Message-ID <[email protected]>
>> I need to write (PHP) code to detect the language of a given block of
>> text.

> In any case, ICU has this. See 
> 
> http://icu-project.org/userguide/charsetDetection.html
> 
> It has both charset and language detection.

Thanks Ed. Unless I've misunderstood, this is just doing charset
detection, with language as a bonus when the charset implies it? If
someone is actually using this and can confirm it can tell the
difference between say English, French and German, all in UTF-8
encoding, please let me know.

Thanks,

Darren




-- 
Darren Cook, Software Researcher/Developer
http://dcook.org/mlsn/ (English-Japanese-German-Chinese-Arabic
                        open source dictionary/semantic network)
http://dcook.org/work/ (About me and my work)