Add Kurdish Poetry Meter Classification dataset (train/validation/test split 6:2:2, meters with >=10 poems)
Browse files- README.md +113 -1
- dataset_infos.yaml +37 -0
- test-00000-of-00001.parquet +3 -0
- train-00000-of-00001.parquet +3 -0
- validation-00000-of-00001.parquet +3 -0
README.md
CHANGED
|
@@ -1,3 +1,115 @@
|
|
| 1 |
---
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
dataset_info:
|
| 3 |
+
features:
|
| 4 |
+
- name: id
|
| 5 |
+
dtype: string
|
| 6 |
+
- name: poet
|
| 7 |
+
dtype: string
|
| 8 |
+
- name: poem_number
|
| 9 |
+
dtype: string
|
| 10 |
+
- name: title
|
| 11 |
+
dtype: string
|
| 12 |
+
- name: form
|
| 13 |
+
dtype: string
|
| 14 |
+
- name: meter
|
| 15 |
+
dtype: string
|
| 16 |
+
- name: text
|
| 17 |
+
dtype: string
|
| 18 |
+
splits:
|
| 19 |
+
- name: train
|
| 20 |
+
num_bytes: 582403
|
| 21 |
+
num_examples: 624
|
| 22 |
+
- name: validation
|
| 23 |
+
num_bytes: 186694
|
| 24 |
+
num_examples: 208
|
| 25 |
+
- name: test
|
| 26 |
+
num_bytes: 188966
|
| 27 |
+
num_examples: 209
|
| 28 |
+
download_size: 4337280
|
| 29 |
+
dataset_size: 958063
|
| 30 |
+
configs:
|
| 31 |
+
- config_name: default
|
| 32 |
+
data_files:
|
| 33 |
+
- split: train
|
| 34 |
+
path: train-*.parquet
|
| 35 |
+
- split: validation
|
| 36 |
+
path: validation-*.parquet
|
| 37 |
+
- split: test
|
| 38 |
+
path: test-*.parquet
|
| 39 |
---
|
| 40 |
+
|
| 41 |
+
# Kurdish Poetry Meter Classification
|
| 42 |
+
|
| 43 |
+
This dataset contains Central Kurdish poems with meter classification labels. The dataset includes poems from vejinbooks.com, prepared by AsoSoft group.
|
| 44 |
+
|
| 45 |
+
## Dataset Information
|
| 46 |
+
|
| 47 |
+
- **Language**: Central Kurdish (ckb)
|
| 48 |
+
- **Total poems**: 1041
|
| 49 |
+
- **Number of meters (after filtering)**: 15 (only meters with >=10 poems)
|
| 50 |
+
- **Train/Validation/Test split**: 6:2:2 (stratified by meter)
|
| 51 |
+
|
| 52 |
+
## Data Format
|
| 53 |
+
|
| 54 |
+
The dataset is stored in Parquet format with the following fields:
|
| 55 |
+
|
| 56 |
+
- `id`: Unique identifier
|
| 57 |
+
- `poet`: Poet name (extracted from filename, e.g., "Diɫdar", "Ḧacî Qadir")
|
| 58 |
+
- `poem_number`: Poem number (extracted from filename, e.g., "001", "018")
|
| 59 |
+
- `title`: Poem title (usually same as the first hemistich)
|
| 60 |
+
- `form`: Form of the poem (e.g., غەزەل, مەسنەوی, نوێ)
|
| 61 |
+
- `meter`: Meter pattern of the poem (e.g., مفاعیلن مفاعیلن مفاعیلن مفاعیلن)
|
| 62 |
+
- `text`: Poem text content (with # separator removed, newlines preserved)
|
| 63 |
+
|
| 64 |
+
## Filtering Criteria
|
| 65 |
+
|
| 66 |
+
- Only poems with meters that have at least 10 poems are included
|
| 67 |
+
- Format validation: Only files with correct format (title:, form:, meter: prefixes) are included
|
| 68 |
+
- Poems must have more than 5 lines (more than 2 couplets)
|
| 69 |
+
|
| 70 |
+
## Train/Validation/Test Split
|
| 71 |
+
|
| 72 |
+
The dataset is split into:
|
| 73 |
+
- **Training set**: 60% of the data
|
| 74 |
+
- **Validation set**: 20% of the data
|
| 75 |
+
- **Test set**: 20% of the data
|
| 76 |
+
|
| 77 |
+
The split is performed with stratified sampling based on meter classes to ensure balanced distribution across all splits.
|
| 78 |
+
|
| 79 |
+
## Original Data Format
|
| 80 |
+
|
| 81 |
+
In the original files, each poem is stored as:
|
| 82 |
+
- Line 1: `title: ...` (Title of the poem)
|
| 83 |
+
- Line 2: `form: ...` (Form of the poem)
|
| 84 |
+
- Line 3: `meter: ...` (Meter pattern)
|
| 85 |
+
- Line 4+: Poem text (with # as couplet separator)
|
| 86 |
+
|
| 87 |
+
## Source
|
| 88 |
+
|
| 89 |
+
The original dataset was collected from vejinbooks.com by AsoSoft group. This dataset was used for evaluation of an automatic Kurdish poem meter identification method based on Optimality theory.
|
| 90 |
+
|
| 91 |
+
Prepared by: Aso Mahmudi (aso.mehmudi@gmail.com)
|
| 92 |
+
|
| 93 |
+
## Citation
|
| 94 |
+
|
| 95 |
+
If you use this dataset, please cite the following paper:
|
| 96 |
+
|
| 97 |
+
```
|
| 98 |
+
Mahmudi A, Veisi H (2023) Automatic meter classification of Kurdish poems.
|
| 99 |
+
PLOS ONE 18(2): e0280263. https://doi.org/10.1371/journal.pone.0280263
|
| 100 |
+
```
|
| 101 |
+
|
| 102 |
+
BibTeX format:
|
| 103 |
+
```bibtex
|
| 104 |
+
@article{mahmudi2023automatic,
|
| 105 |
+
title={Automatic meter classification of Kurdish poems},
|
| 106 |
+
author={Mahmudi, Aso and Veisi, Hadi},
|
| 107 |
+
journal={PLOS ONE},
|
| 108 |
+
volume={18},
|
| 109 |
+
number={2},
|
| 110 |
+
pages={e0280263},
|
| 111 |
+
year={2023},
|
| 112 |
+
publisher={Public Library of Science San Francisco, CA USA},
|
| 113 |
+
doi={10.1371/journal.pone.0280263}
|
| 114 |
+
}
|
| 115 |
+
```
|
dataset_infos.yaml
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_info:
|
| 2 |
+
features:
|
| 3 |
+
- name: id
|
| 4 |
+
dtype: string
|
| 5 |
+
- name: poet
|
| 6 |
+
dtype: string
|
| 7 |
+
- name: poem_number
|
| 8 |
+
dtype: string
|
| 9 |
+
- name: title
|
| 10 |
+
dtype: string
|
| 11 |
+
- name: form
|
| 12 |
+
dtype: string
|
| 13 |
+
- name: meter
|
| 14 |
+
dtype: string
|
| 15 |
+
- name: text
|
| 16 |
+
dtype: string
|
| 17 |
+
splits:
|
| 18 |
+
- name: train
|
| 19 |
+
num_bytes: 582403
|
| 20 |
+
num_examples: 624
|
| 21 |
+
- name: validation
|
| 22 |
+
num_bytes: 186694
|
| 23 |
+
num_examples: 208
|
| 24 |
+
- name: test
|
| 25 |
+
num_bytes: 188966
|
| 26 |
+
num_examples: 209
|
| 27 |
+
download_size: 4337280
|
| 28 |
+
dataset_size: 958063
|
| 29 |
+
configs:
|
| 30 |
+
- config_name: default
|
| 31 |
+
data_files:
|
| 32 |
+
- split: train
|
| 33 |
+
path: train-*.parquet
|
| 34 |
+
- split: validation
|
| 35 |
+
path: validation-*.parquet
|
| 36 |
+
- split: test
|
| 37 |
+
path: test-*.parquet
|
test-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e05b19b8fba2b2b604b570b917c7364595890388735cc83f3fc86c6e0c226cfe
|
| 3 |
+
size 188966
|
train-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9a531dfc888e14afc7ae29ddea7caa248b05c300a7bd44e81b438da70cc272cd
|
| 3 |
+
size 582403
|
validation-00000-of-00001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3a60e2d61554a52c758dd7a1a02a7739fa445c5a796364e29a57bf3c3e8929cc
|
| 3 |
+
size 186694
|