Sentiment Analysis
Simple 3-way sentiment classification with radio buttons. Perfect for social media analysis, product reviews, and customer feedback.
Configuration Fileconfig.yaml
# Sentiment Analysis Configuration
# Generated by Potato Annotation Showcase
port: 8000
server_name: localhost
annotation_task_name: "Sentiment Analysis"
# Data configuration
data_files:
- "data.json"
item_properties:
id_key: id
text_key: text
# Output
output_annotation_dir: "annotation_output/"
output_annotation_format: "json"
# Annotation scheme
annotation_schemes:
- annotation_type: radio
name: sentiment
description: "What is the sentiment expressed in this text?"
labels:
- name: Positive
key_value: "1"
- name: Negative
key_value: "2"
- name: Neutral
key_value: "3"
sequential_key_binding: true
tooltips:
Positive: "The text expresses happiness, satisfaction, approval, or other positive emotions"
Negative: "The text expresses sadness, anger, frustration, disappointment, or other negative emotions"
Neutral: "The text does not express strong positive or negative sentiment, or is purely factual"
# User configuration
allow_all_users: true
# Task assignment
instances_per_annotator: 100
annotation_per_instance: 1
Sample Datasample-data.json
[
{
"id": "sample_1",
"text": "I absolutely love this product! It exceeded all my expectations and I would highly recommend it to everyone."
},
{
"id": "sample_2",
"text": "The service was terrible. I waited for hours and nobody helped me. Very disappointed."
}
]
// ... and 1 more itemsGet This Design
This design is available in our showcase. Copy the configuration below to get started.
Quick start:
# Create your project folder mkdir sentiment-analysis cd sentiment-analysis # Copy config.yaml from above potato start config.yaml
Details
Annotation Types
Domain
Use Cases
Tags
Related Designs
AfriSenti - African Language Sentiment
Sentiment analysis for tweets in African languages, classifying text as positive, negative, or neutral. Covers 14 African languages including Amharic, Hausa, Igbo, Yoruba, and Swahili. Based on SemEval-2023 Task 12 (Muhammad et al.).
Detecting Stance in Tweets
Classification of stance expressed in tweets toward specific targets as favor, against, or neither. Based on SemEval-2016 Task 6 (Stance Detection).
Explainable Online Sexism Detection
Detection and fine-grained classification of online sexism with span-level evidence extraction. Categories include threats, derogation, animosity, and prejudiced discussion. Based on SemEval-2023 Task 10 (Kirk et al.).