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.1-cp310-cp310-manylinux_2_28_x86_64.whl (9.3 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.28+ x86-64

rsmorphy_lemmatizer-0.1.1-cp39-cp39-manylinux_2_28_x86_64.whl (9.3 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.28+ x86-64

rsmorphy_lemmatizer-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.3 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

rsmorphy_lemmatizer-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (9.3 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.28+ x86-64

rsmorphy_lemmatizer-0.1.1-cp38-cp38-manylinux_2_28_x86_64.whl (9.3 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.28+ x86-64

rsmorphy_lemmatizer-0.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.3 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

rsmorphy_lemmatizer-0.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl (9.3 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.28+ x86-64

rsmorphy_lemmatizer-0.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.3 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

File details

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

File metadata

File hashes

Hashes for rsmorphy_lemmatizer-0.1.1-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6c7a5f0d136f6f1e6e9f2a0f7142a5190108773b0302775148072f51b8b5b3ea
MD5 266958fd2357758f911e0b14e0356a59
BLAKE2b-256 5ef51c30672a8927e50b230a71768c1af5a6929be0044a794eb7a3e5b49e8f1d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rsmorphy_lemmatizer-0.1.1-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ba88ac4d430fb5e01aad0cef674414624b28ef1b8ba22225c63083a92beac830
MD5 4a4aecce4f3d37114f04e101ce77a78e
BLAKE2b-256 432f3f3338c6acb1e359b3a9364552bf67570e995118b1018c4d9894f1dbef3b

See more details on using hashes here.

File details

Details for the file rsmorphy_lemmatizer-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for rsmorphy_lemmatizer-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 66320a03447cb91e10c3e21f8ce3c071133a3060732c1d2f58c9a31a93bc0161
MD5 987f190726ef3e23ffa8a4736105b650
BLAKE2b-256 623737f1f57f19ddf01ed878bdf6f4e932dbd67a8b7b3ca954c0da20f6c8320a

See more details on using hashes here.

File details

Details for the file rsmorphy_lemmatizer-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for rsmorphy_lemmatizer-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 57a4d8ddb8b20cbca86e5cbc03bd864ca373de695410f7b899370fdb3a2abc02
MD5 9e0474b97f30581e644d0d660016ebcb
BLAKE2b-256 7ef7bbdbe7d43edc3a57b8e8fc4750432175645380d74a897bcc83d21f594dbe

See more details on using hashes here.

File details

Details for the file rsmorphy_lemmatizer-0.1.1-cp38-cp38-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for rsmorphy_lemmatizer-0.1.1-cp38-cp38-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 21ec69e5dc70fdaae61ccb953afc3be90fefc1f1572437adea93fb2db14bad99
MD5 8e89ab4e4429f7790bffeabe347b0068
BLAKE2b-256 e2d029aed2a5a22ac17870a15e8b62b967794157c5e3881d329fd33ef7c5dc93

See more details on using hashes here.

File details

Details for the file rsmorphy_lemmatizer-0.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for rsmorphy_lemmatizer-0.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 16255e79d939d1559e97caa0a0d38c932a41bde5c327664ae54d02695f332914
MD5 8913429a92decb81cc5afbac63868ca8
BLAKE2b-256 87710d9f0627f30127ecf35793355a5221d8f4aac2c38f21862bb999c6c39284

See more details on using hashes here.

File details

Details for the file rsmorphy_lemmatizer-0.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for rsmorphy_lemmatizer-0.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 10cbf341a5b25042960758e5a126022769bde5e673c893d5f138b856b3e84ac4
MD5 a70a9a743be2ff8fd04cd02531fac84b
BLAKE2b-256 3ad849cba19aed9c8d109e37c596816236cf185d566b81f3d7f5af0345d551bf

See more details on using hashes here.

File details

Details for the file rsmorphy_lemmatizer-0.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for rsmorphy_lemmatizer-0.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 74d998163c23534bcb159b1189c40f58b8f5a885929f23f9c9af1430a892214c
MD5 05aa54e7c09c92346ac06554a829cb0a
BLAKE2b-256 aa9c20da77f144518c588e2a2c9d449ff51be9b3a9008ee00fae82743aaab390

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