Correctly generate plurals, singular nouns, ordinals and indefinite articles
The methods of the class 'engine' in module 'inflect.py' provide plural inflections, singular noun inflections, "a"/"an" selection for English words, and manipulation of numbers as words. Plural forms of all nouns, most verbs, and some adjectives are provided. Where appropriate, "classical" variants (for example: "brother" -> "brethren", "dogma" -> "dogmata", etc.) are also provided. Single forms of nouns are also provided. The gender of singular pronouns can be chosen (for example "they" -> "it" or "she" or "he" or "they"). Pronunciation-based "a"/"an" selection is provided for all English words, and most initialisms. It is also possible to inflect numerals (1,2,3) to ordinals (1st, 2nd, 3rd) and to English words ("one", "two", "three).
Release | Stable | Testing |
---|---|---|
Fedora Rawhide | 2.1.0-11.fc35 | - |
Fedora 35 | 2.1.0-11.fc35 | - |
Fedora 34 | 2.1.0-9.fc34 | - |
You can contact the maintainers of this package via email at
python-inflect dash maintainers at fedoraproject dot org
.