Skip to main content

uzmorph-transformer: Uzbek Neural Morphological Analyzer (Transformer Encoder Architecture)

uzmorph-transformer is a state-of-the-art word-level morphological analyzer for the Uzbek language. Unlike sequential RNNs, it uses a Multi-Head Self-Attention (Transformer Encoder) mechanism to capture complex character dependencies.

Performance & Use Case

  • Architecture: Transformer Encoder (Multi-Head Attention).
  • Strength: Exceptional at analyzing very long or complex words (6+ suffixes) where sequential models might lose context. Handles long-range phonological dependencies with high precision.
  • Accuracy: >95% (Scales significantly with complex data).
  • Ideal For: Research-heavy NLP tasks and analyzing complex, highly-agglutinative Uzbek technical or literary texts.

Installation

pip install uzmorph-transformer

Quick Start (Usage Examples)

1. Simple Analysis (String Output)

from uzmorph_transformer.uzmorph_transformer import uzmorph_transformer

analyzer = uzmorph_transformer()
result = analyzer.analyze("kitoblarimizdagilar")
print(result)

# Output:
# Result: 'kitoblarimizdagilar' -> Stem: kitob | POS: NOUN | Tags: [plural=1, possession=1, cases=Locative, plural=1]

2. Structured Data Export

# To Dictionary
data = analyzer.analyze("yozayapmiz").to_dict()

# To JSON
json_out = analyzer.analyze("olma").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, 2, 3.
  • Tense: Past, Present, Future.
  • Voice: Causative, Passive, Reciprocal, Reflexive.
  • Mood: Conditional, Imperative, Progressive, Message, Proposal.

License

MIT

Metadata

Release files for uzmorph-transformer 0.1.0

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-transformer 0.1.0
File Size Uploaded Provenance Actions
uzmorph_transformer-0.1.0.tar.gz 1.9 MB Without provenance Details for uzmorph_transformer-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for uzmorph-transformer 0.1.0
File Interpreter ABI Platform Actions
uzmorph_transformer-0.1.0-py3-none-any.whl Python 3 none any Details for uzmorph_transformer-0.1.0-py3-none-any.whl

Total release size: 3.8 MB

Release files / uzmorph_transformer-0.1.0.tar.gz

Download URL uzmorph_transformer-0.1.0.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
03b71e49f378420b5f69bf9455dffb80684a74780889cf2397ccda12ea80d152
BLAKE2b-256 checksum
How to use checksums
43468c0f0f3195a8813bf3f4c99684f498c09e83c708d28c988e6f98ed09aafc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.0

Release files / uzmorph_transformer-0.1.0-py3-none-any.whl

Download URL uzmorph_transformer-0.1.0-py3-none-any.whl
Size 1.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
4d7055edf1f5ac58c8c0b7e840b5651afa9411fa37ea8ee54183958886100511
BLAKE2b-256 checksum
How to use checksums
2bedbdcf2725ae381d19b3768662dc9080cbae3e58ff6a5747f6f441980071d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.0

Security for uzmorph-transformer 0.1.0

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.0 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