AYNLP: A lightweight NLP toolkit built by Ankit and Yash for tokenization, stemming, lemmatization, and more. Visit https://github.com/aijadugar/AYNLP to explore the project.
Project description
๐งฉ 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 โ
โโโโโโโโโโโโโโโโโโโโงโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aynlp-0.1.4.tar.gz.
File metadata
- Download URL: aynlp-0.1.4.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cfcffe14831699cc9448e115e9399f28acc8c117411fe3c2ac550f27ff340df7
|
|
| MD5 |
7b712f74d187d8b6d008552f4cbbd174
|
|
| BLAKE2b-256 |
430891e1a8f2ad9154914ae207bf955f3f2d15f20c4f73de06337a4c65dd0438
|
File details
Details for the file aynlp-0.1.4-py3-none-any.whl.
File metadata
- Download URL: aynlp-0.1.4-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c26b5eaf77d9de9aae08a32b57d25c6b814ffc6a788b8fef9443696cb673aa8
|
|
| MD5 |
c9d58964744af6315c41d1b9bcbbc956
|
|
| BLAKE2b-256 |
247c9372509bc69f485108a114cd24ae82b6bc30a5475d16236cfcd61a78cd06
|