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
Built Distribution
File details
Details for the file ru_accent_poetic_text-0.0.1.tar.gz
.
File metadata
- Download URL: ru_accent_poetic_text-0.0.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65b6bc9af7fd1af5a7368b818a740d8e336e830f3999b0775ec8cbfbf8d88d69 |
|
MD5 | 231b42dff8757f6282875aa4398d86cf |
|
BLAKE2b-256 | 2cbf56975580549e14764d2641f2150b242b5ffb42d4aa06d351548b17a745b2 |
File details
Details for the file ru_accent_poetic_text-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: ru_accent_poetic_text-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54b97ef27f4e2e34694fad69b85025e2cfeb2c74925d57da33fb821e3d739cb6 |
|
MD5 | bf50f2474911f81beaca495eb5e6d47a |
|
BLAKE2b-256 | 99c648824b6d7f362334af85b3418edd35ff39b532784a2ced58f30d088849c4 |