File size: 3,922 Bytes
5e8632e
 
95fba86
 
 
 
5e8632e
95fba86
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
license: mit
language:
- ja
size_categories:
- 10K<n<100K
---

# Dataset Card for Modern Haiku Dataset

### Dataset Summary

Modern Haiku Dataset is a haiku (俳句) dataset that collected from [modern haiku association](https://gendaihaiku.gr.jp/)'s databse ([link](https://haiku-data.jp/index.php)).

## Dataset Structure

### Data Instances

#### all

```py
from datasets import load_dataset, DatasetDict

dataset = load_dataset(
    "p1atdev/modern_haiku",
)

if not isinstance(dataset, DatasetDict):
    raise TypeError("dataset is not DatasetDict")

print(dataset)
# DatasetDict({
#     train: Dataset({
#         features: ['id', 'haiku', 'author', 'foreword', 'source', 'comment', 'reviewer', 'note', 'season', 'kigo'],
#         num_rows: 37158
#     })
# })
```

An example of the dataset looks as follows:

```json
{
   "id":1,
   "haiku":"朝霧の中に九段のともし哉",
   "author":"正岡子規",
   "foreword":null,
   "source":"寒山落木",
   "comment":null,
   "reviewer":null,
   "note":null,
   "season":"autumn",
   "kigo":{
      "id":1418,
      "word":"霧",
      "kana":"きり",
      "old_kana":null,
      "season":"autumn",
      "subtitle":[
         "朝霧",
         "夕霧",
         ...
      ]
   }
}
```

#### spring, summer, autumn, winter

These subsets are narrowed down to those that contain the seasonal words for each season.

The "none" subset contains haiku that do not contain seasonal words.

An example of "winter" subset looks as follows:

```json
{
   "id":528,
   "haiku":"磯鷲はかならず巌にとまりけり",
   "author":"原石鼎",
   "foreword":null,
   "source":"花影",
   "comment":null,
   "reviewer":null,
   "note":null,
   "kigo":{
      "id":2265,
      "word":"鷲",
      "kana":"わし",
      "old_kana":null,
      "season":"winter",
      "subtitle":[]
   }
}
```

#### kigo

This subset is a dataset of seasonal words that are used in at least one haiku.

An example of the subset looks as follows:

```json
{
   "id":1628,
   "word":"法師蟬",
   "kana":"ほうしぜみ",
   "old_kana":"ほふしぜみ",
   "season":"autumn",
   "subtitle":[
      "つくつく法師",
      "つくつくし",
      "寒蟬"
   ]
}
```

### Data Fields

- `id`: ID number of the haiku.
- `haiku`: Text of the haiku.
- `author`: Name of the author of the haiku.
- `foreword`: Unknown. Nullable.
- `source`: Name of the source document of the haiku. Nullable.
- `comment`: Comment about the haiku by `reviewer`. Nullable.
- `reviewer`: Name of the reviewer who made the comment. Nullable.
- `note`: Note about the haiku. Nullable.
- `season`: The season of the haiku. If the haiku has no seasonal word, this will be `none'.
- `kigo`: The seasonal word, when the haiku has.
  - `id`: ID number of the word.
  - `word`: The seasonal word.
  - `kana`: Pronunciation of the word.
  - `old_kana`: Pronunciation of the word in old hiragana version. Nullable.
  - `season`: The season of the word.
  - `subtitle`: Other name of the word.

## Dataset Creation

### Source Data

#### Initial Data Collection and Normalization

By [Modern Haiku Association](https://gendaihaiku.gr.jp/).

#### Who are the source language producers?

[More Information Needed]

### Annotations

#### Annotation process

[More Information Needed]

#### Who are the annotators?

[More Information Needed]

### Personal and Sensitive Information

[More Information Needed]

## Considerations for Using the Data

### Social Impact of Dataset

[More Information Needed]

### Discussion of Biases

[More Information Needed]

### Other Known Limitations

[More Information Needed]

## Additional Information

[俳句データベース解説](https://haiku-data.jp/data.php)

### Dataset Curators

[More Information Needed]

### Licensing Information

[More Information Needed]

### Citation Information

[More Information Needed]

### Contributions

[More Information Needed]