Skip to main content

Root Extractor Module for Malayalam

Extracting root of a word is vital in the preprocessing stage of most Language processing systems for Malayalam. The root extraction module can derive the root of any given words regardless of the number of suffixes or words attached with the stem.

Requirement

Python3

Installation

You may create a virtual environment for installing the package.

python -m venv ENV_DIR
source ENV_DIR/bin/activate

and install the root extractor

pip install root-pack

Otherwise, use

pip install --user root-pack

Implementation method

After installation, you can import the module to utilize the root() function

import root_pack
root_pack.root(wordi)

The above code will output the root of the input word wordi. 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 root_pack
root_pack.root("മകന്റെയുമാണെന്നാണ്")

Output:

മകന്‍

Advantages of the extractor

  1. Sandhi rules are taken into consideration
  2. Rules are generalized rather than explicitly specifying each in the code
  3. Recursive functions introduced and thus aids to strip any number of suffixes attached with ease
  4. Accuracy rate is quite high

Author

Jincy Baby

Metadata

Release files for root-pack 1.1.1

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

Source distribution (sdist)

Source distribution for root-pack 1.1.1
File Size Uploaded Provenance Actions
root_pack-1.1.1.tar.gz 353.1 kB Without provenance Details for root_pack-1.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for root-pack 1.1.1
File Interpreter ABI Platform Actions
root_pack-1.1.1-py3-none-any.whl Python 3 none any Details for root_pack-1.1.1-py3-none-any.whl

Total release size: 723.7 kB

Release files / root_pack-1.1.1.tar.gz

Download URL root_pack-1.1.1.tar.gz
Size 353.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1591e30a1f3e15df18ec06cb117bb86d8f34005cca5c1ec410dbd44e3499ead7
BLAKE2b-256 checksum
How to use checksums
2c695cb2f1f08aaa929bb0956432e048715f67f7c44d2100b66b78e5c6d4e97a
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / root_pack-1.1.1-py3-none-any.whl

Download URL root_pack-1.1.1-py3-none-any.whl
Size 370.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
31f276debce0e856d9e18ed89389fa01cdb812665a3b5b73fa2d45d6c2be9778
BLAKE2b-256 checksum
How to use checksums
03249dc13524ec35c2552305d10f98256e2fcd4267060e24ce3b895bbcb8f2b4
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for root-pack 1.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files No provenance

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