File size: 5,186 Bytes
c9a16ab
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72acd8a
c9a16ab
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
---
language:
  - es
license: cc-by-4.0
task_categories:
  - text-classification
task_ids:
  - hate-speech-detection
tags:
  - hate-speech
  - spanish
  - ecuador
  - social-media
  - twitter
  - collaborative-annotation
  - binary-classification
  - nlp
pretty_name: EcuHate-es
size_categories:
  - 1K<n<10K
annotations_creators:
  - crowdsourced
language_creators:
  - found
multilinguality:
  - monolingual
source_datasets:
  - original
---

# EcuHate-es — Ecuadorian Spanish Hate Speech Dataset

> **The first labeled dataset for hate speech classification in Spanish produced in Ecuador.**

Texts were collected from X (formerly Twitter), geolocated to Ecuadorian users across two regions
(Costa and Sierra), and annotated through a rigorous collaborative human annotation process.
This dataset is the result of research project **FCI-036-2023**, conducted at the **Universidad de Guayaquil**
(Faculty of Mathematical and Physical Sciences, Software Engineering Program, Ecuador)

## Dataset details

| | |
|---|---|
| **Language** | Spanish (es) — Ecuadorian variety |
| **Source** | X (Twitter), geolocated to Ecuador |
| **Regions** | Costa · Sierra |
| **Task** | Binary hate speech classification |
| **Labels** | `YES` (hate speech) · `NO` (no hate speech) |
| **Size** | 7,348 texts |
| **License** | CC BY 4.0 |

| Role | Name | Affiliation |
|---|---|---|
| Principal Investigator & Project Director (FCI-036-2023) | César Espin-Riofrio | Universidad de Guayaquil |
| Research Collaborator | Ignacio Valencia-Moyano | Universidad de Guayaquil |
| Research Collaborator | Allan Méndez-Vega | Universidad de Guayaquil |

## Data structure

| Field | Type | Description |
|---|---|---|
| `id` | string | Unique text identifier |
| `text` | string | Original Spanish text from X |
| `region` | string | Ecuadorian region: `Costa` or `Sierra` |
| `date` | string | Tweet timestamp (ISO 8601) |
| `num_tokens` | integer | Token count of the text |
| `label` | string | `YES` = hate speech · `NO` = no hate speech |
| `confidence` | string | Annotation confidence: `high` or `low` |

```json
{"id": "d4e2e2f4", "text": "Texto en español aquí", "region": "Costa", "date": "2023-01-26T13:34:25.000Z", "num_tokens": 34, "label": "YES", "confidence": "high"}
```

### Label distribution

| Label | Meaning | Count | % |
|---|---|---|---|
| `YES` | Hate speech | 4,114 | 56.0% |
| `NO` | No hate speech | 3,234 | 44.0% |
| **Total** | | **7,348** | |

### Confidence distribution

| Confidence | Criterion | Count | % |
|---|---|---|---|
| `high` | Both Doccano rounds agree (label2 == label3), including unanimous cases | 4,580 | 62.3% |
| `low` | Doccano rounds disagree; original reference label acted as tiebreaker | 2,768 | 37.7% |

The `confidence` field reflects the degree of agreement between the two independent Doccano
annotation rounds. When both rounds agree, the final label is considered high confidence.
When they disagree, the original reference label (Gómez & Tapia, 2024) acted as tiebreaker
and the record is marked low confidence. Researchers may choose to use only `high` confidence
records (4,580 texts) for more conservative experiments.

### Regional distribution

| Region | Count |
|---|---|
| Costa | 3,623 |
| Sierra | 3,725 |

## Annotation

The raw corpus was compiled by Gómez & Tapia (2024) under research project FCI-036-2023 at
Universidad de Guayaquil — approximately 15,000 posts from X geolocated to Ecuadorian users,
reduced to 11,657 after deduplication.

| Parameter | Value |
|---|---|
| Platform | Doccano (deployed on Microsoft Azure) |
| Annotators | 200 (Law, Sociology, Political Science, Psychology — 8th–9th semester) |
| Rounds | 2 independent rounds, 100 annotators each |
| Texts per annotator | 116–117 (exclusive batches) |
| Quality control | 35 annotators removed (label concentration ≥ 85% + Shannon entropy ≤ 0.5) |
| Consolidation | Majority vote across 3 independent labels |
| Agreement metrics | Krippendorff's Alpha, Fleiss' Kappa, Cohen's Kappa — consistent with hate speech annotation literature |

## Acknowledgements

The research team gratefully acknowledges the institutional support that made the annotation
process possible. We thank the deans and program directors of the **Faculty of Jurisprudence,
Social and Political Sciences** (Law, Sociology, and Political Science programs) and the
**Faculty of Psychological Sciences** (Psychology program) at Universidad de Guayaquil for
facilitating the participation of their students as annotators. We also thank the dean of the
**Faculty of Mathematical and Physical Sciences** for supporting the development of this project.

## Citation

```bibtex
@dataset{espinriofrio2024ecuhate,
  author    = {Espin-Riofrio, César and Valencia-Moyano, Ignacio and Méndez-Vega, Allan},
  title     = {EcuHate-es: Ecuadorian Spanish Hate Speech Dataset},
  year      = {2024},
  publisher = {Hugging Face},
  url       = {https://huggingface.co/datasets/cespinr/EcuHate-es}
}
```

## License

[Creative Commons Attribution 4.0 International (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/) —
free to use for any purpose with attribution.