File size: 4,591 Bytes
4ed3fa6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: cc-by-sa-4.0
task_categories:
- text-classification
task_ids:
- multi-class-classification
language:
- en
- de
- es
- cs
multilinguality:
- multilingual
size_categories:
- 10K<n<100K
pretty_name: Multilingual Poetry Meter Classification
tags:
- poetry
- meter-classification
- prosody
- multilingual
- text-classification
- mteb
- poetrymteb
- embedding-evaluation
annotations_creators:
- found
source_datasets:
- riazhsks/multilingual-annotated-poems
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: poem
    dtype: string
  - name: title
    dtype: string
  - name: author
    dtype: string
  - name: language
    dtype: string
  - name: label
    dtype: int64
  - name: label_name
    dtype: string
  splits:
  - name: train
    num_examples: 24464
  - name: test
    num_examples: 6114
---


# Multilingual Poetry Meter Classification

Multilingual **metrical foot classification** for PoetryMTEB embedding evaluation, built from EN/DE/ES/CS corpora with full text in [multilingual-annotated-poems](https://github.com/riazhsks/multilingual-annotated-poems).

Hungarian and modern Czech (C3P) standalone annotation files are excluded (no poem text in-repo).

## Dataset Card

| Item | Description |
|------|-------------|
| **Source** | [https://github.com/riazhsks/multilingual-annotated-poems](https://github.com/riazhsks/multilingual-annotated-poems) English / German / Spanish / CCV JSONL |
| **Languages** | `en`, `de`, `es`, `cs` |
| **Size** | train=24464; test=6114 (no validation) |
| **Classes** | 7 meters with frequency ≥ 10 (after per-language cap) |
| **Filtering** | Valid `metrical_foot`; drop noisy tags (`s`/`c`/`single`/…); length ∈ [40, 8000]; ≤10000 poems / language (stratified by meter) |
| **Splits** | Stratified by `language×meter` ≈ 80% / 19%, seed=42 |
| **License** | [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) |
| **Dataset version** | `1.0.0` |
| **Evaluation metrics** | **accuracy**, **macro/weighted F1** |

## Features

| Field | Type | Description |
|-------|------|-------------|
| `id` | string | Example id |
| `poem` | string | Poem text |
| `title` | string | Title |
| `author` | string | Author |
| `language` | string | `en` / `de` / `es` / `cs` |
| `label` | int64 | Meter class index |
| `label_name` | string | Metrical foot (e.g. `iambic`) |

### Language distribution

| language | train | test | total |
|----------|------:|-----:|------:|
| `en` | 1067 | 267 | 1334 |
| `de` | 7995 | 1998 | 9993 |
| `es` | 7402 | 1849 | 9251 |
| `cs` | 8000 | 2000 | 10000 |

### Label inventory (kept)

| id | label_name | gloss | train | test | total |

|---:|------------|-------|------:|-----:|------:|

| 0 | `iambic` | Iambic (抑扬格) | 14785 | 3696 | 18481 |

| 1 | `trochaic` | Trochaic (扬抑格) | 4375 | 1094 | 5469 |

| 2 | `polymetric` | Polymetric / mixed (多格律) | 4326 | 1081 | 5407 |

| 3 | `dactylic` | Dactylic (扬抑抑格) | 514 | 127 | 641 |

| 4 | `anapestic` | Anapestic (抑抑扬格) | 317 | 79 | 396 |

| 5 | `amphibrachic` | Amphibrachic (抑扬抑格) | 136 | 34 | 170 |

| 6 | `hexameter` | Hexameter (六音步) | 11 | 3 | 14 |



### Dropped / unused meters (examples)



| meter | count |

|-------|------:|

| sapphicusminor | 2 |

| prosodiakos | 2 |

| pherekrateus | 1 |

| elegiambus | 1 |

| glykoneus | 1 |



## Construction method



1. Load EN/DE/ES/CCV JSONL with `text` + `metrical_foot`.
2. Normalize meters; drop invalid/noisy tags; length-filter.
3. Cap each language at 10000 (stratified by meter) for balance.
4. Keep meters with ≥ 10 examples; assign frequency-descending ids.
5. Stratified train/test by language×meter.

## How to load

```python

from datasets import load_dataset



ds = load_dataset("PoetryMTEB/MultilingualPoetryMeterClassification")

print(ds["test"][0]["language"], ds["test"][0]["label_name"])

```

## Citation

```bibtex

@misc{riazhsks_multilingual_annotated_poems,

  title={Multilingual Annotated Poems},

  author={riazhsks},

  year={2025},

  url={https://github.com/riazhsks/multilingual-annotated-poems}

}

```

Also cite the upstream corpora used in that repository (CCV, DLK, Spanish sonnet corpora, poetry-eval) as appropriate.

Hub packaging: `PoetryMTEB/MultilingualPoetryMeterClassification` (v1.0.0).