inflect.Pluralize
Returns the plural form of the given word according to a set of common English pluralization rules.
- Syntax
- inflect.Pluralize INPUT
- Returns
- string
- Alias
- pluralize
Usage
The inflect.Pluralize function returns the plural form of the given word according to a set of common English pluralization rules. If the word is already plural, the function returns it unchanged.
Examples
{{ inflect.Pluralize "cat" }} → cats
{{ inflect.Pluralize "box" }} → boxes
{{ inflect.Pluralize "category" }} → categoriesConverting irregular nouns:
{{ inflect.Pluralize "child" }} → children
{{ inflect.Pluralize "person" }} → people
{{ inflect.Pluralize "sheep" }} → sheepLast updated:
October 21, 2026
:
content: Apply style guide to inflect functions (727531114)
Improve this page