Home  |  Linux  | Mysql  | PHP  | XML
From:Jan Schneider Date:Tue Aug 12 01:58:57 2008
Subject:Re: Language detection
Zitat von Darren Cook <darren@dcook.org>:

> I need to write (PHP) code to detect the language of a given block of
> text. (For my purposes I want to initially distinguish between English,
> Japanese, German, Simplified Mandarin, Traditional Mandarin, Arabic,
> Korean, French) I want it to be reliable so my plan was to have a list
> of unicode points only found in each given language [1], and use that to
> return a high confidence answer. If none found, then have a list of high
> frequency words for each language [2] and use that to return a lower
> confidence answer.

http://pear.php.net/package/Text_LanguageDetect

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/

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