Sentiment Analysis
Simple 3-way sentiment classification with radio buttons. Perfect for social media analysis, product reviews, and customer feedback.
text annotation
Configuration Fileconfig.yaml
# Sentiment Analysis Configuration
# Generated by Potato Annotation Showcase
port: 8000
server_name: localhost
task_name: "Sentiment Analysis"
# Data configuration
data_files:
- data.json
id_key: id
text_key: text
# Output
output_file: annotations.json
# Annotation scheme
annotation_schemes:
- annotation_type: radio
name: sentiment
description: "What is the sentiment expressed in this text?"
labels:
- Positive
- Negative
- Neutral
keyboard_shortcuts:
Positive: "1"
Negative: "2"
Neutral: "3"
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
Dynamic Hate Speech Detection
Hate speech classification with fine-grained type labels based on the Dynamically Generated Hate Speech Dataset (Vidgen et al., ACL 2021). Classify content as hateful or not, then identify hate type (animosity, derogation, dehumanization, threatening, support for hateful entities) and target group.
GoEmotions - Fine-Grained Emotion Classification
Multi-label emotion classification with 27 emotion categories plus neutral, based on the Google Research GoEmotions dataset (Demszky et al., ACL 2020). Taxonomy covers 12 positive, 11 negative, and 4 ambiguous emotions designed for Reddit comment analysis.
Implicit Hate Speech Detection
Detect and categorize implicit hate speech using a six-category taxonomy. Based on ElSherief et al., EMNLP 2021. Identifies grievance, incitement, stereotypes, inferiority, irony, and threats.