Skip to main content

Simple class for lemmatize (word normal form) russian words, based on rsmorphy. Support scikit-learn transformer interface.

Project description

RSMorphy Lemmatizer

This is simple package for lemmatize (word normal form) russian words. Package based on rsmorphy: https://github.com/g-alexander/rsmorphy

Installation

pip install rsmorphy_lemmatizer --upgrade

Usage

from rsmorphy_lemmatizer import RSMorphyTransformer

transformer = RSMorphyTransformer()
test_strings = [
    "Мама мыла раму"
]
print(transformer.transform(test_strings))

# Output: ['мама мыло рам']

for multithread transform:

transformer = RSMorphyTransformer(n_jobs=3)

to back to single thread:

transformer.to_single_thread()

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

rsmorphy_lemmatizer-0.1.4-cp313-cp313t-manylinux_2_28_x86_64.whl (8.4 MB view details)

Uploaded CPython 3.13t manylinux: glibc 2.28+ x86-64

rsmorphy_lemmatizer-0.1.4-cp313-cp313-manylinux_2_28_x86_64.whl (8.4 MB view details)

Uploaded CPython 3.13 manylinux: glibc 2.28+ x86-64

rsmorphy_lemmatizer-0.1.4-cp312-cp312-manylinux_2_28_x86_64.whl (8.4 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.28+ x86-64

rsmorphy_lemmatizer-0.1.4-cp311-cp311-manylinux_2_28_x86_64.whl (8.4 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.28+ x86-64

rsmorphy_lemmatizer-0.1.4-cp310-cp310-manylinux_2_28_x86_64.whl (8.4 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.28+ x86-64

rsmorphy_lemmatizer-0.1.4-cp39-cp39-manylinux_2_28_x86_64.whl (8.4 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.28+ x86-64

File details

Details for the file rsmorphy_lemmatizer-0.1.4-cp313-cp313t-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for rsmorphy_lemmatizer-0.1.4-cp313-cp313t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f66ec7bf24a792d9affb64e54a859ca5684351e71707d9f6599f39b2334274ef
MD5 86abe9a179859647896b0be4f7d6636e
BLAKE2b-256 ca2eff82c6a412d06354b23d3eaf8b3b6b346450d40be632db63e4dd2afaf090

See more details on using hashes here.

File details

Details for the file rsmorphy_lemmatizer-0.1.4-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for rsmorphy_lemmatizer-0.1.4-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 337a6ad28f7d9d2eebeb66796509169fcb3c6bc83e64ad803e107eab450d40e3
MD5 0a867a0635f8a69b3d5a9e6deed007ef
BLAKE2b-256 d0666c263a688966bf43a11eb6d4a61302f01a6063fecfda9729626218da44fd

See more details on using hashes here.

File details

Details for the file rsmorphy_lemmatizer-0.1.4-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for rsmorphy_lemmatizer-0.1.4-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c5c95ff13f8654abc87ba97787ae0caefda25df77fb4d64627e4e724968b2b0f
MD5 130da99856a43d7ccf29996bde262f14
BLAKE2b-256 d74d7735c0825f4199db6f84fb56e98bee0359c461d8212726fca28aaa5e3d57

See more details on using hashes here.

File details

Details for the file rsmorphy_lemmatizer-0.1.4-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for rsmorphy_lemmatizer-0.1.4-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b016f06da2434d09fb9cd760a4b4cd22698def9680da4cae9612d126fd374f2c
MD5 057d275e863465e41db46ef865690afc
BLAKE2b-256 d5277e060e13a6813a6c2b502a3da30889eff9a6ca28e52bfec2112715b355ca

See more details on using hashes here.

File details

Details for the file rsmorphy_lemmatizer-0.1.4-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for rsmorphy_lemmatizer-0.1.4-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 54eb2dd961c231420b61ec458fc83f1f68eddee0bd7b810977e600e0ad3b35cd
MD5 74d44ec1f4987869274189f237d7cb2d
BLAKE2b-256 68afc2861500452e25413be9fcb96d4edec64e6c4382d3736916b15e511d5dcb

See more details on using hashes here.

File details

Details for the file rsmorphy_lemmatizer-0.1.4-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for rsmorphy_lemmatizer-0.1.4-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2b3f42df181f592001ee17e007157f62dab59c202ae93d30f865f9323f71a18b
MD5 b93418c2453eaf7a1bd648d247f4b8b3
BLAKE2b-256 fd95d3b22e748b84c21da50b3cb4e2cd8d44b3a6555f55a0d253de7bd303d36c

See more details on using hashes here.

Supported by

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