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.2-cp310-cp310-win_amd64.whl (8.0 MB view details)

Uploaded CPython 3.10 Windows x86-64

rsmorphy_lemmatizer-0.1.2-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.2-cp39-cp39-win_amd64.whl (8.0 MB view details)

Uploaded CPython 3.9 Windows x86-64

rsmorphy_lemmatizer-0.1.2-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.2-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.2-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.2-cp38-cp38-win_amd64.whl (8.0 MB view details)

Uploaded CPython 3.8 Windows x86-64

rsmorphy_lemmatizer-0.1.2-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.2-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.2-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.2-cp37-cp37m-win_amd64.whl (8.0 MB view details)

Uploaded CPython 3.7m Windows x86-64

rsmorphy_lemmatizer-0.1.2-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.2-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for rsmorphy_lemmatizer-0.1.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 cd7a76418cb138e9f636527307f889069cf9b8393a52bc63933e7aebf4ff81ed
MD5 c848c0e7042a551b1810264b88170839
BLAKE2b-256 888fa4a5960b1d18be643fdf5eeee8e990bac9f87c5da87cbb8e9f4e0cfac1a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rsmorphy_lemmatizer-0.1.2-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9a1ebe9d3fa1e0914331e15f818bdca272d2761d39d4e7163dfc226a30edc0b4
MD5 122083d19cc73ec1df9817a10c43bd95
BLAKE2b-256 0b268d8c510cdc05f91e5fac5dcb1cdf21297401364dadf705a9712d6bde1ec1

See more details on using hashes here.

File details

Details for the file rsmorphy_lemmatizer-0.1.2-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for rsmorphy_lemmatizer-0.1.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 4f77666d5205df2dc48538d5c98a9f8e91455c19ac0b67e0a343fb36319562f5
MD5 f532a6a651176c3edb850be3ef4f9961
BLAKE2b-256 78385dab62b08896e8c3013e8aed4d37eadae51906c03321f02b84310ee96496

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rsmorphy_lemmatizer-0.1.2-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a53d55656ae912fd7a3831fdb8622ce4b3140bac8f1a708a32c195132de186d7
MD5 211c81c8140d2fdab4e2bf1ca73632bf
BLAKE2b-256 fa19bd17174cb8147ca91c45904cd807d3165f0b7842c3a9c0a4be6ac83ee2e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rsmorphy_lemmatizer-0.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a73940add8260f69b8892f780d3be8850ef486a3f2b00ccccf9b556d0dc6076f
MD5 ada0ad29e86417f95d12c9290fc15f22
BLAKE2b-256 a5237641f674813a956750822c979df42f94e8a71068d03803b271cfecdbf0db

See more details on using hashes here.

File details

Details for the file rsmorphy_lemmatizer-0.1.2-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.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 70a06e19d4f3f79bfa5854e15d4de61483cff99ad648bd1e341012e081e89821
MD5 590d1ebfee717a24240c458d6bb96eba
BLAKE2b-256 d404fe646d070c0ca48c6e8b7a530382b78f880d86e276a7769c6b4d9934829e

See more details on using hashes here.

File details

Details for the file rsmorphy_lemmatizer-0.1.2-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for rsmorphy_lemmatizer-0.1.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 e50035ae3054a6ae0927f6597323e01b142b185429ebf64326f1eec6271031c2
MD5 5870ef01ab063bff64e39c40c9072ff8
BLAKE2b-256 14b425954a28c67aac773e93caec901e80408c9fe2a236b692db0ed3e2a0d3b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rsmorphy_lemmatizer-0.1.2-cp38-cp38-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 366234f5265123cc27f712e52a89c87063239ea80e3364650f2dc5c91fb7f1ea
MD5 4e255cf4399f4578a7a884f982b611da
BLAKE2b-256 51f6d8ec702c9566b0a7881ac2fc4f30ffd124b157bab520d5e6955a3119c4e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rsmorphy_lemmatizer-0.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9c0e0448d5b7b3aa9cd98d874a014650c73f34ed20e83571c3c0d4f6edd4f1e7
MD5 c5452fb3c4d5a72cfeebd8c0deab1bc7
BLAKE2b-256 c2031b25f7c6c3651e6f987a0439cc310a2e41ef0df10b815fd7afbbb9128736

See more details on using hashes here.

File details

Details for the file rsmorphy_lemmatizer-0.1.2-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.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 270c9c9472a182fb5a4f5758576deb40d0087019d0ac3c84326a57aba2c49c33
MD5 cea446ab5455a15d04a0b6408f16a745
BLAKE2b-256 b6bd89ec82dd8d45f4cc7a55f081f28cbf6beaa4aa405e140a68ca92b3ffc6af

See more details on using hashes here.

File details

Details for the file rsmorphy_lemmatizer-0.1.2-cp37-cp37m-win_amd64.whl.

File metadata

File hashes

Hashes for rsmorphy_lemmatizer-0.1.2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 bcf63e5e27029fb2c8f3e2f01db4bf8efee6bcf673cce41e3e3d2bdef5e93c14
MD5 735b0a37df2ebf0a1b8dab7bd16e8a7c
BLAKE2b-256 f8cfef6fb164c887a6145acce66b5729d2668550f78f1f5cc079740ffa47bf9b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rsmorphy_lemmatizer-0.1.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e0e7216ac8b3af3a2b45ab9c3ec573e2576010aad7dde57b191509e8ad04930a
MD5 f6e90b510223b9955ad82999486a3fcf
BLAKE2b-256 f4b8f44cec30f6cf2bd9f0ed4cbd3b3a3a377d19af34f9e90a9866371c09b223

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