task_categories:text-generation size_categories:10K<n<100K language:ja license:mit haiku region:us
This new dataset is designed to solve this great NLP task and is crafted with a lot of care.
---
license: mit
language:
- ja
size_categories:
- 10K<n<100K
task_categories:
- text-generation
tags:
- haiku
---

# 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]