dev-test-change
dev-test-changeA non-part-of-speech lemmatizer tool
MIT
The Development Requires
by Mark Fullmer
dev-master
9999999-devA non-part-of-speech lemmatizer tool
MIT
The Development Requires
by Mark Fullmer
Wallogit.com
2017 © Pedro Peláez
A non-part-of-speech lemmatizer tool
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)
This lemma dictionary is largely based on WordNet, a project maintained at Princeton University., (*3)
See the lemmatizer in action at https://lemmatizer.markfullmer.com/, (*4)
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'
Unit Tests can be run (after composer install) by executing vendor/bin/phpunit, (*8)
A non-part-of-speech lemmatizer tool
MIT
A non-part-of-speech lemmatizer tool
MIT