PHPackages                             amara/lemmatizer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. amara/lemmatizer

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

amara/lemmatizer
================

A non-part-of-speech lemmatizer tool

v1.0.0(3y ago)02.9k↓75%1MITPHP

Since Dec 14Pushed 3y agoCompare

[ Source](https://github.com/AmaraLiving/lemmatizer)[ Packagist](https://packagist.org/packages/amara/lemmatizer)[ RSS](/packages/amara-lemmatizer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (1)

Lemmatizer
==========

[](#lemmatizer)

[![Build](https://github.com/AmaraLiving/lemmatizer/actions/workflows/ci-build.yml/badge.svg)](https://github.com/AmaraLiving/lemmatizer/actions/workflows/ci-build.yml)

A PHP library for getting a lemma from a given word, and getting a list of words that map to a lemma. This does NOT support part of speech specification.

Source data
-----------

[](#source-data)

This lemma dictionary is largely based on [WordNet](https://wordnet.princeton.edu/), a project maintained at Princeton University.

Demo
----

[](#demo)

See the lemmatizer in action at

Usage in an application
-----------------------

[](#usage-in-an-application)

The included `index.php` file contains an interactive demo.

Make your code aware of the Lemmatizer class via your favorite method (e.g., `use writecrow\Lemmatizer\Lemmatizer;`)

Then pass a word into one of the two methods

```
print Lemmatizer::getLemma('leaves');
// Will print 'leaf'

print Lemmatizer::getWordsFromLemma('leaf');
// Will print 'leaves,leafing,leafed,leafs'
```

Testing
-------

[](#testing)

Unit Tests can be run (after `composer install`) by executing `vendor/bin/phpunit`

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 76.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1251d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e696afe1a24280bbde4071ff886394ee586eb9a33d11df0957f1c0c9cd8fd7a4?d=identicon)[ockcyp](/maintainers/ockcyp)

---

Top Contributors

[![markfullmer](https://avatars.githubusercontent.com/u/4305692?v=4)](https://github.com/markfullmer "markfullmer (10 commits)")[![oradwell](https://avatars.githubusercontent.com/u/5054896?v=4)](https://github.com/oradwell "oradwell (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/amara-lemmatizer/health.svg)

```
[![Health](https://phpackages.com/badges/amara-lemmatizer/health.svg)](https://phpackages.com/packages/amara-lemmatizer)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
