Skip to content

g-alexander/rsmorphy_lemmatizer

Repository files navigation

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()

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published