Skip to main content

A stemming library for the Azerbaijani language

Project description

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/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

azstemmer-0.1.0.tar.gz (394.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

azstemmer-0.1.0-py3-none-any.whl (393.1 kB view details)

Uploaded Python 3

File details

Details for the file azstemmer-0.1.0.tar.gz.

File metadata

  • Download URL: azstemmer-0.1.0.tar.gz
  • Upload date:
  • Size: 394.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.6

File hashes

Hashes for azstemmer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a6e03baf93bbcd8f5266de997646bf3609b3d8e80203a1ae793c80abb9804c44
MD5 c092cff95d06c89e7522362570b7b975
BLAKE2b-256 0217d10c0036ac955fa4998df6068a7862dca02d62c3f222faa3106f68f7390c

See more details on using hashes here.

File details

Details for the file azstemmer-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: azstemmer-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 393.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.6

File hashes

Hashes for azstemmer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6ff645c52feb3bbad13f4edca2283568d6795142845a8a39864eb38682f85ec5
MD5 83bef4eff6008a2ee70709c012656b3e
BLAKE2b-256 bbd6d22a55f8bdf74549f4e3183dfe1a6c69d53143adb9d5635b9f76edb312c4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page