I don't do any special setup other than the standard initialization of the PluralizationService
.
PluralizationService ps = PluralizationService.CreateService(CultureInfo.GetCultureInfo("en-us"));
// they may have said pigS, so we will singularize it
if (ps.IsPlural(temp_word))
temp_word = ps.Singularize(temp_word);```
My program allows players in my game to search for animals. When they search for goats
or sheep
or pigs
the system works fine. the ps.Singularize function works correctly in all cases. (object classes are pig
not pigs
, sheep
, and goat
not goats
.)
The fun starts when someone searches for horses
. The ps.Singularize
function returns hors
.
Is there some sort of rule I forgot to initialize or something or is this a straight-up bug.
I really don't want to have to special case each singularization failure.