Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
parquet
Sub-tasks:
multi-label-classification
Languages:
German
Size:
1K - 10K
License:
File size: 5,595 Bytes
aecc4f0 8191b2d aecc4f0 8191b2d aecc4f0 8191b2d aecc4f0 8191b2d aecc4f0 8191b2d aecc4f0 8191b2d aecc4f0 8191b2d aecc4f0 8191b2d aecc4f0 8191b2d aecc4f0 | 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 144 145 146 147 148 149 150 151 152 153 154 155 156 | ---
license: other
task_categories:
- text-classification
task_ids:
- multi-label-classification
language:
- de
multilinguality:
- monolingual
size_categories:
- 1K<n<10K
pretty_name: POEMOGermanEmotionClassification
tags:
- poetry
- german
- emotion-classification
- aesthetic-emotions
- multi-label-classification
- line-level
- mteb
- poetrymteb
- embedding-evaluation
annotations_creators:
- expert-generated
source_datasets:
- tnhaider/poetry-emotion
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
- split: test
path: data/test-*
default: true
dataset_info:
- config_name: default
features:
- name: id
dtype: string
- name: title
dtype: string
- name: author
dtype: string
- name: year
dtype: string
- name: period
dtype: string
- name: poem
dtype: string
- name: labels
sequence: int64
- name: label_names
sequence: string
- name: source
dtype: string
splits:
- name: train
num_examples: 2494
- name: test
num_examples: 1070
---
# POEMOGermanEmotionClassification
Line-level **multi-label aesthetic emotion classification** for German poetry (PoetryMTEB), derived from [PO-EMO](https://github.com/tnhaider/poetry-emotion) (Haider et al., LREC 2020).
## Dataset Card
| Item | Description |
|------|-------------|
| **Source** | [tnhaider/poetry-emotion](https://github.com/tnhaider/poetry-emotion) |
| **Paper** | [PO-EMO: Conceptualization, Annotation, and Modeling of Aesthetic Emotions in German and English Poetry](http://www.romanklinger.de/publications/HaiderEgerKimKlingerMenninghaus2020LREC_PO-EMO.pdf) (LREC 2020) |
| **Languages** | German (`de`) |
| **Unit** | Verse **line** (`poem` field holds one line) |
| **Labels** | Up to **2** of 9 aesthetic emotions (multi-label) |
| **train** | Non-gold dual-annotator lines (union ≤2) **+** a poem-level subset of `XMLGold` moved so `Nostalgia` appears in train |
| **test** | Remaining `XMLGold` gold / adjudicated `emo1`/`emo2` |
| **Anti-leakage** | Gold poems matched in the complete TSV stay out of the dual-annotator train; no poem is split across train/test; train∩test line text = ∅ |
| **Size** | train=2494; test=1070 |
| **Evaluation metrics** | Multi-label classification on embeddings: **macro/micro F1**, **Average Precision (AP)** |
### Split anti-leakage checks
| Check | Result |
|-------|--------|
| Gold poems matched in complete TSV & removed from dual-annotator train | 47 poem_ids |
| Train ∩ test normalized line text | 0 |
| Train poems | 113 |
| Test poems | 42 |
| Gold poems moved to train (for Nostalgia coverage) | 6 poems / 38 Nostalgia lines |
## Label taxonomy (9)
| id | label_name | train | test | total |
|---:|------------|------:|-----:|------:|
| 0 | `Beauty/Joy` | 1036 | 267 | 1303 |
| 1 | `Sadness` | 611 | 172 | 783 |
| 2 | `Uneasiness` | 610 | 154 | 764 |
| 3 | `Vitality` | 439 | 166 | 605 |
| 4 | `Awe/Sublime` | 261 | 154 | 415 |
| 5 | `Suspense` | 265 | 151 | 416 |
| 6 | `Annoyance` | 120 | 168 | 288 |
| 7 | `Humor` | 184 | 74 | 258 |
| 8 | `Nostalgia` | 38 | 32 | 70 |
Codebook: `label_taxonomy.json`.
## Features
| Field | Type | Description |
|-------|------|-------------|
| `id` | string | Example id |
| `title` | string | Poem title |
| `author` | string | Poet |
| `year` | string | Publication year |
| `period` | string | Literary period (when available) |
| `poem` | string | **Line** text (classification input) |
| `labels` | list[int64] | Emotion class indices (0–8), length 1–2 |
| `label_names` | list[string] | Canonical emotion names |
| `source` | string | `dual_annotator_union` / `XMLGold_to_train` (train) or `XMLGold` (test) |
## Construction method
1. Parse `XMLGold/*.xml` TEI lines; take gold attributes `emo1` / `emo2` (normalize to the 9-class scheme).
2. **train (dual-annotator)**: read `tsv/poemo.german.complete.prodody.emotion.tsv`; union of `emotion{1,2}anno{1,2}`, drop `NONE`, cap at ≤2 (frequency-preferring). Exclude poems that fingerprint-match gold (exact or Jaccard ≥ 0.7) and any line text overlapping gold.
3. **Nostalgia coverage**: because non-gold train had **0** `Nostalgia` lines, move ~50% of Nostalgia-bearing **gold poems** (whole poem, seed=42) into train (`source=XMLGold_to_train`); the rest stay in test.
4. Drop lines with no remaining emotion labels.
## Citation
```bibtex
@inproceedings{Haider2020,
author = {Thomas Haider and Steffen Eger and Evgeny Kim and Roman Klinger and Winfried Menninghaus},
title = {{PO-EMO}: Conceptualization, Annotation, and Modeling of Aesthetic Emotions in {German} and {English} Poetry},
booktitle = {Proceedings of the 12th International Conference on Language Resources
and Evaluation (LREC'20)},
year = {2020},
editor = {Nicoletta Calzolari and Khalid Choukri and Thierry Declerck and Hrafn
Loftsson and Bente Maegaard and Joseph Mariani and Asuncion Moreno
and Jan Odijk and Stelios Piperidis},
address = {Marseille, France},
month = {May},
publisher = {European Language Resources Association (ELRA)},
date = {11-16},
language = {english},
url = {http://www.romanklinger.de/publications/HaiderEgerKimKlingerMenninghaus2020LREC_PO-EMO.pdf}
}
```
Upstream repository: https://github.com/tnhaider/poetry-emotion
## License
Follow the upstream [PO-EMO](https://github.com/tnhaider/poetry-emotion) repository terms for redistribution of the annotations and texts.
|