Skip to main content

The tool based on LSTM predicts stress position in each word in russian text depending on the word context. For more details about the tool see В«Automated Word Stress Detection in RussianВ», EMNLP-2017, Copenhagen, Denmark.

Installation

Simple installation with pip

pip install russtress

Usage example

To put stress marks to your text

>>> from russtress import Accent
>>> accent = Accent()
>>> text = 'Проставь, пожалуйста, ударения'
>>> accented_text = accent.put_stress(text)
>>> accented_text
"Проста'вь, пожа'луйста, ударе'ния"

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

russtress-0.1.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file russtress-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for russtress-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a2a9409904ce27501a8996b52e0bd5c1344f7688fdee47f1efb6c3029b8efab8
MD5 19b99b9c484465ef9f405c893156d9df
BLAKE2b-256 95a48814de849202c9cd348d10cc7323c64a19356b3d8f48123cf3a0f62a9a13

See more details on using hashes here.

Supported by

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