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.0.2.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for ru_accent_poet-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c50dae6dbeb63eaedabf4930111cbfed0d9d14d7711fee389ece8e46a1075e0 |
|
MD5 | a5e890a160de36a36fd37bee0316d8ac |
|
BLAKE2b-256 | 80f509366662d11919af3facf4bb9d3f19d88937669e9e49b56cefa4260bf23b |