Extract a list with stem and stripped suffixes from a Malayalam word
Project description
Morpheme Generator Module for Malayalam
The Morpheme Generator helps to obtain a list with the stem and stripped suffixes from a given input word.
Requirement
Python3
Installation
You may create a virtual environment for installing the package.
python -m venv ENV_DIR
source ENV_DIR/bin/activate
Install the morpheme generator
pip install morph-gen
Otherwise, use
pip install --user morph-gen
Implementation
After installation, you can import the module to utilize the morph() function
import morph_gen
morph_gen.morph(wordi)
The above code will output the root of the input word wordi. Please note that the input word must be given in Malayalam.
For example,
if you need to find the root of the word "മകന്റെയുമാണെന്നാണ്", you may follow the below steps
import morph_gen
morph_gen.morph("മകന്റെയുമാണെന്നാണ്")
Output:
['മകന് ', 'ന്റെ', 'ഉം', 'ആണ്', 'എന്ന്', 'ആണ്']
##Licensed under GNU GPL v3.0.
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
Built Distribution
Hashes for morph_gen-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 985c7cea651de98f2060814f898c5ec5981631058231bfe611a8a016ff8e6331 |
|
MD5 | 6ee54ee6e4c84af22344c038f4180eef |
|
BLAKE2b-256 | 9da0680f244ccb1db0317f92d9f0139e6eb9395e6f6f84343b8aab40b7889ea2 |