Skip to main content

A package for putting stress marks in russian poetic texts

Project description


This is a tool for putting stress marks in russian poetic texts


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

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)

Uploaded source

Built Distribution

ru_accent_poet-0.1.0-py3-none-any.whl (5.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page