File size: 1,170 Bytes
d59fb88
 
 
 
 
 
 
 
 
 
 
 
26ba488
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d59fb88
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---
title: Nlp Ai Assistant
emoji: 📉
colorFrom: gray
colorTo: red
sdk: gradio
sdk_version: 5.37.0
app_file: app.py
pinned: false
license: mit
short_description: Sentiment, NER, and translation using Transformers.
---
---
title: Mini NLP AI Assistant
emoji: 🤖
colorFrom: blue
colorTo: indigo
sdk: gradio
app_file: app.py
---

# 🤖 Mini NLP AI Assistant

A lightweight NLP app that performs:

- 🧠 Sentiment Analysis  
- 🔍 Named Entity Recognition (NER)  
- 🌍 Translation (English to Hindi or French)

Built using Hugging Face Transformers and Gradio.

## 🚀 How to Use
1. Enter an English sentence.
2. Choose a translation language (Hindi or French).
3. View sentiment, named entities, and translated sentence.

### 🧪 Example
**Input:**  
"Narendra Modi visited Paris in 2023."

**Output:**  
- Sentiment: POSITIVE  
- Named Entities: Narendra Modi (PER), Paris (LOC), 2023 (DATE)  
- Translation (Hindi): नरेंद्र मोदी ने 2023 में पेरिस का दौरा किया।

---

👩‍💻 Built by **Sonia**

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference