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 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_poetic_text-0.0.1.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

ru_accent_poetic_text-0.0.1-py3-none-any.whl (5.9 kB 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