| --- |
| title: Multilingual Sentiment Analysis |
| emoji: π |
| colorFrom: blue |
| colorTo: purple |
| sdk: gradio |
| sdk_version: 4.0.0 |
| app_file: app.py |
| pinned: false |
| license: mit |
| --- |
| |
| # Multilingual Sentiment Analysis Tool |
|
|
| A comprehensive sentiment analysis tool supporting **English**, **Turkish**, and **Persian** languages using non-deep-learning approaches (lexicon-based, rule-based, and hybrid methods). |
|
|
| ## Features |
|
|
| - π **Multilingual Support**: English, Turkish, and Persian |
| - π§ **Multiple Methods**: Lexicon-based, rule-based, and hybrid approaches |
| - π **Batch Processing**: Analyze multiple texts at once |
| - β¨ **Advanced Rules**: |
| - Comprehensive sentiment lexicons (200+ words per language) |
| - Idiom detection |
| - Emoticon and emoji support |
| - Negation scope detection |
| - Intensifier and diminisher handling |
| - Contrast word detection |
| - And much more! |
|
|
| ## Usage |
|
|
| 1. Select your language (English, Turkish, or Persian) |
| 2. Choose analysis method (Lexicon, Rule-based, or Hybrid) |
| 3. Enter text and click "Analyze Sentiment" |
| 4. View detailed results with polarity, confidence, and scores |
|
|
| ## Methods |
|
|
| - **Lexicon-based**: Uses predefined sentiment dictionaries |
| - **Rule-based**: Extends lexicon with linguistic rules |
| - **Hybrid** (Recommended): Combines both approaches for best results |
|
|
| ## Citation |
|
|
| If you use this tool in your research, please cite: |
|
|
| ``` |
| Multilingual Sentiment Analysis Tool (2024) |
| Non-Deep-Learning Approaches for Sentiment Analysis |
| ``` |
|
|