Skip to main content

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

Release files for ru-accent-poetic-text 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ru-accent-poetic-text 0.0.1
File Size Uploaded
ru_accent_poetic_text-0.0.1.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ru-accent-poetic-text 0.0.1
File Interpreter ABI Platform
ru_accent_poetic_text-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.9 kB

Release files / ru_accent_poetic_text-0.0.1.tar.gz

Download URL ru_accent_poetic_text-0.0.1.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
65b6bc9af7fd1af5a7368b818a740d8e336e830f3999b0775ec8cbfbf8d88d69
BLAKE2b-256 checksum
How to use checksums
2cbf56975580549e14764d2641f2150b242b5ffb42d4aa06d351548b17a745b2
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / ru_accent_poetic_text-0.0.1-py3-none-any.whl

Download URL ru_accent_poetic_text-0.0.1-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
54b97ef27f4e2e34694fad69b85025e2cfeb2c74925d57da33fb821e3d739cb6
BLAKE2b-256 checksum
How to use checksums
99c648824b6d7f362334af85b3418edd35ff39b532784a2ced58f30d088849c4
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page