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 "Проста'вь, пожа'луйста, ударе'ния"
Datasets
The repo contains samples from UD treebanks annotated with word stress for the Russian, Ukranian and Belorusian languages. For more details about the tool see VarDial paper (coming soon).
Metadata
Release files for russtress 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| russtress-0.1.4.tar.gz | 432.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| russtress-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 864.9 kB
Release files / russtress-0.1.4.tar.gz
| Download URL | russtress-0.1.4.tar.gz |
|---|---|
| Size | 432.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8c5fdc3d04f58f4c0f8aee45ea6b730490c6473b4ad050cbf2a8fbe59700a050
|
|
BLAKE2b-256 checksum How to use checksums |
3a6ef16638c3374e52cca7fde0a3ed63a0fa5a25053ea74b0992a853e7446b37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.3.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.6.7
|
Release files / russtress-0.1.4-py3-none-any.whl
| Download URL | russtress-0.1.4-py3-none-any.whl |
|---|---|
| Size | 432.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d4737596f81872ca62c2074685de3363113529181af6dc1ba3ba3dd14428debe
|
|
BLAKE2b-256 checksum How to use checksums |
a65e1a75335d161209c1bcb1ebeb3cb4e610c6daef6aa082b58ca7e154909279
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.3.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.6.7
|
Security for russtress 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.