1602353775wzj commited on
Commit
457c798
·
verified ·
1 Parent(s): 09ff47a

Add Bengali Poems Classification dataset (train/validation/test split 6:2:2)

Browse files
README.md CHANGED
@@ -1,3 +1,119 @@
1
  ---
2
- license: cc-by-4.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ dataset_info:
3
+ features:
4
+ - name: id
5
+ dtype: string
6
+ - name: poet
7
+ dtype: string
8
+ - name: title
9
+ dtype: string
10
+ - name: class
11
+ dtype: string
12
+ - name: text
13
+ dtype: string
14
+ - name: source_url
15
+ dtype: string
16
+ splits:
17
+ - name: train
18
+ num_bytes: 4114667
19
+ num_examples: 3642
20
+ - name: validation
21
+ num_bytes: 1349684
22
+ num_examples: 1214
23
+ - name: test
24
+ num_bytes: 1384384
25
+ num_examples: 1214
26
+ download_size: 0
27
+ dataset_size: 6848735
28
+ configs:
29
+ - config_name: default
30
+ data_files:
31
+ - split: train
32
+ path: train-*.parquet
33
+ - split: validation
34
+ path: validation-*.parquet
35
+ - split: test
36
+ path: test-*.parquet
37
  ---
38
+
39
+ # Bengali Poems Classification
40
+
41
+ This dataset contains Bengali poems with genre classification labels. The dataset includes 6,070 poems from 137 poets, categorized into 21 classes.
42
+
43
+ ## Dataset Information
44
+
45
+ - **Number of poets**: 137
46
+ - **Total number of poems**: 6,070
47
+ - **Number of classes**: 21
48
+ - **Train/Validation/Test split**: 6:2:2 (stratified by class)
49
+
50
+ ## Data Format
51
+
52
+ The dataset is stored in Parquet format with the following fields:
53
+
54
+ - `id`: Unique identifier
55
+ - `poet`: Poet name
56
+ - `title`: Poem title
57
+ - `class`: Poem class/genre (e.g., "ভক্তিমূলক", "প্রেম/ইরোটিক", etc.)
58
+ - `text`: Poem text content
59
+ - `source_url`: Source URL (if available)
60
+
61
+ ## Poem Classes
62
+
63
+ The dataset includes 21 poem classes. Some of the main classes include:
64
+ - Love/Erotic (প্রেম/ইরোটিক)
65
+ - Reflective (চিন্তাশীল)
66
+ - Humanism (মানবতা)
67
+ - Sonnet (সনেট)
68
+ - Devotional (ভক্তিমূলক)
69
+ - Allegory (রূপক)
70
+ - Nature (প্রকৃতি)
71
+ - Rhymes (ছড়া)
72
+ - Patriotic (দেশপ্রেমমূলক)
73
+ - And more...
74
+
75
+ ## Train/Validation/Test Split
76
+
77
+ The dataset is split into:
78
+ - **Training set**: 60% of the data
79
+ - **Validation set**: 20% of the data
80
+ - **Test set**: 20% of the data
81
+
82
+ The split is performed with stratified sampling based on poem classes to ensure balanced distribution across all splits.
83
+
84
+ ## Citation
85
+
86
+ If you use this dataset, please cite:
87
+
88
+ ```
89
+ @inproceedings{10.1145/3582768.3582788,
90
+ author = {Shuhan, Mirza Kamrul Bashar and Dey, Rupasree and Saha, Sourav and Anjum, Md Shafa Ul and Zaman, Tarannum Shaila},
91
+ title = {A Stylometric Dataset for Bengali Poems},
92
+ year = {2023},
93
+ isbn = {9781450397629},
94
+ publisher = {Association for Computing Machinery},
95
+ address = {New York, NY, USA},
96
+ url = {https://doi.org/10.1145/3582768.3582788},
97
+ doi = {10.1145/3582768.3582788},
98
+ booktitle = {Proceedings of the 2022 6th International Conference on Natural Language Processing and Information Retrieval},
99
+ pages = {176–180},
100
+ numpages = {5},
101
+ keywords = {Bengali Poems, Corpora, Datasets, Language Resources, Natural Language Processing, Stylometric Datasets},
102
+ location = {Bangkok, Thailand},
103
+ series = {NLPIR '22}
104
+ }
105
+ ```
106
+
107
+ ## Source
108
+
109
+ The original dataset can be found at: https://github.com/shuhanmirza/Bengali-Poem-Dataset
110
+
111
+ ## Original Dataset Structure
112
+
113
+ The original dataset has a three-level directory structure:
114
+ - **Level 1**: Poet name (poet directory)
115
+ - **Level 2**: Poem title (poem directory)
116
+ - **Level 3**: Three text files:
117
+ - `CLASS.txt`: Poem class/genre
118
+ - `SOURCE.txt`: Source URL and timestamp
119
+ - `{title}.txt`: Poem text content
dataset_infos.yaml ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_info:
2
+ features:
3
+ - name: id
4
+ dtype: string
5
+ - name: poet
6
+ dtype: string
7
+ - name: title
8
+ dtype: string
9
+ - name: class
10
+ dtype: string
11
+ - name: text
12
+ dtype: string
13
+ - name: source_url
14
+ dtype: string
15
+ splits:
16
+ - name: train
17
+ num_bytes: 4114667
18
+ num_examples: 3642
19
+ - name: validation
20
+ num_bytes: 1349684
21
+ num_examples: 1214
22
+ - name: test
23
+ num_bytes: 1384384
24
+ num_examples: 1214
25
+ download_size: 0
26
+ dataset_size: 6848735
27
+ configs:
28
+ - config_name: default
29
+ data_files:
30
+ - split: train
31
+ path: train-*.parquet
32
+ - split: validation
33
+ path: validation-*.parquet
34
+ - split: test
35
+ 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:8c30a0488faa8c1f8af0cb40f84aa86c4ecc275fe5aa98129a6b4d56f4372a69
3
+ size 1384384
train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f85b1f8abd184414cbba31311d98ba5763de6042e23eb72ac59740d33685230c
3
+ size 4114667
validation-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:389e1ed6f888d517c32f88c9c343a479032e7748819efebb00f837b8b7ba05a5
3
+ size 1349684