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.0.tar.gz
(1.9 MB
view hashes)
Built Distribution
Close
Hashes for ru_accent_poet-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e25cba364cffbb9afc9a8ca903dfbbcb46f3d43ef0464626f9e04bb4de9b6f1 |
|
MD5 | ab7654b9a7a9dfcd047d9714aa79804a |
|
BLAKE2b-256 | fbf04b3a75f626358dab9a63d0f7fb3652206cd80e6485036570a00dc3a1e686 |