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;
> }
>
> 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:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
>
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
--
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]