File size: 5,160 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
84f5a83
 
13ad1ce
84f5a83
 
 
 
 
 
 
 
 
 
 
 
 
2438ae6
38d7a23
1735e76
38d7a23
84f5a83
 
 
 
95770c0
84f5a83
95770c0
84f5a83
 
 
 
 
38d7a23
84f5a83
 
1735e76
2bf5159
38d7a23
84f5a83
 
 
38d7a23
 
84f5a83
 
38d7a23
 
84f5a83
 
 
 
 
 
 
 
 
38d7a23
2bf5159
38d7a23
84f5a83
 
38d7a23
 
 
 
84f5a83
 
 
 
 
 
0ca471a
 
 
 
38d7a23
 
84f5a83
 
 
b3d5340
 
 
 
 
 
38d7a23
84f5a83
 
 
 
 
 
 
 
38d7a23
 
 
 
 
84f5a83
38d7a23
84f5a83
 
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
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
---
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
- nalibali
- machine-translation
configs:
- config_name: default
  data_files:
  - split: train
    path: GlotStoryBook.csv
- config_name: nalibali
  data_files:
  - split: train
    path: nalibali.csv
task_categories:
- translation
- text-generation
- text2text-generation
- summarization
---

## Dataset Description

Story Books for 180 ISO-639-3 codes. 

The `Parallel ID` or `parallel_id` can be used to find the parallel documents in different languages and build a parallel dataset.


This dataset consists of 2 subsets:

- **default**, which consists 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/)


- **nalibali**, which comes from [Nal'ibali](https://nalibali.org/story-resources/multilingual-stories) stories.


## Usage (HF Loader)

- default:

```python
from datasets import load_dataset
dataset = load_dataset('cis-lmu/GlotStoryBook', 'default', split='train')
print(dataset[0]) # First row of default data
```

- nalibali:

```python
from datasets import load_dataset
dataset = load_dataset('cis-lmu/GlotStoryBook', 'nalibali', split='train')
print(dataset[0]) # First row of nalibali data
```


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

- default:

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

- nalibali:

```python
! wget https://huggingface.co/datasets/cis-lmu/GlotStoryBook/resolve/main/nalibali.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

- default: 

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.


- nalibali:

We do not own any of the text from which these data has been extracted.
All the files are collected from [https://nalibali.org](https://nalibali.org/story-resources/multilingual-stories) under the [nalibali term of use](https://nalibali.org/terms-use):
> Material on this website may be freely downloaded, shared and reprinted. In fact, we welcome the circulation and sharing of Nal’ibali resources, provided it adheres to the following guidelines: It is credited to the Nal’ibali initiative, and retains the Nal’ibali logo and web address wherever possible; it is for personal, educational and developmental purposes only; it may not be sold, used or distributed commercially or for a fee.
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/ and https://nalibali.org) using the following BibTeX entry.
This work is part of the [GlotLID](https://github.com/cisnlp/GlotLID) project and [paper](https://arxiv.org/abs/2310.16248).

```
@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}
}

```