这个类只能处理英文 https://github.com/andyceo/PHP-Porter-Stemmer/wiki 可以处理多语种的(需要给PHP装扩展,以下两个都可以用,编译方法可以参照 PHP - Linux下使用phpize编译PECL包) http://pecl.php.net/package/stem manual : https://github.com/marc-mabe/php-stem manual : http://www.olivierhill.ca/archives/28-stem-1.4.3-for-PHP-released!.html http://code.google.com/p/php-stemmer/