A package for putting stress marks in russian poetic texts
Project description
ru_accent_poet
This is a tool for putting stress marks in russian poetic texts
Installation
pip install ru-accent-poet
Usage example
To put stress marks in text
>>> from ru_accent_poet import ru_accent
>>> ru_accent.accent_line('Это инструмент для разметки ударений')
Э'то инструме'нт для разме'тки ударе'ний
To put stress marks in files
>>> ru_accent.write_file(['my_file_1.txt'])
This will return new file called "my_file.accented.txt" with the same text where stress marks are put
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ru_accent_poet-0.1.1.tar.gz
(1.9 MB
view hashes)
Built Distribution
Close
Hashes for ru_accent_poet-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5ec9f8f5877ab857fe2bcf8e6509073e8b2123b6ab69a98156e97687bfcf375 |
|
MD5 | e1edde9388600860ded6071f2d1142e0 |
|
BLAKE2b-256 | 7759756c5b87404b5dca927afae5b92ff90795500946d8e82e0cfc31d0fcc19f |