Skip to main content

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"
]

Metadata

Release files for reversestem 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for reversestem 0.1.2
File Size Uploaded
reversestem-0.1.2.tar.gz 10.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for reversestem 0.1.2
File Interpreter ABI Platform
reversestem-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 21.2 MB

Release files / reversestem-0.1.2.tar.gz

Download URL reversestem-0.1.2.tar.gz
Size 10.5 MB
Tags Source
SHA-256 checksum
How to use checksums
307f431fe92d3b02808d05d26f5f64c48f056815d735ce1edc9c7ed243bf9887
BLAKE2b-256 checksum
How to use checksums
69d474ee9f153922c57ff95dbceed4602f4f5534e3eb00aa452478193fe19bc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.8.5 Windows/10

Release files / reversestem-0.1.2-py3-none-any.whl

Download URL reversestem-0.1.2-py3-none-any.whl
Size 10.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
e922019fee76b7213176f1981d2482b46b2d5ca86023666f83266bb2d441f133
BLAKE2b-256 checksum
How to use checksums
4870d1aa019ac95a987970195890e8598bfb14e2b573a9152e5488d7a11b12b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.8.5 Windows/10

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page