Keyurjotaniya007 commited on
Commit
2fbe2b9
Β·
verified Β·
1 Parent(s): e4ddd05

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +37 -1
README.md CHANGED
@@ -3,7 +3,7 @@ title: TextBlobSentimentAnalysis
3
  emoji: πŸ“ˆ
4
  colorFrom: yellow
5
  colorTo: purple
6
- sdk: gradio
7
  sdk_version: 5.49.1
8
  app_file: app.py
9
  pinned: false
@@ -12,3 +12,39 @@ short_description: 'Kid safe Text Mood Detector '
12
  ---
13
 
14
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  emoji: πŸ“ˆ
4
  colorFrom: yellow
5
  colorTo: purple
6
+ sdk: streamlit
7
  sdk_version: 5.49.1
8
  app_file: app.py
9
  pinned: false
 
12
  ---
13
 
14
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
15
+
16
+ # Keyur-Jotaniya-mood2emoji
17
+ Kid-safe Text-Mood Detector (Streamlit + TextBlob or rule-based)
18
+
19
+ # Kid-safe Text-Mood Detector
20
+ A simple Streamlit + TextBlob app for kids
21
+
22
+ ## What this project does
23
+
24
+ This web app takes a text and predicts the **mood** behind it using **TextBlob sentiment analysis**.
25
+
26
+ | Mood | Emoji | Example Output |
27
+ ---------------------------------
28
+ | Happy | πŸ˜€ | "Happy" |
29
+ | Neutral | 😐 | "Neutral" |
30
+ | Sad | 😞 | "Sad" |
31
+ | Inappropriate | ⚠️ | "Inappropriate words" |
32
+ | Empty Input | πŸ₯± | "Empty text β€” Please write something to analyze" |
33
+
34
+ This app helps kids safely understand and have fun with Natural Language Processing (NLP).
35
+
36
+ ## How kids learn from it
37
+
38
+ 1. Experiment with how computers β€œread” emotions from text.
39
+ 2. See how simple **thresholds** (+0.3 / -0.3) decide between *happy, sad, or neutral*.
40
+ 3. Learn about **safe and responsible AI** β€” understanding how a program can detect inappropriate words.
41
+ 4. Try changing the **sensitivity** (Strict / Balanced / Sensitive) to see how it affects the results.
42
+
43
+ This hands-on activity helps them connect basic coding logic (`if`, `elif`, `else`) with real-world AI behavior.
44
+
45
+
46
+ ## Tech Used
47
+
48
+ - **Python 3.9+**
49
+ - **Streamlit** for the interactive web app
50
+ - **TextBlob** for simple sentiment polarity detection