Re: text readability package

From: Date: Wed, 21 Jul 2004 17:11:38 +0000
Subject: Re: text readability package
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-32214@lists.php.net to get a copy of this message
Klaus Guenther wrote:
Stefan Ohrmann wrote:
Am 19.07.2004 19:55 schrieb Stephan Schmidt:
There is a package for this in PEAR: http://pear.php.net/package/Text_Statistics
Can you say, if this package can be used with non-english languages?
Statistics such as these are language specific. It certainly would be nice to have multilingual support in text_statistics (possibly using a factory class). However, I don't have time to dig into this right now.
I was specifically referring to the readability indexes, but to some extent, the other statistics are also language specific. However, most of the other stats provided will be accurate for western languages. I strongly doubt many would work for Chinese. Also, there is no consensus as to what constitutes a word, so it would be very difficult, for example, to determine a wordcount without relying on whitespace separation. Klaus

« previous php.pear.dev (#32214) next »