Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for morph-gen, version 1.1.1
Filename, size File type Python version Upload date Hashes
Filename, size morph_gen-1.1.1-py3-none-any.whl (372.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size morph_gen-1.1.1.tar.gz (353.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page