correctly generate plurals, singular nouns, ordinals, etc
Project homepage: https://inflect.readthedocs.io/
Description
inflect.py provides 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").
In generating these inflections, inflect.py follows the Oxford English
Dictionary and the guidelines in Fowler's Modern English Usage,
preferring the former where the two disagree.
Package information
- Ports path
- textproc/py-inflect
- Package architecture
- amd64
- Maintainer
- The OpenBSD ports mailing-list <ports@openbsd.org>
- Categories
- textproc, lang/python
- Available flavors
- None listed
- Only for architectures
- aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, sparc64, alpha, hppa
Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.
Direct dependencies
Runtime
Build
- lang/python/3
- devel/py-build
- devel/py-installer
- devel/py-setuptools py3-setuptools->=79v0
- devel/py-wheel
- devel/py-setuptools_scm STEM->=10
Test
Used by (1 dependency relationships)
Includes library, runtime, build and test dependencies.