Unigram Lexicon for Reverse Stem Lookups
Project description
Reverse Stemming (reversestem)
Stemming is the technique or method of reducing words with similar meaning into their “stem” or “root” form.
Reverse stemming takes a “stem” or “root” form and returns all the words that have this root as a basis.
Usage
from reversestem import unstem
unstem('aggreg')
outputs the stems grouped by lemma
{
"aggregability":[],
"aggregable":[],
"aggregant":[
"aggregants"
],
"aggregate":[
"aggregated",
"aggregately",
"aggregateness"
],
"aggregating":[],
"aggregation":[
"aggregational"
],
"aggregative":[
"aggregatives",
"aggregatively",
"aggregativeness"
],
"aggregativity":[],
"aggregator":[]
}
Or a flat list can be produced like this
unstem('aggreg', flatten=True)
and this outputs a simple list
[
"aggregativeness",
"aggregational",
"aggregability",
"aggregateness",
"aggregativity",
"aggregatively",
"aggregatives",
"aggregating",
"aggregation",
"aggregately",
"aggregative",
"aggregated",
"aggregable",
"aggregants",
"aggregator",
"aggregate",
"aggregant"
]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
reversestem-0.1.2.tar.gz
(10.5 MB
view hashes)
Built Distribution
Close
Hashes for reversestem-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e922019fee76b7213176f1981d2482b46b2d5ca86023666f83266bb2d441f133 |
|
MD5 | ccd56363fedf40de771f6ebcb29b94c6 |
|
BLAKE2b-256 | 4870d1aa019ac95a987970195890e8598bfb14e2b573a9152e5488d7a11b12b2 |