Skip to main content

uzmorph-bigru: Uzbek Neural Morphological Analyzer (BiGRU Architecture)

uzmorph-bigru is a high-accuracy word-level morphological analyzer for the Uzbek language. It leverages the Bidirectional Gated Recurrent Unit (BiGRU) architecture to offer a lighter yet powerful alternative to standard LSTMs.

Performance & Use Case

  • Architecture: Bidirectional GRU (2 Layers, 128 hidden units).
  • Efficiency: Approximately 20% faster inference and 15% smaller model size (~0.9MB) compared to BiLSTM.
  • Accuracy: >96% on common word sets.
  • Ideal For: Mobile applications or environments with limited memory where high throughput is required.

Installation

pip install uzmorph-bigru

Quick Start (Usage Examples)

1. Simple Analysis (String Output)

from uzmorph_bigru.uzmorph_bigru import uzmorph_bigru

analyzer = uzmorph_bigru()
result = analyzer.analyze("kitobim")
print(result)

# Output:
# Result: 'kitobim' -> Stem: kitob | POS: NOUN | Tags: [possession=1, singular=1]

2. Structured Data (Dict/JSON)

# To Dictionary
data = analyzer.analyze("maktabda").to_dict()
# { "word": "maktabda", "stem": "maktab", "pos": "NOUN", "cases": "Locative" }

# To JSON
json_string = analyzer.analyze("yozyapmiz").to_json()

Supported Tags & Features

Part of Speech (POS)

  • NOUN (Ot), VERB (Fe'l), ADJ (Sifat), ADV (Ravish), NUM (Son), PRN (Olmosh).

Grammatical Features

  • Cases: Nominative, Ablative, Accusative, Dative, Genitive, Locative.
  • Possession: 1 (Mening), 2 (Sening), 3 (Uning).
  • Number: singular=1, plural=1.
  • Verb Specific:
    • Tense: Past (O'tgan), Present (Hozirgi), Future (Kelasi).
    • Voice: Causative, Passive, Reciprocal, Reflexive.
    • Mood/Impulsion: Imperative, Conditional, Proposal.

License

MIT

Metadata

Release files for uzmorph-bigru 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for uzmorph-bigru 0.1.1
File Size Uploaded Provenance Actions
uzmorph_bigru-0.1.1.tar.gz 846.6 kB Without provenance Details for uzmorph_bigru-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for uzmorph-bigru 0.1.1
File Interpreter ABI Platform Actions
uzmorph_bigru-0.1.1-py3-none-any.whl Python 3 none any Details for uzmorph_bigru-0.1.1-py3-none-any.whl

Total release size: 1.7 MB

Release files / uzmorph_bigru-0.1.1.tar.gz

Download URL uzmorph_bigru-0.1.1.tar.gz
Size 846.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f6669f2cdaa14899adf869193d09a7593fa0489822070eead981581c32ae72e0
BLAKE2b-256 checksum
How to use checksums
8c400c7242027dbfe00c4483a109c57ab4b443fa192a44c6e0e96105d574ce4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.0

Release files / uzmorph_bigru-0.1.1-py3-none-any.whl

Download URL uzmorph_bigru-0.1.1-py3-none-any.whl
Size 844.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e04c5b28962d81ed6e62338b6d3257e502a06ccf15cbf5996ea642d9143a205e
BLAKE2b-256 checksum
How to use checksums
1682f8c7ff3f2127783ad32c4cf359a5a1b9256c634445156499b1cac369b8e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.0

Security for uzmorph-bigru 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page