# jaraco/inflect

Correctly generate plurals, ordinals, indefinite articles; convert numbers to words

Repository: https://github.com/jaraco/inflect
Canonical: https://ross.abutalabs.com/products/inflect
Homepage: https://pypi.org/project/inflect
Language: Python
License Family: other
Last push: 2026-04-13T23:35:18+00:00

## Health v2 (maintenance only)
Score: 60/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 77, release rhythm 16, longevity 100
- inputs: {"age_days": 5918, "days_push": 142, "days_rel": 613, "gap_med": 112, "n_releases_24m": 2}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1083, forks 125 (observed 2026-08-28T04:03:31.322604+00:00)

## What it is
A Python library that accurately generates English plurals, singular nouns, ordinals, indefinite articles, present participles, and word-based representations of numbers. It provides an engine with methods for grammatical inflection limited to the English language.

## Use cases
- convert numbers to words in python
- generate plural forms of english nouns
- choose a or an correctly before a word
- convert cardinal numbers to ordinals like 1st 2nd 3rd
- build grammatically correct sentences with dynamic counts
- singularize plural nouns

## When to choose
- you need accurate English pluralization or singularization in Python
- you want to spell out numbers as words in generated text
- you need correct indefinite articles (a/an) or ordinals programmatically

## When to avoid
- you need inflection for languages other than English
- you need full natural language parsing or generation beyond word inflection

## Facets
- artifact type: library
- maturity: active
- function: nlp, parser
- domain: developer-tools
- platform: python, cross-platform
- tags: pluralization, number-to-words, english-grammar, text-generation, natural-language-processing

## Member repositories
- jaraco/inflect (main) score 60

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:31.322604+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:51:10.839454+00:00, confidence not recorded.
  - readme: https://github.com/jaraco/inflect (fetched 2026-08-28T04:03:31.322604+00:00, sha 5118fbea26f9)
  - homepage: https://pypi.org/project/inflect (fetched 2026-08-29T12:53:47.761637+00:00, sha 4b4e8fead74a)
  - registry_pypi: https://pypi.org/pypi/inflect/json (fetched 2026-08-29T12:53:47.770506+00:00, sha a4830e0f4ad6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
