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.2-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for russtress-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 64a2edeb4cdfa1977c2596adf2c7a5f83775baf544cbcd0a98837d1883cc3b5a
MD5 98fec8e433633640babc8b5501beac7a
BLAKE2b-256 04a84b2cec38787537617102dd9fdc06c47c29a33542daaa42c94bf69084608b

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 Sentry Error logging StatusPage Status page