Skip to content

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

🧠 NLP Text Processing Playground

Python NLTK Gradio Live Demo

An interactive Natural Language Processing (NLP) web application that demonstrates Tokenization, Stemming, and Lemmatization using NLTK with a Gradio interface.

Designed as an educational NLP playground to visualize core text-processing techniques used in real-world AI pipelines.


👨‍💻 Author

K. Siddhartha — AI / NLP Developer

🔗 GitHub: https://github.com/k-siddhartha-ai 🤗 Hugging Face: https://huggingface.co/Siddhartha001


🚀 Overview

This project allows users to enter text and observe classical NLP preprocessing steps in real time.

The application performs:

  • Word Tokenization
  • Sentence Tokenization
  • Porter Stemming
  • WordNet Lemmatization

The goal is to provide a clear and interactive understanding of fundamental NLP operations before advanced transformer-based models.


🧱 Architecture

Frontend: Gradio Blocks Interface NLP Engine: NLTK Library Processing Flow:

User Input → Tokenization → Stemming → Lemmatization → Structured Output Tables


✨ Features

  • 🔹 Word Tokenization (NLTK)
  • 🔹 Sentence Tokenization
  • 🌱 Porter Stemmer Visualization
  • 📚 WordNet Lemmatization
  • 📊 Structured JSON and DataFrame Outputs
  • 🖥️ Interactive Gradio Interface

🛠️ Tech Stack

  • Python
  • NLTK
  • Gradio

▶️ Run Locally

pip install -r requirements.txt
python app.py

🌐 Live Demo

https://huggingface.co/spaces/Siddhartha001/nlp-text-processing-gradio


📌 Notes

  • Non-alphabetic tokens are filtered during stemming and lemmatization.
  • Designed as an educational NLP visualization tool.
  • Demonstrates classical NLP preprocessing before deep learning pipelines.

⚡ Performance Notes

  • Lightweight CPU-friendly NLP operations
  • Fast response time due to rule-based processing
  • No GPU required

📄 License

Educational NLP project by K. Siddhartha.

About

Interactive NLP Text Processing Playground using NLTK and Gradio

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages