In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (richard merit) wrote:

> I don't think you can since the plural form of English
> words can vary, woman, women, families, family, foot,
> feet, church, churches, sheep, sheep, road, roads...
> 
> ?????
> 
> rm
> 
> --- "Robert V. Zwink" <[EMAIL PROTECTED]> wrote:
> > 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;
> > }

Maybe by posting a lookup to an online dictionary, and parsing out the 
returned definition for the plural wordform...?

-- 
CC

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to