Singularize Words
Convert plural English nouns to their singular form. Handles irregular plurals (children → child).
0 characters
0 characters
About Singularize Words
The inverse of pluralize: convert English plural nouns back to their singular form. Irregulars (geese → goose, children → child) are handled via a built-in dictionary; regular forms are stripped of -s, -es, -ies, -us, etc. according to standard rules.
When to use it
- Inferring singular names from plural collection names
- Producing singular labels from plural data
- Normalizing terms before lemma-based search or counting
How it works
Each word is processed by the pluralize library's singular() function. Irregular plurals are matched first against an exhaustive list; remaining words are checked against suffix rules and reduced.
Examples
cats children geese criteria
cat child goose criterion
Frequently asked questions
- What if the word is already singular?
- It's returned unchanged. The library detects already-singular forms and passes them through.
- Are uncountable nouns handled?
- Uncountables (sheep, fish, deer, information) are returned unchanged in both directions — their singular and plural forms are identical.