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 details)
Built Distribution
File details
Details for the file reversestem-0.1.2.tar.gz
.
File metadata
- Download URL: reversestem-0.1.2.tar.gz
- Upload date:
- Size: 10.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.8.5 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 307f431fe92d3b02808d05d26f5f64c48f056815d735ce1edc9c7ed243bf9887 |
|
MD5 | 4e2a269fdd1f04f5db846ce01f82b827 |
|
BLAKE2b-256 | 69d474ee9f153922c57ff95dbceed4602f4f5534e3eb00aa452478193fe19bc9 |
File details
Details for the file reversestem-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: reversestem-0.1.2-py3-none-any.whl
- Upload date:
- Size: 10.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.8.5 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e922019fee76b7213176f1981d2482b46b2d5ca86023666f83266bb2d441f133 |
|
MD5 | ccd56363fedf40de771f6ebcb29b94c6 |
|
BLAKE2b-256 | 4870d1aa019ac95a987970195890e8598bfb14e2b573a9152e5488d7a11b12b2 |