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 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page