bjascob/LemmInflect

A python module for English lemmatization and inflection.

63
/ 100
Established

Combines dictionary lookup with neural networks to handle out-of-vocabulary words, drawing morphology rules from the NIH's SPECIALIST Lexicon and using unigram frequencies for disambiguation. Works as a standalone module or integrates directly into spaCy via custom token extension methods (`lemma()` and `inflect()`). Accepts Universal Dependencies or Penn Treebank tags to specify target word forms, achieving 95.6% accuracy on 119K inflected words with minimal dependencies (only NumPy).

275 stars and 94,489 monthly downloads. Used by 3 other packages. No commits in the last 6 months. Available on PyPI.

Stale 6m
Maintenance 0 / 25
Adoption 23 / 25
Maturity 25 / 25
Community 15 / 25

How are scores calculated?

Stars

275

Forks

25

Language

Python

License

MIT

Last pushed

Sep 14, 2023

Monthly downloads

94,489

Commits (30d)

0

Dependencies

1

Reverse dependents

3

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/nlp/bjascob/LemmInflect"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.