Home  |  Linux  | Mysql  | PHP  | XML
From:Darren Cook Date:Tue Aug 12 22:06:16 2008
Subject:Re: Language detection
>> 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)

Navigate in group php.i18n at sever news.php.net
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants