NLTKAZ 📚
NLTKAZ is a natural language processing toolkit designed for the Azerbaijani language making it easier to preprocess Azerbaijani text for NLP tasks.
Installation ⬇️
pip install nltkaz
Features 🧩
Currently provided features:
- Stemming: Reduce words to their root forms.
- Stopword Removal: Easily remove common Azerbaijani stopwords from text.
- Tokenization: Tokenize text into words, sentences, or tweets.
Usage ⚙️
Stemming
from nltkaz import Stemmer
# Initialize stemmer with the appropriate keyboard type
# Use 'az' for Azerbaijani text or 'en' if the text is typed using an English keyboard
stemmer = Stemmer(keyboard="az")
# Stem your string
stemmed_string = stemmer.stem("your_string")
Stopword Removal
from nltkaz import load, remove
# Load stopwords
stopwords = load()
# Remove stopwords from the given string
result = remove(stopwords=stopwords, sentence="your_string")
Tokenization
Word Tokenizer
from nltkaz import wordTokenize
words = wordTokenize("your_string")
Sentence Tokenizer
from nltkaz import sentenceTokenize
sentences = sentenceTokenize("your_string")
Tweet Tokenizer
from nltkaz import tweetTokenize
tweets = tweetTokenize("your_string")
Author 🧑💻
- Nagi Nagiyev
Contact 📧
Gmail: nagiyevnagi01@gmail.com.
Linkedin: https://www.linkedin.com/in/naginagiyev/
License 📜
MIT License
This project is in early development. Contributions and feedback are welcome! 🤝
Metadata
Release files for nltkaz 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nltkaz-0.2.0.tar.gz | 397.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nltkaz-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 793.7 kB
Release files / nltkaz-0.2.0.tar.gz
| Download URL | nltkaz-0.2.0.tar.gz |
|---|---|
| Size | 397.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fc9341a18d2b8cfcea4892d7b5aa77c3fb754dd1c927fda08f3646d5349904a6
|
|
BLAKE2b-256 checksum How to use checksums |
33e64dfd29d39c9b2f9a1fa29e290ee6d42755136c78b14d20f27cc4a03c20f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.18
|
Release files / nltkaz-0.2.0-py3-none-any.whl
| Download URL | nltkaz-0.2.0-py3-none-any.whl |
|---|---|
| Size | 396.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6771b72f85c6bf20938ab5bbd3827abad4318feff20d1530105e87b27c3ba958
|
|
BLAKE2b-256 checksum How to use checksums |
995acb0e6593a83d956f05147c109fe598f3c1077151be8bd4c81e775dc12816
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.18
|