Welcome to Kerala Project Center.
Online discourse platforms struggle to scale human content moderation to match the volume of user-generated posts. This natural language processing system automates the detection of hate speech, harassment, and discriminatory rhetoric through a fine-tuned transformer architecture. The model is pretrained on broad internet text and subsequently adapted to a labeled corpus of moderated comments using supervised fine-tuning with class-weighted loss to address label imbalance. Beyond binary classification, the system performs fine-grained taxonomy tagging—identifying targeted protected characteristics and severity levels—to enable tiered response workflows. Explainability modules highlight n-gram and attention-weight evidence supporting each moderation decision, facilitating human reviewer oversight and regulatory compliance.
| Components | Hexkart | Flipkart |
|---|---|---|
| Python 3.8+ | ||
| NLTK/VADER | ||
| Scikit-learn | ||
| Flask + Chart.js | ||
| BeautifulSoup |
Note: The components listed are software tools and frameworks required for development.
Text preprocessing is the foundation of accurate sentiment analysis. The pipeline first cleans raw review text by converting to lowercase, removing HTML tags, special characters, and URLs. Tokenization splits text into individual words. Stop words (common words without sentiment value) are filtered out. Lemmatization reduces words to their dictionary form. BeautifulSoup handles HTML content cleaning when reviews are scraped from e-commerce sites.
VADER (Valence Aware Dictionary and sEntiment Reasoner) is a lexicon and rule-based sentiment analysis tool specifically tuned for social media and review text. Unlike simple word-counting approaches, VADER understands punctuation emphasis (!!!), capitalization (GREAT vs great), degree modifiers (very, extremely), and negation (not good). It outputs compound polarity scores from -1 (most negative) to +1 (most positive), enabling fine-grained classification.
Chart.js creates an interactive visualization dashboard within the Flask web application.
Key visualizations:

Monday - Saturday: 9:00 AM - 5:00 PM
Sunday: Not Working
2nd Floor, Comptron Arcade, Kallattumukku,
Thiruvananthapuram, Kerala 695012
+91 9633118080