Skip to main content

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

Project description

Regex Replacer

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.0-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.0-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.0-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.0-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.0-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.0-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.0-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.0-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.0-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for rsmorphy_lemmatizer-0.1.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c2e238791e0ab837fa841715259c10485ddc6260e25ce80b64342fa4729375b5
MD5 ac25218ff01b234c07c5e9380919c885
BLAKE2b-256 da1b9bd406f5d85624c863ab0cfe95e57c690f0d989047cddff9510d6119bf21

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rsmorphy_lemmatizer-0.1.0-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 226d0b4839febf54fb72c32b48a460c5cf28cd5dbfbe951f931d12f8d50196c4
MD5 300e009d3bfeb294b162d92af39b2341
BLAKE2b-256 0b53adadef892803c6983860fe855dc1b4cba090ad3fa3beec02275faaae7b73

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rsmorphy_lemmatizer-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 17d3919548bb0c1a899ae4e36f4470b684fdf41a75d8d0cae4b8d3d27d37e789
MD5 cf8c3d66b7f3b1224eb458b503e7e90b
BLAKE2b-256 125d8d916bc2408ce4f6a8f6547d3ea795b7bf15011b86c341fc93b71e4822fd

See more details on using hashes here.

File details

Details for the file rsmorphy_lemmatizer-0.1.0-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.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9ff07a9bbc72be938863dbf1d3aa6b86b53dd05650dfacb16e51c480973ea482
MD5 cabf79c21a3970242781b7837abbfb66
BLAKE2b-256 245e0dbf61a82ab4c7a9586bedd19d5e1aced66a7620f1e20fe6a8bdb50e6a88

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rsmorphy_lemmatizer-0.1.0-cp38-cp38-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fbb784ad67da8512a8bfcf52007582c088b6349b19a925d72b7a86e662c03906
MD5 62793e843c67dfe218bb734913a91f00
BLAKE2b-256 eaa6cfbbd395d60b3c8ab1d70886026c18914ccc1d998de6f56334c8e6543202

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rsmorphy_lemmatizer-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 169ba03f229469eb4b9eb241cd056b8e901058a295954e61ebb8008b7774a34a
MD5 375b8d0f44fb1e607a030113189f31ea
BLAKE2b-256 a4d1c979d3b83214e67dd93729e3151770988a38a60baf1ac1a310c4545427b5

See more details on using hashes here.

File details

Details for the file rsmorphy_lemmatizer-0.1.0-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.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c023bb304df4f2130127e102b4719af7b74fad6c5eec85381a10d30b3b0d3bfd
MD5 e0f7af4ee015ecb1131bb54092ff46ca
BLAKE2b-256 10e848ed53836e6744452e02bee7581866bdff3d5684c90f06cd1d0fe7524a00

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rsmorphy_lemmatizer-0.1.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c762dfb34d5be8454a3ea7b7349c5e54d84deba036ed0af500cd6c69882d96c3
MD5 b7f651e19a8181ae33b08e75cfc22dc5
BLAKE2b-256 d53152255404b0e503f1485155d20ad385cff5eb9e05b74480590926673f67b5

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