Package that helps you to put lexical stress in russian text
Project description
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 "Проста'вь, пожа'луйста, ударе'ния"
Project details
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
Close
Hashes for russtress-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2a9409904ce27501a8996b52e0bd5c1344f7688fdee47f1efb6c3029b8efab8 |
|
MD5 | 19b99b9c484465ef9f405c893156d9df |
|
BLAKE2b-256 | 95a48814de849202c9cd348d10cc7323c64a19356b3d8f48123cf3a0f62a9a13 |