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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file ru_accent_poet-0.1.5.tar.gz.

File metadata

  • Download URL: ru_accent_poet-0.1.5.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for ru_accent_poet-0.1.5.tar.gz
Algorithm Hash digest
SHA256 f90ec2edd911707c4f5c5da78268ac658bffc60301b1bb4be82d73ae59cf0603
MD5 8c0d4bef390acdcbfdf321c5d9b99413
BLAKE2b-256 d725f223343252d0033e3a5f093a5be2183e31705b2876e7bd22da6fd36a5cab

See more details on using hashes here.

File details

Details for the file ru_accent_poet-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: ru_accent_poet-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for ru_accent_poet-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 845ef3d4efab7d72526045fb2d0837c05d514865dea591bb726f322a16a72881
MD5 27beef089c94055610e7f6577e21e95e
BLAKE2b-256 785a35e21382399540a4ef5dc5a3b92cddf68deee2dedcb68816cc9bccf47c27

See more details on using hashes here.

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