Skip to main content

AzStemmer 📚

AzStemmer is a basic stemming library for Azerbaijani sentences. It is not highly effective but offers a simple way to stem Azerbaijani words, especially for cases where you need to reduce words to their root form. The stemmer uses a dictionary of root words and performs stemming based on that list.

Installation ⬇️

Use the package manager pip to install azstemmer.

pip install azstemmer

Usage ⚙️

from azstemmer import AzStemmer

# Initialize stemmer with the appropriate keyboard type
# Use 'az' for Azerbaijani text or 'en' if the text is typed using an English keyboard
stemmer = AzStemmer(keyboard="az") 

# Stem your string
stemmed_string = stemmer.stem("your_string")

Features 🧩

  • Azerbaijani Stemming: Reduces Azerbaijani words to their root forms.
  • English Keyboard Support: You can choose 'az' or 'en' for proper stemming based on the keyboard used for typing.
  • Simple and Lightweight: A straightforward way to perform stemming without any advanced NLP models.

Known Issues or Limitations ❗

  • As the stemming is based on a dictionary of words, special names (e.g., proper nouns) cannot be stemmed.
  • Some words may not be stemmed correctly due to the limitations of the dictionary-based approach.

Contributing 🤝

Contributions are welcome, but as the project is fairly simple, there might not be significant need for collaboration. But in any case, feel free to contact me for collaboration or if you think improvements can be made.

License 📜

MIT

Contact 📧

Gmail: naginagiyev03@gmail.com.

Linkedin: https://www.linkedin.com/in/naginagiyev/

Metadata

Release files for azstemmer 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 azstemmer 0.1.0
File Size Uploaded
azstemmer-0.1.0.tar.gz 394.6 kB Details

Built distribution (wheel)

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

Total release size: 787.6 kB

Release files / azstemmer-0.1.0.tar.gz

Download URL azstemmer-0.1.0.tar.gz
Size 394.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a6e03baf93bbcd8f5266de997646bf3609b3d8e80203a1ae793c80abb9804c44
BLAKE2b-256 checksum
How to use checksums
0217d10c0036ac955fa4998df6068a7862dca02d62c3f222faa3106f68f7390c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.6

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

Download URL azstemmer-0.1.0-py3-none-any.whl
Size 393.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ff645c52feb3bbad13f4edca2283568d6795142845a8a39864eb38682f85ec5
BLAKE2b-256 checksum
How to use checksums
bbd6d22a55f8bdf74549f4e3183dfe1a6c69d53143adb9d5635b9f76edb312c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.6

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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