Update README.md
Browse files
README.md
CHANGED
|
@@ -8,23 +8,10 @@ metrics:
|
|
| 8 |
## Overview
|
| 9 |
|
| 10 |
This project implements a Natural Language Processing (NLP) model for sentiment analysis of text written in Tunisian dialect. The model is designed to classify the sentiment of given text as positive, negative, or neutral.
|
|
|
|
| 11 |
|
| 12 |
## Features
|
| 13 |
|
| 14 |
- Sentiment analysis for Tunisian dialect text
|
| 15 |
- Classification into positive, negative, and neutral sentiments
|
| 16 |
|
| 17 |
-
## Requirements
|
| 18 |
-
|
| 19 |
-
- Python 3.7+
|
| 20 |
-
|
| 21 |
-
## Usage
|
| 22 |
-
|
| 23 |
-
Example:
|
| 24 |
-
```python
|
| 25 |
-
from tunisian_sentiment import SentimentAnalyzer
|
| 26 |
-
|
| 27 |
-
analyzer = SentimentAnalyzer()
|
| 28 |
-
text = "هاك الفيلم جميل برشا"
|
| 29 |
-
sentiment = analyzer.analyze(text)
|
| 30 |
-
print(f"Sentiment: {sentiment}")
|
|
|
|
| 8 |
## Overview
|
| 9 |
|
| 10 |
This project implements a Natural Language Processing (NLP) model for sentiment analysis of text written in Tunisian dialect. The model is designed to classify the sentiment of given text as positive, negative, or neutral.
|
| 11 |
+
Labels {-1:Negative, 0:Neutral, 1:Positive}
|
| 12 |
|
| 13 |
## Features
|
| 14 |
|
| 15 |
- Sentiment analysis for Tunisian dialect text
|
| 16 |
- Classification into positive, negative, and neutral sentiments
|
| 17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|