File size: 5,039 Bytes
edc202e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
{
  "description": "Form codebook for EnglishPoetryFormClassification",
  "source": "https://github.com/riazhsks/multilingual-annotated-poems",
  "min_count": 10,
  "filtering": {
    "n_raw": 1453,
    "n_no_form": 0,
    "n_candidates_after_length_filter": 1372,
    "n_no_text": 0,
    "n_length_filtered": 81,
    "n_rare_label_rows": 21,
    "n_kept": 1351,
    "min_count": 10,
    "max_chars": 8000,
    "min_chars": 40,
    "dropped_labels": [
      [
        "limerick",
        6
      ],
      [
        "concrete or pattern poetry",
        5
      ],
      [
        "aubade",
        3
      ],
      [
        "sestina",
        3
      ],
      [
        "ghazal",
        2
      ],
      [
        "villanelle",
        1
      ],
      [
        "pantoum",
        1
      ]
    ],
    "filtered_label_counts": {
      "ghazal": 2,
      "sonnet": 585,
      "couplet": 275,
      "dramatic monologue": 41,
      "elegy": 61,
      "ballad": 63,
      "blank verse": 43,
      "common measure": 69,
      "pastoral": 36,
      "aubade": 3,
      "ode": 42,
      "free verse": 49,
      "concrete or pattern poetry": 5,
      "ekphrasis": 10,
      "haiku": 16,
      "prose poem": 38,
      "quatrain": 13,
      "limerick": 6,
      "ars poetica": 10,
      "sestina": 3,
      "villanelle": 1,
      "pantoum": 1
    },
    "kept_labels": [
      [
        "sonnet",
        585
      ],
      [
        "couplet",
        275
      ],
      [
        "common measure",
        69
      ],
      [
        "ballad",
        63
      ],
      [
        "elegy",
        61
      ],
      [
        "free verse",
        49
      ],
      [
        "blank verse",
        43
      ],
      [
        "ode",
        42
      ],
      [
        "dramatic monologue",
        41
      ],
      [
        "prose poem",
        38
      ],
      [
        "pastoral",
        36
      ],
      [
        "haiku",
        16
      ],
      [
        "quatrain",
        13
      ],
      [
        "ekphrasis",
        10
      ],
      [
        "ars poetica",
        10
      ]
    ]
  },
  "split": {
    "method": "stratified-by-form",
    "train_ratio": 0.8,
    "seed": 42,
    "sizes": {
      "train": 1080,
      "test": 271
    }
  },
  "labels": {
    "names": [
      "sonnet",
      "couplet",
      "common measure",
      "ballad",
      "elegy",
      "free verse",
      "blank verse",
      "ode",
      "dramatic monologue",
      "prose poem",
      "pastoral",
      "haiku",
      "quatrain",
      "ekphrasis",
      "ars poetica"
    ],
    "name2id": {
      "sonnet": 0,
      "couplet": 1,
      "common measure": 2,
      "ballad": 3,
      "elegy": 4,
      "free verse": 5,
      "blank verse": 6,
      "ode": 7,
      "dramatic monologue": 8,
      "prose poem": 9,
      "pastoral": 10,
      "haiku": 11,
      "quatrain": 12,
      "ekphrasis": 13,
      "ars poetica": 14
    },
    "counts": {
      "sonnet": 585,
      "couplet": 275,
      "common measure": 69,
      "ballad": 63,
      "elegy": 61,
      "free verse": 49,
      "blank verse": 43,
      "ode": 42,
      "dramatic monologue": 41,
      "prose poem": 38,
      "pastoral": 36,
      "haiku": 16,
      "quatrain": 13,
      "ekphrasis": 10,
      "ars poetica": 10
    },
    "n_classes": 15,
    "gloss": {
      "sonnet": "Sonnet (十四行)",
      "couplet": "Couplet (对句)",
      "common measure": "Common measure (通用格)",
      "ballad": "Ballad (民谣体)",
      "elegy": "Elegy (挽歌)",
      "free verse": "Free verse (自由诗)",
      "blank verse": "Blank verse (无韵诗)",
      "ode": "Ode (颂歌)",
      "dramatic monologue": "Dramatic monologue (戏剧独白)",
      "prose poem": "Prose poem (散文诗)",
      "pastoral": "Pastoral (牧歌)",
      "haiku": "Haiku (俳句)",
      "quatrain": "Quatrain (四行)",
      "ekphrasis": "Ekphrasis (艺格敷词)",
      "ars poetica": "Ars poetica (诗艺)"
    },
    "split_counts": {
      "train": {
        "couplet": 220,
        "ekphrasis": 8,
        "dramatic monologue": 33,
        "ballad": 50,
        "sonnet": 468,
        "quatrain": 10,
        "elegy": 49,
        "blank verse": 34,
        "pastoral": 29,
        "ode": 34,
        "prose poem": 30,
        "free verse": 39,
        "common measure": 55,
        "haiku": 13,
        "ars poetica": 8
      },
      "test": {
        "sonnet": 117,
        "common measure": 14,
        "ekphrasis": 2,
        "couplet": 55,
        "blank verse": 9,
        "ars poetica": 2,
        "pastoral": 7,
        "ballad": 13,
        "dramatic monologue": 8,
        "ode": 8,
        "elegy": 12,
        "free verse": 10,
        "haiku": 3,
        "prose poem": 8,
        "quatrain": 3
      }
    }
  }
}