Pluralize

This is a Xojo port of Blake Embrey’s pluralize library which helps in pluralizing or singularizing any English word.

5 Likes

Did you want to add a link?

Yeah that was a bit d’oh. Pluralize

5 Likes

As a Kiwi shouldn’t it be Pluralise?!

2 Likes

As a kiwi shouldn’t it be pluro???

1 Like

I believe you mean ǝsᴉlɐɹnlԀ.

1 Like

‘Pluro bro’ would be more accurate :grin:

2 Likes

Well so far I’ve tried it on ‘person’ and ‘criterion’, and it’s got them both wrong.

This Pluralizer worked with both person and criterion: Inflector - 4.x

The Xojo implementation is missing some functions from what I see.
Here the criterion/criteria rule on the original code that is not working in Pluralize:

[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i, '$1a'],