2017 © Pedro Peláez
 

library lemmatizer

A non-part-of-speech lemmatizer tool

image

writecrow/lemmatizer

A non-part-of-speech lemmatizer tool

  • Friday, May 11, 2018
  • by markfullmer
  • Repository
  • 4 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Lemmatizer

Circle CI, (*1)

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., (*2)

Source data

This lemma dictionary is largely based on WordNet, a project maintained at Princeton University., (*3)

Demo

See the lemmatizer in action at https://lemmatizer.markfullmer.com/, (*4)

Usage in an application

The included index.php file contains an interactive demo., (*5)

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

Then pass a word into one of the two methods, (*7)

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

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

Testing

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

The Versions

11/05 2018

dev-test-change

dev-test-change

A non-part-of-speech lemmatizer tool

  Sources   Download

MIT

The Development Requires

18/04 2018

dev-master

9999999-dev

A non-part-of-speech lemmatizer tool

  Sources   Download

MIT

The Development Requires