🧩 AYNLP - Advanced Yet Simple NLP Toolkit
AYNLP is a lightweight, modular Natural Language Processing (NLP) library built for educational, research, and open-source projects.
It unifies core NLP components - Tokenization, Lemmatization, POS tagging, Named Entity Recognition, and Sentiment Analysis - into a single, easy-to-use pipeline.
🚀 Features
✅ Tokenizer - Splits text into structured tokens
✅ Stopword Remover - Filters out common stopwords
✅ Lemmatizer - Converts words to their base form
✅ Stemmer - Performs root-word stemming
✅ POS Tagger - Identifies grammatical roles
✅ NER - Extracts named entities (people, places, etc.)
✅ Sentiment Analyzer - Detects text polarity (positive, neutral, negative)
✅ Beautiful Output - Displays classical table results with emojis 🧠📊
⚙️ Installation
# Clone the repository
git clone https://github.com/aijadugar/AYNLP.git
cd AYNLP
# (Optional) Create a virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
>>>from aynlp import AYNLP
>>>aynlp = AYNLP()
>>>print(aynlp.analyze("The yesterdays festival was awesome."))
# Output
╒══════════════════╤══════════════════════════════════════════════════════════╕
│ 🔍 Feature │ 📊 Result │
╞══════════════════╪══════════════════════════════════════════════════════════╡
│ 🧩 Tokens │ The, yesterdays, festival, was, awesome, . │
├──────────────────┼──────────────────────────────────────────────────────────┤
│ 🚫 Filtered ... │ yesterdays, festival, awesome, . │
├──────────────────┼──────────────────────────────────────────────────────────┤
│ 🔤 Lemmas │ The, yesterday, festival, be, awesome, . │
├──────────────────┼──────────────────────────────────────────────────────────┤
│ 🌱 Stems │ the, yesterday, festiv, wa, awesom, . │
├──────────────────┼──────────────────────────────────────────────────────────┤
│ 🏷️ POS Tags │ The/DT, yesterdays/NNS, festival/NN, was/VBD, awesome/JJ│
├──────────────────┼──────────────────────────────────────────────────────────┤
│ 🧠 Entities │ — │
├──────────────────┼──────────────────────────────────────────────────────────┤
│ 💬 Sentiment │ 😊 Positive │
╘══════════════════╧══════════════════════════════════════════════════════════╛
Metadata
Release files for aynlp 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aynlp-0.1.4.tar.gz | 7.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aynlp-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.9 kB
Release files / aynlp-0.1.4.tar.gz
| Download URL | aynlp-0.1.4.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cfcffe14831699cc9448e115e9399f28acc8c117411fe3c2ac550f27ff340df7
|
|
BLAKE2b-256 checksum How to use checksums |
430891e1a8f2ad9154914ae207bf955f3f2d15f20c4f73de06337a4c65dd0438
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.6
|
Release files / aynlp-0.1.4-py3-none-any.whl
| Download URL | aynlp-0.1.4-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5c26b5eaf77d9de9aae08a32b57d25c6b814ffc6a788b8fef9443696cb673aa8
|
|
BLAKE2b-256 checksum How to use checksums |
247c9372509bc69f485108a114cd24ae82b6bc30a5475d16236cfcd61a78cd06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.6
|