File size: 3,849 Bytes
2438ae6
b01a83a
38d7a23
4124329
 
38d7a23
4124329
38d7a23
4124329
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38d7a23
4124329
 
38d7a23
4124329
 
 
 
 
 
 
38d7a23
4124329
 
38d7a23
4124329
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38d7a23
4124329
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38d7a23
4124329
 
 
 
 
 
 
 
38d7a23
4124329
 
 
 
 
 
 
38d7a23
4124329
 
 
 
 
 
 
 
 
38d7a23
4124329
38d7a23
 
4124329
38d7a23
4124329
 
 
 
 
 
 
 
 
 
38d7a23
4124329
 
 
 
 
 
 
 
 
 
38d7a23
4124329
 
38d7a23
 
4124329
 
 
 
38d7a23
4124329
38d7a23
4124329
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38d7a23
6830c9d
 
f054e60
 
6830c9d
13ad1ce
 
 
 
 
 
b6c421b
 
 
 
 
2438ae6
38d7a23
1735e76
38d7a23
95770c0
 
 
 
1e4016a
 
 
 
95770c0
38d7a23
1e4016a
c18b37e
1735e76
 
2bf5159
38d7a23
 
 
 
 
 
 
 
2bf5159
38d7a23
 
 
 
 
0ca471a
 
 
 
38d7a23
 
b3d5340
 
 
 
 
 
38d7a23
 
 
 
 
 
 
0f6d0e2
38d7a23
 
 
 
 
 
 
 
 
 
 
 
 
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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
---
license: cc
language:
- ach
- ada
- adh
- aeb
- afr
- alz
- amh
- anu
- ara
- asm
- bem
- ben
- bod
- bxk
- cat
- cce
- ckb
- crk
- csw
- ctu
- dag
- dan
- deu
- dga
- din
- dje
- ell
- eng
- epo
- ewe
- fas
- fat
- fra
- ful
- gaa
- gjn
- guj
- gur
- guz
- gyn
- hat
- hau
- hbs
- hch
- her
- hin
- hun
- hus
- ind
- ita
- jam
- jpn
- kam
- kan
- kau
- kdj
- keo
- khm
- kik
- kin
- kln
- kmr
- kok
- koo
- kor
- kpz
- kqn
- kri
- kru
- ktz
- kua
- kwn
- laj
- lat
- lgg
- lin
- lit
- lko
- loz
- lsm
- luc
- lue
- lug
- lun
- luo
- lwg
- mal
- mar
- mas
- mat
- maz
- mer
- mfe
- mhi
- mhw
- miu
- mlg
- mmc
- mnw
- mqu
- msa
- mya
- myx
- naq
- nbl
- nch
- ndo
- nep
- nhe
- nhw
- nld
- nle
- nno
- nob
- nor
- nso
- nuj
- nya
- nyn
- nyu
- nzi
- ocu
- old
- ori
- orm
- pan
- pcm
- pmq
- pol
- por
- prs
- pus
- rki
- ron
- rus
- sag
- san
- saq
- sck
- sme
- som
- sot
- spa
- sqi
- srp
- ssw
- swa
- swe
- tam
- tel
- teo
- tet
- tgl
- tha
- tir
- toh
- toi
- tsc
- tsn
- tso
- ttj
- tum
- tur
- tuv
- twi
- ukr
- urd
- ven
- vie
- xho
- xog
- xsm
- yor
- yua
- yue
- zho
- zne
- zul
pretty_name: GlotStoryBook Corpus
tags:
- storybook
- book
- story
- language-identification

configs:
  - config_name: default
    data_files:
      - split: train
        path: GlotStoryBook.csv
  - config_name: nalibali
    data_files:
      - split: train
        path: nalibali.csv

---

## Dataset Description

Story Books for 180 ISO-639-3 codes.
A Machine Translation (MT) version of this dataset is also provided in [cis-lmu/GlotStoryBook-MT](https://huggingface.co/datasets/cis-lmu/GlotStoryBook-MT).

This dataset consisted of 4 publishers:
1. asp: [African Storybook](https://africanstorybook.org)
2. pb: [Pratham Books](https://prathambooks.org/)
3. lcb: [Little Cree Books](http://littlecreebooks.com/)
4. lida: [LIDA Stories](https://lidastories.net/)


- **GitHub Repository:** [github](https://github.com/cisnlp/GlotStoryBook)
- **Paper:** [paper](https://arxiv.org/abs/2310.16248)
- **Point of Contact:** [email protected]


## Usage (HF Loader)
```python
from datasets import load_dataset
dataset = load_dataset('cis-lmu/GlotStoryBook')
print(dataset['train'][0]) # First row data
```

## Download
If you are not a fan of the HF dataloader, download it directly:

```python
! wget https://huggingface.co/datasets/cis-lmu/GlotStoryBook/resolve/main/GlotStoryBook.csv
```

# Tools

To compute the script of each text we used Glotscript ([code](https://github.com/cisnlp/GlotScript) and [paper](https://arxiv.org/abs/2309.13320)).


## License and Copyright
We do not own any of the text from which these data has been extracted.
All the files are collected from the repository located at https://github.com/global-asp/.
The source repository for each text and file is stored in the dataset.
Each file in the dataset is associated with one license from the CC family.
The licenses include 'CC BY', 'CC BY-NC', 'CC BY-NC-SA', 'CC-BY', 'CC-BY-NC', and 'Public Domain'.
We also license the code, actual packaging and the metadata of these data under the cc0-1.0.

## Github
We additionally provide a GitHub version that openly shares the source code for processing this dataset:
https://github.com/cisnlp/GlotStoryBook


## Citation
If you use any part of this code and data in your research, please cite it (along with https://github.com/global-asp/) using the following BibTeX entry.
This work is part of the [GlotLID](https://github.com/cisnlp/GlotLID) project.

```
@inproceedings{
  kargaran2023glotlid,
  title={{GlotLID}: Language Identification for Low-Resource Languages},
  author={Kargaran, Amir Hossein and Imani, Ayyoob and Yvon, Fran{\c{c}}ois and Sch{\"u}tze, Hinrich},
  booktitle={The 2023 Conference on Empirical Methods in Natural Language Processing},
  year={2023},
  url={https://openreview.net/forum?id=dl4e3EBz5j}
}

```