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


Download files

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

Source Distribution

morph_gen-1.1.1.tar.gz (353.9 kB view details)

Uploaded Source

Built Distribution

morph_gen-1.1.1-py3-none-any.whl (372.0 kB view details)

Uploaded Python 3

File details

Details for the file morph_gen-1.1.1.tar.gz.

File metadata

  • Download URL: morph_gen-1.1.1.tar.gz
  • Upload date:
  • Size: 353.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

File hashes

Hashes for morph_gen-1.1.1.tar.gz
Algorithm Hash digest
SHA256 6f3c31072b16a78b7288c72d95f0d90c6cdf38625dbe10440d52cfe86b208f9a
MD5 7229d781755c682fa0e35f53beb0321a
BLAKE2b-256 8a3782d83d918fb79ac206a30b2cd0685a48b6e3e9d5108561a758121ce2bdef

See more details on using hashes here.

File details

Details for the file morph_gen-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: morph_gen-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 372.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8

File hashes

Hashes for morph_gen-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 985c7cea651de98f2060814f898c5ec5981631058231bfe611a8a016ff8e6331
MD5 6ee54ee6e4c84af22344c038f4180eef
BLAKE2b-256 9da0680f244ccb1db0317f92d9f0139e6eb9395e6f6f84343b8aab40b7889ea2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page