📚 Documentation

Welcome to the Sentiment Analysis Tool documentation. This comprehensive guide will help you understand and use the tool effectively.

🚀 Getting Started

Prerequisites

📊 Supported Datasets

Restaurant Reviews

Default dataset with restaurant-specific reviews and binary sentiment classification.

  • Format: CSV
  • Records: 1,000+
  • Best for: General sentiment analysis training

Hotel Reviews

Hotel-specific reviews with three-way sentiment classification (positive/negative/neutral).

  • Format: CSV
  • Records: 141
  • Best for: Hospitality industry analysis

Movie Reviews

Movie-specific reviews with three-way sentiment classification.

  • Format: CSV
  • Records: 128
  • Best for: Entertainment industry sentiment trends

Tech Reviews

Technology product reviews with three-way sentiment classification.

  • Format: CSV
  • Records: 121
  • Best for: Product feedback analysis

💻 Using the Application

Uploading Data

  1. Click the "Choose CSV File" button
  2. Select your CSV file from your computer
  3. Click "Analyze" to start the sentiment analysis
  4. Wait for the results to be generated

Understanding Results

The analysis provides comprehensive insights:

✨ Best Practices

CSV File Format

Review,Liked,Dataset "Great experience!",1,"Restaurant" "Poor service.",0,"Hotel" "Average movie.",2,"Movie"

Tips for Best Results

🔧 Troubleshooting

File Upload Failed

If your file upload fails, check the following:

  • File format must be .csv
  • File size must be under 10MB
  • Ensure proper column headers (Review, Liked)
  • Check for corrupted or incomplete CSV file

Analysis Errors

If analysis fails, verify:

  • Text encoding is UTF-8
  • Sentiment values are 0, 1, or 2
  • No completely empty rows in the CSV
  • At least one valid review with text content

No Results Displayed

If results don't appear:

  • Refresh the page and try again
  • Check browser console for errors (F12)
  • Ensure JavaScript is enabled
  • Try with a sample dataset first

📧 Support

For additional support and questions: