Skip to main content

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 accent_line
>>> accent_line('Это инструмент для разметки ударений')
Э'то инструме'нт для разме'тки ударе'ний

To put stress marks in files

>>> ru_accent_poet.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.5.tar.gz (1.9 MB view hashes)

Uploaded Source

Built Distribution

ru_accent_poet-0.1.5-py3-none-any.whl (1.8 MB view hashes)

Uploaded Python 3

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