A Python LSTM-based POS-tagger for Udmurt language
This module contains a utility for part-of-speech tagging of Udmurt text. The tool based on LSTM neural network and takes a word order into account.
Installation
The tool could be installed with pip
pip3 install udmurttagger
Note: the model for the utility must be downloaded separately. Due to limitations on the size of the project, I could not place it on a github or PiPy. After launching the program it will download and unpack the model. No action is necessary on your part. But you will need an Internet connection and about 150 megabytes of incoming traffic.
Usage example
Tagging one sentence at a time
>>> from udmurttagger import Tagger
>>> t = Tagger()
>>> sentence = "Сьӧд зарезе."
>>> tagged_sentence = t.predict_pos(sentence)
>>> print(tagged_sentence)
[('сьӧд', 'N'), ('зарезе', 'N')]
Model
This tool can be used for disambiguation of rule-based markup.
You can make your own wrap of the trained model.
Model’s evaluation: loss: 0.2281 - acc: 0.9845 - val_loss: 0.2643 - val_acc: 0.9782.
Contacts
You can contact the contriutor of the project via email:
Boris Orekhov (nevmenandr)
@ gmail
Metadata
Release files for udmurttagger 0.5.3
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 | Actions |
|---|---|---|---|---|
| udmurttagger-0.5.3.tar.gz | 431.8 kB | Without provenance | Details for udmurttagger-0.5.3.tar.gz |
Release files / udmurttagger-0.5.3.tar.gz
| Download URL | udmurttagger-0.5.3.tar.gz |
|---|---|
| Size | 431.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e22ff0d850a7fc2285fcd285a9bd50f2f654180d6d4ddaaa9fea771c082f712d
|
|
BLAKE2b-256 checksum How to use checksums |
3d8e379682d390844bbf4eabf1fd061cd1d2533340960ca3531b16a6a656b6ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.5
|
Security for udmurttagger 0.5.3
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.