Searched refs:register_plural (Results 1 – 1 of 1) sorted by relevance
30 def register_plural(singular: str, plural: str): function32 if not hasattr(register_plural, "generated_new_plural"):36 register_plural.generated_new_plural = True51 return register_plural(word, word[:-1] + 'ies')53 return register_plural(word, word[:-1] + 'es')55 return register_plural(word, word[:-2] + 'ves')57 return register_plural(word, word[:-1] + 'ves')59 return register_plural(word, word + 's')