1602353775wzj commited on
Commit
6bef916
·
verified ·
1 Parent(s): aaf3bf3

docs: complete L1/L2 label inventories with EN/ZH glosses and counts

Browse files
Files changed (1) hide show
  1. README.md +157 -19
README.md CHANGED
@@ -95,23 +95,161 @@ Multi-label **poetry subject / theme classification** dataset for PoetryMTEB emb
95
 
96
  Full codebook: `label_taxonomy.json`.
97
 
98
- ### L1 codes
99
-
100
- | Code | Subject |
101
- |------|---------|
102
- | `S1` | Love |
103
- | `S2` | Nature |
104
- | `S3` | Social Commentaries |
105
- | `S4` | History & Politics |
106
- | `S5` | Religion |
107
- | `S6` | Living |
108
- | `S7` | Time & Brevity |
109
- | `S8` | Relationships |
110
- | `S9` | Activities |
111
- | `S10` | Arts & Sciences |
112
- | `S11` | Mythology & Folklore |
113
-
114
- L2 codes are `S{i}-{j}` where `j` is the child index under that L1 (see taxonomy file). Example: `Living/Health & Illness` → `S6-6` (index depends on Living child order).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
115
 
116
  ---
117
 
@@ -133,8 +271,8 @@ L2 codes are `S{i}-{j}` where `j` is the child index under that L1 (see taxonomy
133
 
134
  | Level | #label types | notes |
135
  |-------|-------------:|-------|
136
- | L1 | 11 | codes in use |
137
- | L2 | 71 | codes in use |
138
  | Avg L1 / poem | 2.55 | |
139
  | Avg L2 / poem | 2.27 | |
140
 
 
95
 
96
  Full codebook: `label_taxonomy.json`.
97
 
98
+ ## Label inventories (all splits pooled)
99
+
100
+ Hierarchical multi-label subjects. **L1** = coarse (`S{i}`); **L2** = fine (`S{i}-{j}` under parent L1).
101
+ Canonical names are English (as in the data / Poetry Foundation Topics). Chinese glosses are for readability only.
102
+ Counts = poem assignments across train+validation+test (a poem may carry multiple labels).
103
+
104
+ ### L1 (一级标签 / coarse subjects)
105
+
106
+ | Code | English | 中文 | count | #L2 children |
107
+ |------|---------|------|------:|-------------:|
108
+ | `S1` | Love | 爱情 | 2144 | 9 |
109
+ | `S2` | Nature | 自然 | 3655 | 10 |
110
+ | `S3` | Social Commentaries | 社会评论 | 4895 | 11 |
111
+ | `S4` | History & Politics | 历史与政治 | 1734 | 1 |
112
+ | `S5` | Religion | 宗教 | 1510 | 8 |
113
+ | `S6` | Living | 人生 / 生活 | 6488 | 8 |
114
+ | `S7` | Time & Brevity | 时间与短暂 | 1466 | 0 *(L1-only; no L2 leaves)* |
115
+ | `S8` | Relationships | 人际关系 | 4184 | 8 |
116
+ | `S9` | Activities | 活动 | 2175 | 7 |
117
+ | `S10` | Arts & Sciences | 艺术与科学 | 3628 | 10 |
118
+ | `S11` | Mythology & Folklore | 神话与民俗 | 827 | 4 |
119
+
120
+ ### L2 (二级标签 / fine subjects)
121
+
122
+ #### `S1` Love / 爱情
123
+
124
+ | Code | English (leaf) | 中文 | count |
125
+ |------|----------------|------|------:|
126
+ | `S1-1` | Desire & Erotic Love | 欲望与情欲之爱 | 733 |
127
+ | `S1-2` | Familial Love | 亲情之爱 | 0 |
128
+ | `S1-3` | Heartache & Loss | 心痛与失落 | 346 |
129
+ | `S1-4` | Infatuation & Crushes | 迷恋与暗恋 | 317 |
130
+ | `S1-5` | New Love | 新恋 | 51 |
131
+ | `S1-6` | Realistic & Complicated | 现实与复杂之爱 | 663 |
132
+ | `S1-7` | Romantic Love | 浪漫爱情 | 486 |
133
+ | `S1-8` | Classic Love | 经典爱情 | 123 |
134
+ | `S1-9` | Unrequited Love | 单恋 / 无望之爱 | 162 |
135
+
136
+ #### `S2` Nature / 自然
137
+
138
+ | Code | English (leaf) | 中文 | count |
139
+ |------|----------------|------|------:|
140
+ | `S2-1` | Spring | 春 | 140 |
141
+ | `S2-2` | Summer | 夏 | 185 |
142
+ | `S2-3` | Fall | 秋 | 138 |
143
+ | `S2-4` | Winter | 冬 | 268 |
144
+ | `S2-5` | Animals | 动物 | 1031 |
145
+ | `S2-6` | Bodies of Water | 水体 | 567 |
146
+ | `S2-7` | Landscapes & Pastorals | 风景与田园 | 832 |
147
+ | `S2-8` | Plants & Fungi | 植物与真菌 | 626 |
148
+ | `S2-9` | Stars, Moons, & Space | 星月与太空 | 263 |
149
+ | `S2-10` | Weather | 天气 | 306 |
150
+
151
+ #### `S3` Social Commentaries / 社会评论
152
+
153
+ | Code | English (leaf) | 中文 | count |
154
+ |------|----------------|------|------:|
155
+ | `S3-1` | Cities & Urban Life | 城市与都市生活 | 647 |
156
+ | `S3-2` | Class & Labor | 阶级与劳动 | 354 |
157
+ | `S3-3` | Environment | 环境 | 0 |
158
+ | `S3-4` | Gender & Sexuality | 性别与性 | 1199 |
159
+ | `S3-5` | Immigration | 移民 | 0 |
160
+ | `S3-6` | Incarceration & Justice | 监禁与司法 | 273 |
161
+ | `S3-7` | Popular Culture | 流行文化 | 345 |
162
+ | `S3-8` | Race & Ethnicity | 种族与族群 | 708 |
163
+ | `S3-9` | Rural & Country Life | 乡村生活 | 123 |
164
+ | `S3-10` | Technology | 技术 | 0 |
165
+ | `S3-11` | War & Conflict | 战争与冲突 | 1052 |
166
+
167
+ #### `S4` History & Politics / 历史与政治
168
+
169
+ | Code | English (leaf) | 中文 | count |
170
+ |------|----------------|------|------:|
171
+ | `S4-1` | Money & Economics | 金钱与经济 | 375 |
172
+
173
+ #### `S5` Religion / 宗教
174
+
175
+ | Code | English (leaf) | 中文 | count |
176
+ |------|----------------|------|------:|
177
+ | `S5-1` | Buddhism | 佛教 | 21 |
178
+ | `S5-2` | Christianity | 基督教 | 451 |
179
+ | `S5-3` | Faith & Doubt | 信仰与怀疑 | 357 |
180
+ | `S5-4` | God & the Divine | 神与神圣 | 446 |
181
+ | `S5-5` | Islam | 伊斯兰教 | 32 |
182
+ | `S5-6` | Judaism | 犹太教 | 95 |
183
+ | `S5-7` | Other Religions | 其他宗教 | 57 |
184
+ | `S5-8` | The Spiritual | 灵性 | 383 |
185
+
186
+ #### `S6` Living / 人生
187
+
188
+ | Code | English (leaf) | 中文 | count |
189
+ |------|----------------|------|------:|
190
+ | `S6-1` | Aging | 衰老 | 474 |
191
+ | `S6-2` | Birth & Infancy | 出生与婴儿 | 92 |
192
+ | `S6-3` | Coming of Age | 成长 / 成年 | 361 |
193
+ | `S6-4` | Death & Dying | 死亡 | 1543 |
194
+ | `S6-5` | Mourning | 哀悼 | 840 |
195
+ | `S6-6` | Health & Illness | 健康与疾病 | 404 |
196
+ | `S6-7` | Parenthood | 为人父母 | 500 |
197
+ | `S6-8` | Youth | 青春 | 155 |
198
+
199
+ #### `S7` Time & Brevity / 时间与短暂
200
+
201
+ No L2 leaves in this packaging. Poems may still carry L1 code `S7` (count=1466).
202
+
203
+ #### `S8` Relationships / 人际关系
204
+
205
+ | Code | English (leaf) | 中文 | count |
206
+ |------|----------------|------|------:|
207
+ | `S8-1` | Breakups & Separation | 分手与分离 | 381 |
208
+ | `S8-2` | Community | 社群 | 0 |
209
+ | `S8-3` | Family & Ancestors | 家庭与祖先 | 1344 |
210
+ | `S8-4` | Friendship | 友谊 | 443 |
211
+ | `S8-5` | Home Life | 家庭生活 | 596 |
212
+ | `S8-6` | LGBTQ+ | LGBTQ+ | 122 |
213
+ | `S8-7` | Marriage & Companionship | 婚姻与伴侣 | 377 |
214
+ | `S8-8` | Pets & Domestic Animals | 宠物与家畜 | 268 |
215
+
216
+ #### `S9` Activities / 活动
217
+
218
+ | Code | English (leaf) | 中文 | count |
219
+ |------|----------------|------|------:|
220
+ | `S9-1` | Eating & Drinking | 饮食 | 377 |
221
+ | `S9-2` | Gardening & Farming | 园艺与农耕 | 92 |
222
+ | `S9-3` | Indoor Activities | 室内活动 | 92 |
223
+ | `S9-4` | Jobs & Working | 工作 | 488 |
224
+ | `S9-5` | Sports & Outdoor Activities | 运动与户外 | 239 |
225
+ | `S9-6` | Study & Knowledge | 学习与知识 | 243 |
226
+ | `S9-7` | Travels & Journeys | 旅行与旅途 | 813 |
227
+
228
+ #### `S10` Arts & Sciences / 艺术与科学
229
+
230
+ | Code | English (leaf) | 中文 | count |
231
+ |------|----------------|------|------:|
232
+ | `S10-1` | Architecture & Design | 建筑与设计 | 85 |
233
+ | `S10-2` | Language & Linguistics | 语言与语言学 | 503 |
234
+ | `S10-3` | Music | 音乐 | 374 |
235
+ | `S10-4` | Painting & Sculpture | 绘画与雕塑 | 258 |
236
+ | `S10-5` | Philosophy | 哲学 | 912 |
237
+ | `S10-6` | Poetry & Poets | 诗歌与诗人 | 1071 |
238
+ | `S10-7` | Photography & Film | 摄影与电影 | 112 |
239
+ | `S10-8` | Reading & Books | 阅读与书籍 | 402 |
240
+ | `S10-9` | Sciences | 科学 | 143 |
241
+ | `S10-10` | Theater & Dance | 戏剧与舞蹈 | 100 |
242
+
243
+ #### `S11` Mythology & Folklore / 神话与民俗
244
+
245
+ | Code | English (leaf) | 中文 | count |
246
+ |------|----------------|------|------:|
247
+ | `S11-1` | Fairy-tales & Legends | 童话与传说 | 126 |
248
+ | `S11-2` | Ghosts & the Supernatural | 鬼魂与超自然 | 127 |
249
+ | `S11-3` | Greek & Roman Mythology | 希腊罗马神话 | 200 |
250
+ | `S11-4` | Heroes & Patriotism | 英雄与爱国 | 301 |
251
+
252
+ > **Note.** Taxonomy defines **76** L2 codes; **71** appear at least once in this release. Zero-count leaves (`S1-2`, `S3-3`, `S3-5`, `S3-10`, `S8-2`) remain in the codebook for alignment with Poetry Foundation Topics but are unused after filtering/aliasing.
253
 
254
  ---
255
 
 
271
 
272
  | Level | #label types | notes |
273
  |-------|-------------:|-------|
274
+ | L1 | 11 | all codes in use |
275
+ | L2 | 76 defined / **71** in use | 5 taxonomy leaves have count=0 |
276
  | Avg L1 / poem | 2.55 | |
277
  | Avg L2 / poem | 2.27 | |
278