RE: [PHP] Pluralize a word for searching a database

From: Date: Mon, 12 Mar 2001 15:39:17 +0000
Subject: RE: [PHP] Pluralize a word for searching a database
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-43481@lists.php.net to get a copy of this message
In case anyone wonders, I ended up recompiling php with the pspell and aspell functions. These functions will return pluralized versions of words, along with possible spellings. I will probably try to customize the dictionary that comes with the programs, but other that that it appears to be what I am looking for. Thanks for your help. Robert Zwink -----Original Message----- From: Robert V. Zwink [mailto:rzwink@microcenter.com] Sent: Wednesday, February 28, 2001 11:43 AM To: PHP Mailing Listl (E-mail) Subject: [PHP] Pluralize a word for searching a database Importance: High Has anyone every written a function in php to pluralize an english word, particularly when searching a database? function pluralize($word){ return array of pluralized words; } Any help would be appreciated. Seems like their might be a nice regex waiting to handle this? Thanks! Robert Zwink http://zwink.levitate.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#43481) next »