Sentiment / README.md
amirrezaa's picture
Upload README.md
3e9db00 verified

A newer version of the Gradio SDK is available: 6.5.1

Upgrade
metadata
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