Ultimate Text Analyzer
A Python-based command-line tool that analyzes any text string for:
Sentiment (positive/negative + confidence)
Keywords (top 5 relevant terms/phrases)
Toxicity (non-toxic, offensive, or hateful)
Built using Hugging Face Transformers and KeyBERT.
Example
Enter text to analyze: I hate everything about this dumb app.
Output:
Sentiment Analysis: {‘label’: ‘NEGATIVE’, ‘score’: 0.998}
Keywords: [‘dumb app’, ‘hate everything’]
Toxicity Detection: {‘toxicity_level’: ‘Hateful’, ‘confidence’: 0.956}
How to Run
Clone or download this repo
Install dependencies:
0 likes · 9 views · Jul 2, 2025
Developed a Python tool for text analysis using Hugging Face and KeyBERT.