Datasets:

Modalities:
Image
Text
Formats:
parquet
Languages:
Danish
ArXiv:
DOI:
Libraries:
Datasets
Dask
License:
File size: 38,085 Bytes
fcc0222
382a8c5
 
 
 
 
 
fcc0222
382a8c5
 
 
 
 
 
 
 
 
 
 
 
 
fcc0222
 
 
 
060c443
ed22468
 
 
 
 
 
 
 
5f324fa
 
 
 
439e14c
 
 
 
ed22468
 
 
 
fddf8b4
 
 
 
1546256
fddf8b4
 
1546256
fddf8b4
 
 
 
 
 
 
 
ed22468
 
 
 
 
 
 
 
 
 
 
 
5affec7
 
 
 
3e28a50
 
 
 
fcc0222
 
 
3d99d06
fcc0222
 
 
3d99d06
fcc0222
 
 
3d99d06
fcc0222
 
 
3d99d06
fcc0222
 
 
3d99d06
fcc0222
 
 
3d99d06
fcc0222
 
 
3d99d06
fcc0222
 
 
3d99d06
fcc0222
 
 
3d99d06
fcc0222
 
 
3d99d06
fcc0222
 
 
3d99d06
fcc0222
 
 
3d99d06
fcc0222
 
 
3d99d06
fcc0222
 
 
3d99d06
fcc0222
 
 
3d99d06
fcc0222
 
 
3d99d06
fcc0222
 
 
3d99d06
fcc0222
 
 
3d99d06
fcc0222
 
 
3d99d06
8e1237a
 
 
 
fcc0222
 
 
3d99d06
97b3aa5
 
 
 
0cdc88c
7df022e
 
0cdc88c
dd36adf
 
 
 
7d78f79
 
 
 
 
 
87eb2bb
 
6a88cbd
 
7d78f79
9c15515
87eb2bb
 
b578ecd
 
f2ad4e1
 
5f324fa
f2ad4e1
fddf8b4
f2ad4e1
78108d3
7d78f79
65faa6e
 
b578ecd
7d78f79
 
87eb2bb
7d78f79
 
 
 
3007163
 
 
7d78f79
 
6a88cbd
7d78f79
 
87eb2bb
 
7d78f79
2453a15
 
d36009a
 
2453a15
439e14c
4c55782
7d78f79
 
 
38b692a
5f324fa
 
ca846ae
f2ad4e1
7d78f79
38b692a
7d78f79
 
0cdc88c
 
87eb2bb
0cdc88c
7d78f79
 
 
 
 
 
87eb2bb
7d78f79
 
87eb2bb
7d78f79
87eb2bb
 
7d78f79
87eb2bb
 
 
 
 
 
 
 
 
 
 
 
 
 
7d78f79
 
3007163
87eb2bb
 
5f324fa
 
 
87eb2bb
5f324fa
87eb2bb
3007163
 
 
 
 
 
 
 
 
 
 
ca846ae
 
 
 
 
 
 
 
 
 
 
 
 
 
3007163
 
 
5f324fa
439e14c
3007163
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ca846ae
 
 
 
 
 
 
3007163
 
 
5f324fa
439e14c
3007163
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7d78f79
 
87eb2bb
7d78f79
 
 
 
 
38b692a
7d78f79
 
65faa6e
ca846ae
38b692a
 
 
65faa6e
7d78f79
 
 
 
 
 
 
060c443
7d78f79
 
 
 
060c443
38b692a
 
7d78f79
 
 
 
 
 
87eb2bb
 
0cdc88c
 
 
87eb2bb
 
 
 
 
7d78f79
 
3007163
 
 
 
 
 
 
7d78f79
ef0f90a
ca846ae
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ed22468
 
 
5f324fa
439e14c
ed22468
2453a15
 
 
 
ed22468
 
 
5affec7
546c3b3
ef0f90a
546c3b3
 
 
243fc1f
ef0f90a
546c3b3
 
 
 
 
 
 
ef0f90a
546c3b3
ef0f90a
546c3b3
 
243fc1f
ef0f90a
 
97b3aa5
0cdc88c
dd36adf
ef0f90a
243fc1f
 
 
ed22468
2453a15
 
ef0f90a
65faa6e
 
dd36adf
ef0f90a
7d78f79
3007163
bb8789e
2a1b9d7
2453a15
87eb2bb
0cdc88c
 
 
 
 
 
2453a15
 
 
0cef317
 
2453a15
bb8789e
0eccce1
7d78f79
d36009a
7d78f79
0eccce1
 
 
2453a15
 
d36009a
0eccce1
 
 
 
 
 
 
 
 
 
 
 
 
d36009a
0eccce1
d36009a
2453a15
0eccce1
9c15515
d36009a
 
 
65faa6e
2453a15
 
 
65faa6e
439e14c
 
0eccce1
 
439e14c
 
382a8c5
4c55782
 
 
 
 
2453a15
b224fd6
9c15515
 
 
 
 
 
 
ca846ae
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
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
---
annotations_creators:
- no-annotation
language_creators:
- crowdsourced
language:
- da
license: other
multilinguality:
- monolingual
source_datasets:
- original
task_categories:
- text-generation
task_ids:
- language-modeling
tags:
- text-corpus
- continual-development
- community-collaboration
pretty_name: Danish Dynaword
configs:
- config_name: default
  data_files:
  - split: train
    path: data/*/*.parquet
- config_name: ai-aktindsigt
  data_files:
  - split: train
    path: data/ai-aktindsigt/*.parquet
- config_name: cellar
  data_files:
  - split: train
    path: data/cellar/*.parquet
- config_name: enevaeldens_nyheder
  data_files:
  - split: train
    path: data/enevaeldens_nyheder/*.parquet
- config_name: grundtvig
  data_files:
  - split: train
    path: data/grundtvig/*.parquet
- config_name: danske-taler
  data_files:
  - split: train
    path: data/danske-taler/*.parquet
- config_name: ncc_books
  data_files:
  - split: train
    path: data/ncc_books/*.parquet
- config_name: ncc_newspaper
  data_files:
  - split: train
    path: data/ncc_newspaper/*.parquet
- config_name: ncc_maalfrid
  data_files:
  - split: train
    path: data/ncc_maalfrid/*.parquet
- config_name: ncc_parliament
  data_files:
  - split: train
    path: data/ncc_parliament/*.parquet
- config_name: eur-lex-sum-da
  data_files:
  - split: train
    path: data/eur-lex-sum-da/*.parquet
- config_name: miljoeportalen
  data_files:
  - split: train
    path: data/miljoeportalen/*.parquet
- config_name: fm-udgivelser
  data_files:
  - split: train
    path: data/fm-udgivelser/*.parquet
- config_name: memo
  data_files:
  - split: train
    path: data/memo/*.parquet
- config_name: opensubtitles
  data_files:
  - split: train
    path: data/opensubtitles/*.parquet
- config_name: retsinformationdk
  data_files:
  - split: train
    path: data/retsinformationdk/*.parquet
- config_name: ep
  data_files:
  - split: train
    path: data/ep/*.parquet
- config_name: ft
  data_files:
  - split: train
    path: data/ft/*.parquet
- config_name: wikisource
  data_files:
  - split: train
    path: data/wikisource/*.parquet
- config_name: spont
  data_files:
  - split: train
    path: data/spont/*.parquet
- config_name: tv2r
  data_files:
  - split: train
    path: data/tv2r/*.parquet
- config_name: adl
  data_files:
  - split: train
    path: data/adl/*.parquet
- config_name: hest
  data_files:
  - split: train
    path: data/hest/*.parquet
- config_name: skat
  data_files:
  - split: train
    path: data/skat/*.parquet
- config_name: dannet
  data_files:
  - split: train
    path: data/dannet/*.parquet
- config_name: retspraksis
  data_files:
  - split: train
    path: data/retspraksis/*.parquet
- config_name: wikibooks
  data_files:
  - split: train
    path: data/wikibooks/*.parquet
- config_name: jvj
  data_files:
  - split: train
    path: data/jvj/*.parquet
- config_name: gutenberg
  data_files:
  - split: train
    path: data/gutenberg/*.parquet
- config_name: botxt
  data_files:
  - split: train
    path: data/botxt/*.parquet
- config_name: depbank
  data_files:
  - split: train
    path: data/depbank/*.parquet
- config_name: naat
  data_files:
  - split: train
    path: data/naat/*.parquet
- config_name: synne
  data_files:
  - split: train
    path: data/synne/*.parquet
- config_name: wiki
  data_files:
  - split: train
    path: data/wiki/*.parquet
- config_name: nordjyllandnews
  data_files:
  - split: train
    path: data/nordjyllandnews/*.parquet
- config_name: relig
  data_files:
  - split: train
    path: data/relig/*.parquet
- config_name: nota
  data_files:
  - split: train
    path: data/nota/*.parquet
- config_name: health_hovedstaden
  data_files:
  - split: train
    path: data/health_hovedstaden/*.parquet
- config_name: domsdatabasen
  data_files:
  - split: train
    path: data/domsdatabasen/*.parquet
language_bcp47:
- da
- da-bornholm
- da-synnejyl
---

<!-- 
readme structure is inspired by:
https://github.com/huggingface/datasets/blob/main/templates/README_guide.md 
-->


# 🧨 Danish Dynaword


<!-- START README TABLE -->
|              |                                                                                                                                                             |
| ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Version**  | 1.2.8 ([Changelog](/CHANGELOG.md))                                                                                                                          |
| **Language** | dan, dansk, Danish                                                                                                                                          |
| **License**  | Openly Licensed, See the respective dataset                                                                                                                 |
| **Models**   | For model trained used this data see [danish-foundation-models](https://huggingface.co/danish-foundation-models)                                            |
| **Contact**  | If you have question about this project please create an issue [here](https://huggingface.co/datasets/danish-foundation-models/danish-dynaword/discussions) |



<!-- END README TABLE -->

## Table of Contents
- [🧨 Danish Dynaword](#-danish-dynaword)
  - [Table of Contents](#table-of-contents)
  - [Dataset Description](#dataset-description)
    - [Dataset Summary](#dataset-summary)
    - [Loading the dataset](#loading-the-dataset)
    - [Languages](#languages)
    - [Domains](#domains)
    - [Licensing](#licensing)
  - [Dataset Structure](#dataset-structure)
    - [Data Instances](#data-instances)
    - [Data Fields](#data-fields)
    - [Data Splits](#data-splits)
  - [Dataset Creation](#dataset-creation)
    - [Curation Rationale](#curation-rationale)
    - [Annotations](#annotations)
    - [Source Data](#source-data)
    - [Data Collection and Processing](#data-collection-and-processing)
    - [Contributing to the dataset](#contributing-to-the-dataset)
  - [Citation Information](#citation-information)
  - [License information](#license-information)
    - [Personal and Sensitive Information](#personal-and-sensitive-information)
    - [Bias, Risks, and Limitations](#bias-risks-and-limitations)
    - [Notice and takedown policy](#notice-and-takedown-policy)

## Dataset Description

<!-- START-DESC-STATS -->
- **Number of samples**: 5.55M
- **Number of tokens (Llama 3)**: 5.83B
- **Average document length (min, max)**: 1.05K [2, 9.81M]
<!-- END-DESC-STATS -->


### Dataset Summary

The Danish dynaword is a collection of Danish free-form text datasets from various domains. All of the datasets in Danish Dynaword are openly licensed 
and deemed permissible for training large language models. 

Danish Dynaword is continually developed, which means that the dataset will actively be updated as new datasets become available. If you would like to contribute a dataset see the [contribute section](#contributing-to-the-dataset).

### Loading the dataset

```py
from datasets import load_dataset

name = "danish-foundation-models/danish-dynaword"
ds = load_dataset(name, split = "train")
sample = ds[1] # see "Data Instances" below
```

or load it by streaming the data
```py
ds = load_dataset(name, split = "train", streaming=True)
dataset_iter = iter(ds)
sample = next(iter(dataset_iter))
```

You can also load a single subset at a time:
```py
ds = load_dataset(name, "adl", split = "train")
```


As Danish Dynaword is continually expanding and curated you can make sure that you get the same dataset every time by specifying the revision:
You can also load a single subset at a time:
```py
ds = load_dataset(name, revision="{desired revision}")
```

### Languages
This dataset includes the following languages:

- Danish (dan-Latn) as we as the dialects Bornholmsk (dan-Latn-bornholm) and Synderjysk (dan-Latn-synnejyl)

In addition it likely contains small amounts of English due to code-switching and Norwegian due to the historical relation between the two languages and language misclassificaitons due to their similarity.

Language is denoted using [BCP-47](https://en.wikipedia.org/wiki/IETF_language_tag), using the langauge code ISO 639-3 and the script code ISO 15924. The third element denote the region variant.


### Domains

This dynaword consist of data from various domains (e.g., legal, books, social media). The following table and figure give an overview of the relative distributions of these domains. To see a full overview of the source check out the [source data section](#source-data)

<div style="display: flex; gap: 20px; align-items: flex-start;">

<div style="flex: 1;">


<!-- START-DOMAIN TABLE -->
| Domain       | Sources                                                                                                  | N. Tokens |
| :----------- | :------------------------------------------------------------------------------------------------------- | :-------- |
| Legal        | [cellar], [eur-lex-sum-da], [fm-udgivelser], [retsinformationdk], [skat], [retspraksis], [domsdatabasen] | 2.32B     |
| News         | [enevaeldens_nyheder], [ncc_newspaper], [tv2r], [nordjyllandnews]                                        | 1.09B     |
| Books        | [grundtvig], [ncc_books], [memo], [adl], [wikibooks], [jvj], [gutenberg], [relig]                        | 732.52M   |
| Conversation | [danske-taler], [opensubtitles], [ep], [ft], [spont], [naat]                                             | 497.09M   |
| Social Media | [hest]                                                                                                   | 389.32M   |
| Other        | [ncc_parliament], [dannet], [depbank], [synne]                                                           | 340.59M   |
| Web          | [ai-aktindsigt], [ncc_maalfrid], [miljoeportalen]                                                        | 295.87M   |
| Encyclopedic | [wikisource], [wiki]                                                                                     | 127.35M   |
| Medical      | [health_hovedstaden]                                                                                     | 27.07M    |
| Readaloud    | [nota]                                                                                                   | 7.30M     |
| Dialect      | [botxt]                                                                                                  | 847.97K   |
| **Total**    |                                                                                                          | 5.83B     |

[ai-aktindsigt]: data/ai-aktindsigt/ai-aktindsigt.md
[cellar]: data/cellar/cellar.md
[enevaeldens_nyheder]: data/enevaeldens_nyheder/enevaeldens_nyheder.md
[grundtvig]: data/grundtvig/grundtvig.md
[danske-taler]: data/danske-taler/danske-taler.md
[ncc_books]: data/ncc_books/ncc_books.md
[ncc_newspaper]: data/ncc_newspaper/ncc_newspaper.md
[ncc_maalfrid]: data/ncc_maalfrid/ncc_maalfrid.md
[ncc_parliament]: data/ncc_parliament/ncc_parliament.md
[eur-lex-sum-da]: data/eur-lex-sum-da/eur-lex-sum-da.md
[miljoeportalen]: data/miljoeportalen/miljoeportalen.md
[fm-udgivelser]: data/fm-udgivelser/fm-udgivelser.md
[memo]: data/memo/memo.md
[opensubtitles]: data/opensubtitles/opensubtitles.md
[retsinformationdk]: data/retsinformationdk/retsinformationdk.md
[ep]: data/ep/ep.md
[ft]: data/ft/ft.md
[wikisource]: data/wikisource/wikisource.md
[spont]: data/spont/spont.md
[tv2r]: data/tv2r/tv2r.md
[adl]: data/adl/adl.md
[hest]: data/hest/hest.md
[skat]: data/skat/skat.md
[dannet]: data/dannet/dannet.md
[retspraksis]: data/retspraksis/retspraksis.md
[wikibooks]: data/wikibooks/wikibooks.md
[jvj]: data/jvj/jvj.md
[gutenberg]: data/gutenberg/gutenberg.md
[botxt]: data/botxt/botxt.md
[depbank]: data/depbank/depbank.md
[naat]: data/naat/naat.md
[synne]: data/synne/synne.md
[wiki]: data/wiki/wiki.md
[nordjyllandnews]: data/nordjyllandnews/nordjyllandnews.md
[relig]: data/relig/relig.md
[nota]: data/nota/nota.md
[health_hovedstaden]: data/health_hovedstaden/health_hovedstaden.md
[domsdatabasen]: data/domsdatabasen/domsdatabasen.md
<!-- END-DOMAIN TABLE -->

</div>

<div style="flex: 1;">

<p align="center">
<img src="./images/domain_distribution.png" width="400" style="margin-right: 10px;" />
</p>

</div>

</div>


### Licensing

The following gives an overview of the licensing in the Dynaword. To get the exact license of the individual datasets check out the [overview table](#source-data).
These license is applied to the constituent data, i.e., the text. The collection of datasets (metadata, quality control, etc.) is licensed under [CC-0](https://creativecommons.org/publicdomain/zero/1.0/legalcode.en).

<!-- START-LICENSE TABLE -->
| License                         | Sources                                                                                                                                                                                                                                                                                               | N. Tokens |
| :------------------------------ | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :-------- |
| CC-0                            | [enevaeldens_nyheder], [grundtvig], [danske-taler], [ncc_books], [ncc_newspaper], [miljoeportalen], [opensubtitles], [ep], [ft], [wikisource], [spont], [adl], [hest], [skat], [retspraksis], [wikibooks], [botxt], [naat], [synne], [wiki], [nordjyllandnews], [relig], [nota], [health_hovedstaden] | 3.04B     |
| CC-BY-SA 4.0                    | [cellar], [eur-lex-sum-da], [fm-udgivelser], [memo], [tv2r], [jvj], [depbank]                                                                                                                                                                                                                         | 1.37B     |
| Other (No attribution required) | [retsinformationdk], [domsdatabasen]                                                                                                                                                                                                                                                                  | 904.61M   |
| Other (Attribution required)    | [ai-aktindsigt], [ncc_maalfrid], [ncc_parliament], [dannet], [gutenberg]                                                                                                                                                                                                                              | 515.61M   |
| **Total**                       |                                                                                                                                                                                                                                                                                                       | 5.83B     |

[ai-aktindsigt]: data/ai-aktindsigt/ai-aktindsigt.md
[cellar]: data/cellar/cellar.md
[enevaeldens_nyheder]: data/enevaeldens_nyheder/enevaeldens_nyheder.md
[grundtvig]: data/grundtvig/grundtvig.md
[danske-taler]: data/danske-taler/danske-taler.md
[ncc_books]: data/ncc_books/ncc_books.md
[ncc_newspaper]: data/ncc_newspaper/ncc_newspaper.md
[ncc_maalfrid]: data/ncc_maalfrid/ncc_maalfrid.md
[ncc_parliament]: data/ncc_parliament/ncc_parliament.md
[eur-lex-sum-da]: data/eur-lex-sum-da/eur-lex-sum-da.md
[miljoeportalen]: data/miljoeportalen/miljoeportalen.md
[fm-udgivelser]: data/fm-udgivelser/fm-udgivelser.md
[memo]: data/memo/memo.md
[opensubtitles]: data/opensubtitles/opensubtitles.md
[retsinformationdk]: data/retsinformationdk/retsinformationdk.md
[ep]: data/ep/ep.md
[ft]: data/ft/ft.md
[wikisource]: data/wikisource/wikisource.md
[spont]: data/spont/spont.md
[tv2r]: data/tv2r/tv2r.md
[adl]: data/adl/adl.md
[hest]: data/hest/hest.md
[skat]: data/skat/skat.md
[dannet]: data/dannet/dannet.md
[retspraksis]: data/retspraksis/retspraksis.md
[wikibooks]: data/wikibooks/wikibooks.md
[jvj]: data/jvj/jvj.md
[gutenberg]: data/gutenberg/gutenberg.md
[botxt]: data/botxt/botxt.md
[depbank]: data/depbank/depbank.md
[naat]: data/naat/naat.md
[synne]: data/synne/synne.md
[wiki]: data/wiki/wiki.md
[nordjyllandnews]: data/nordjyllandnews/nordjyllandnews.md
[relig]: data/relig/relig.md
[nota]: data/nota/nota.md
[health_hovedstaden]: data/health_hovedstaden/health_hovedstaden.md
[domsdatabasen]: data/domsdatabasen/domsdatabasen.md
<!-- END-LICENSE TABLE -->



## Dataset Structure

The dataset contains text from different sources which are thoroughly defined in [Source Data](#source-data).

### Data Instances

Each entry in the dataset consists of a single text with associated metadata

<!-- START-SAMPLE -->
```py
{
  "id": "adl_aakjaer06val",
  "text": "SAMLEDE VÆRKER\n\nJEPPE AAKJÆR GYLDENDALSKE BOGHANDEL - NORDISK FORLAG KJØBENHAVN OG\nKRISTIANIA 1919 0[...]",
  "source": "adl",
  "added": "2020-09-14",
  "created": "1700-01-01, 2022-01-01",
  "token_count": 439908
}
```

### Data Fields

An entry in the dataset consists of the following fields:

- `id` (`str`): An unique identifier for each document.
- `text`(`str`): The content of the document.
- `source` (`str`): The source of the document (see [Source Data](#source-data)).
- `added` (`str`): An date for when the document was added to this collection.
- `created` (`str`): An date range for when the document was originally created.
- `token_count` (`int`): The number of tokens in the sample computed using the Llama 8B tokenizer
<!-- END-SAMPLE -->

### Data Splits

The entire corpus is provided in the `train` split.

## Dataset Creation

### Curation Rationale

These datasets were collected and curated with the intention of making openly license Danish data available. While this was collected with the intention of developing language models it is likely to have multiple other uses such as examining language development and differences across domains.



### Annotations

This data generally contains no annotation besides the metadata attached to each sample such as what domain it belongs to. 

### Source Data


Below follows a brief overview of the sources in the corpus along with their individual license. To get more information about the individual dataset click the hyperlink in the table.

<details>
<summary><b>Overview Table (click to unfold)</b></summary>

You can learn more about each dataset by pressing the link in the first column.

<!-- START-MAIN TABLE -->
| Source                | Description                                                                                                                                                                            | Domain       | N. Tokens | License                |
| :-------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :----------- | :-------- | :--------------------- |
| [cellar]              | The official digital repository for European Union legal documents and open data                                                                                                       | Legal        | 1.15B     | [CC-BY-SA 4.0]         |
| [enevaeldens_nyheder] | High quality OCR'd texts from Danish and Norwegian newspapers during the period of constitutional absolutism in Denmark (1660–1849)                                                    | News         | 1.03B     | [CC-0]                 |
| [retsinformationdk]   | [retsinformation.dk](https://www.retsinformation.dk) (legal-information.dk) the official legal information system of Denmark                                                           | Legal        | 818.25M   | [Danish Copyright Law] |
| [ncc_books]           | Danish books extracted from the [Norwegian Colossal Corpus](https://huggingface.co/datasets/NbAiLab/NCC) derived from OCR                                                              | Books        | 531.97M   | [CC-0]                 |
| [hest]                | Samples from the Danish debate forum www.heste-nettet.dk                                                                                                                               | Social Media | 389.32M   | [CC-0]                 |
| [ncc_parliament]      | Collections from the Norwegian parliament in Danish. Extracted from the [Norwegian Colossal Corpus](https://huggingface.co/datasets/NbAiLab/NCC) derived from ocr                      | Other        | 338.87M   | [NLOD 2.0]             |
| [opensubtitles]       | Danish subsection of [OpenSubtitles](https://opus.nlpl.eu/OpenSubtitles/corpus/version/OpenSubtitles)                                                                                  | Conversation | 271.60M   | [CC-0]                 |
| [ai-aktindsigt]       | Multiple web scrapes from municipality websites collected as a part of the [AI-aktindsigt](https://ai-aktindsigt.dk) project                                                           | Web          | 139.23M   | [Apache 2.0]           |
| [miljoeportalen]      | Data from [Danmarks Miljøportalen](https://www.miljoeportal.dk/om-danmarks-miljoeportal/) (Denmark's Environment Portal)                                                               | Web          | 127.38M   | [CC-0]                 |
| [skat]                | Skat is the Danish tax authority. This dataset contains content from its website skat.dk                                                                                               | Legal        | 122.11M   | [CC-0]                 |
| [wiki]                | The Danish subsection of [wikipedia](https://en.wikipedia.org/wiki/Main_Page)                                                                                                          | Encyclopedic | 122.00M   | [CC-0]                 |
| [ft]                  | Records from all meetings of The Danish parliament (Folketinget) in the parliament hall                                                                                                | Conversation | 114.09M   | [CC-0]                 |
| [memo]                | The MeMo corpus comprising almost all Danish novels from the period 1870-1899, known as the Modern Breakthrough                                                                        | Books        | 113.74M   | [CC-BY-SA 4.0]         |
| [ep]                  | The Danish subsection of [Europarl](https://aclanthology.org/2005.mtsummit-papers.11/)                                                                                                 | Conversation | 100.84M   | [CC-0]                 |
| [domsdatabasen]       | [Domsdatabasen.dk](https://domsdatabasen.dk/) is a public database containing selected judgments from the Danish courts                                                                | Legal        | 86.35M    | [Danish Copyright Law] |
| [adl]                 | Danish literature from 1700-2023 from the [Archive for Danish Literature](https://tekster.kb.dk/text?editorial=no&f%5Bsubcollection_ssi%5D%5B%5D=adl&match=one&search_field=Alt) (ADL) | Books        | 58.49M    | [CC-0]                 |
| [retspraksis]         | Case law or judical practice in Denmark derived from [Retspraksis](https://da.wikipedia.org/wiki/Retspraksis)                                                                          | Legal        | 56.26M    | [CC-0]                 |
| [fm-udgivelser]       | The official publication series of the Danish Ministry of Finance containing economic analyses, budget proposals, and fiscal policy documents                                          | Legal        | 50.34M    | [CC-BY-SA 4.0]         |
| [nordjyllandnews]     | Articles from the Danish Newspaper [TV2 Nord](https://www.tv2nord.dk)                                                                                                                  | News         | 37.90M    | [CC-0]                 |
| [eur-lex-sum-da]      | The Danish subsection of EUR-lex SUM consisting of EU legislation paired with professionally written summaries                                                                         | Legal        | 31.37M    | [CC-BY-SA 4.0]         |
| [ncc_maalfrid]        | Danish content from Norwegian institutions websites                                                                                                                                    | Web          | 29.26M    | [NLOD 2.0]             |
| [health_hovedstaden]  | Guidelines and informational documents for healthcare professionals from the Capital Region                                                                                            | Medical      | 27.07M    | [CC-0]                 |
| [tv2r]                | Contemporary Danish newswire articles published between 2010 and 2019                                                                                                                  | News         | 21.67M    | [CC-BY-SA 4.0]         |
| [grundtvig]           | The complete collection of [Grundtvig](https://en.wikipedia.org/wiki/N._F._S._Grundtvig) (1783-1872) one of Denmark’s most influential figures                                         | Books        | 10.53M    | [CC-0]                 |
| [danske-taler]        | Danish Speeches from [dansketaler.dk](https://www.dansketaler.dk)                                                                                                                      | Conversation | 8.72M     | [CC-0]                 |
| [nota]                | The text only part of the [Nota lyd- og tekstdata](https://sprogteknologi.dk/dataset/nota-lyd-og-tekstdata) dataset                                                                    | Readaloud    | 7.30M     | [CC-0]                 |
| [gutenberg]           | The Danish subsection from Project [Gutenberg](https://www.gutenberg.org)                                                                                                              | Books        | 6.76M     | [Gutenberg]            |
| [wikibooks]           | The Danish Subsection of [Wikibooks](https://www.wikibooks.org)                                                                                                                        | Books        | 6.24M     | [CC-0]                 |
| [wikisource]          | The Danish subsection of [Wikisource](https://en.wikisource.org/wiki/Main_Page)                                                                                                        | Encyclopedic | 5.34M     | [CC-0]                 |
| [jvj]                 | The works of the Danish author and poet, [Johannes V. Jensen](https://da.wikipedia.org/wiki/Johannes_V._Jensen)                                                                        | Books        | 3.55M     | [CC-BY-SA 4.0]         |
| [spont]               | Conversational samples collected as a part of research projects at Aarhus University                                                                                                   | Conversation | 1.56M     | [CC-0]                 |
| [dannet]              | [DanNet](https://cst.ku.dk/projekter/dannet) is a Danish WordNet                                                                                                                       | Other        | 1.48M     | [DanNet 1.0]           |
| [relig]               | Danish religious text from the 1700-2022                                                                                                                                               | Books        | 1.24M     | [CC-0]                 |
| [ncc_newspaper]       | OCR'd Newspapers derived from [NCC](https://huggingface.co/datasets/NbAiLab/NCC)                                                                                                       | News         | 1.05M     | [CC-0]                 |
| [botxt]               | The Bornholmsk Ordbog Dictionary Project                                                                                                                                               | Dialect      | 847.97K   | [CC-0]                 |
| [naat]                | Danish speeches from 1930-2022                                                                                                                                                         | Conversation | 286.68K   | [CC-0]                 |
| [depbank]             | The Danish subsection of the [Universal Dependencies Treebank](https://github.com/UniversalDependencies/UD_Danish-DDT)                                                                 | Other        | 185.45K   | [CC-BY-SA 4.0]         |
| [synne]               | Dataset collected from [synnejysk forening's website](https://www.synnejysk.dk), covering the Danish dialect sønderjysk                                                                | Other        | 52.02K    | [CC-0]                 |
| **Total**             |                                                                                                                                                                                        |              | 5.83B     |                        |

[ai-aktindsigt]: data/ai-aktindsigt/ai-aktindsigt.md
[cellar]: data/cellar/cellar.md
[enevaeldens_nyheder]: data/enevaeldens_nyheder/enevaeldens_nyheder.md
[grundtvig]: data/grundtvig/grundtvig.md
[danske-taler]: data/danske-taler/danske-taler.md
[ncc_books]: data/ncc_books/ncc_books.md
[ncc_newspaper]: data/ncc_newspaper/ncc_newspaper.md
[ncc_maalfrid]: data/ncc_maalfrid/ncc_maalfrid.md
[ncc_parliament]: data/ncc_parliament/ncc_parliament.md
[eur-lex-sum-da]: data/eur-lex-sum-da/eur-lex-sum-da.md
[miljoeportalen]: data/miljoeportalen/miljoeportalen.md
[fm-udgivelser]: data/fm-udgivelser/fm-udgivelser.md
[memo]: data/memo/memo.md
[opensubtitles]: data/opensubtitles/opensubtitles.md
[retsinformationdk]: data/retsinformationdk/retsinformationdk.md
[ep]: data/ep/ep.md
[ft]: data/ft/ft.md
[wikisource]: data/wikisource/wikisource.md
[spont]: data/spont/spont.md
[tv2r]: data/tv2r/tv2r.md
[adl]: data/adl/adl.md
[hest]: data/hest/hest.md
[skat]: data/skat/skat.md
[dannet]: data/dannet/dannet.md
[retspraksis]: data/retspraksis/retspraksis.md
[wikibooks]: data/wikibooks/wikibooks.md
[jvj]: data/jvj/jvj.md
[gutenberg]: data/gutenberg/gutenberg.md
[botxt]: data/botxt/botxt.md
[depbank]: data/depbank/depbank.md
[naat]: data/naat/naat.md
[synne]: data/synne/synne.md
[wiki]: data/wiki/wiki.md
[nordjyllandnews]: data/nordjyllandnews/nordjyllandnews.md
[relig]: data/relig/relig.md
[nota]: data/nota/nota.md
[health_hovedstaden]: data/health_hovedstaden/health_hovedstaden.md
[domsdatabasen]: data/domsdatabasen/domsdatabasen.md


[CC-0]: https://creativecommons.org/publicdomain/zero/1.0/legalcode.en
[CC-BY-SA 4.0]: https://creativecommons.org/licenses/by-sa/4.0/deed.en
[Apache 2.0]: https://www.apache.org/licenses/LICENSE-2.0
[NLOD 2.0]: ./data/ncc_maalfrid/ncc_maalfrid.md#license-information
[NLOD 2.0]: ./data/ncc_parliament/ncc_parliament.md#license-information
[Danish Copyright Law]: ./data/retsinformationdk/retsinformationdk.md#license-information
[DanNet 1.0]: ./data/dannet/dannet.md#license-information
[Gutenberg]: ./data/gutenberg/gutenberg.md#license-information
[Danish Copyright Law]: ./data/domsdatabasen/domsdatabasen.md#license-information
<!-- END-MAIN TABLE -->

</details>


### Data Collection and Processing

Danish Dynaword is continually developed, which means that the dataset will actively be updated as new datasets become available. This means that the size of Dynaword increases over time as seen in the following plot:

<p align="center">
<img src="./images/tokens_over_time.svg" width="600" style="margin-right: 10px;" />
</p>

The data collection and processing varies depending on the dataset and is documentationed the individual datasheets, which is linked in the above table. If possible the collection is documented both in the datasheet and in the reproducible script (`data/{dataset}/create.py`).

In addition to data specific processing we also run a series automated quality checks to ensure formatting (e.g. ensuring correctly formatted columns and unique IDs), quality checks (e.g. duplicate and empty string detection) and datasheet documentation checks. These checks are there to ensure a high quality of documentation and a minimal level of quality. To allow for the development of novel cleaning methodologies we do not provide more extensive cleaning.


### Contributing to the dataset

We welcome contributions to the dataset, including new sources, improved data filtering, and other enhancements. To get started on contributing, please see [the contribution guidelines](CONTRIBUTING.md)

## Citation Information

If you use this work, please cite the [scientific article](https://arxiv.org/abs/2508.02271), we recommend citing the following:

> Enevoldsen, K., Jensen, K. N., Kostkan, J., Szabó, B., Kardos, M., Vad, K., Núñez, A. B., Barmina, G., Nielsen, J., Larsen, R., Vahlstrup, P., Dalum, P. M., Elliott, D., Galke, L., Schneider-Kamp, P., & Nielbo, K. (2025). Dynaword: From One-shot to Continuously Developed Datasets (arXiv:2508.02271). arXiv. https://doi.org/10.48550/arXiv.2508.02271


```

@misc{enevoldsenDynawordOneshotContinuously2025,
	title = {Dynaword: {From} {One}-shot to {Continuously} {Developed} {Datasets}},
	shorttitle = {Dynaword},
	url = {http://arxiv.org/abs/2508.02271},
	doi = {10.48550/arXiv.2508.02271},
	abstract = {Large-scale datasets are foundational for research and development in natural language processing. However, current approaches face three key challenges: (1) reliance on ambiguously licensed sources restricting use, sharing, and derivative works; (2) static dataset releases that prevent community contributions and diminish longevity; and (3) quality assurance processes restricted to publishing teams rather than leveraging community expertise. To address these limitations, we introduce two contributions: the Dynaword approach and Danish Dynaword. The Dynaword approach is a framework for creating large-scale, open datasets that can be continuously updated through community collaboration. Danish Dynaword is a concrete implementation that validates this approach and demonstrates its potential. Danish Dynaword contains over four times as many tokens as comparable releases, is exclusively openly licensed, and has received multiple contributions across industry and research. The repository includes light-weight tests to ensure data formatting, quality, and documentation, establishing a sustainable framework for ongoing community contributions and dataset evolution.},
	urldate = {2025-08-05},
	publisher = {arXiv},
	author = {Enevoldsen, Kenneth and Jensen, Kristian Nørgaard and Kostkan, Jan and Szabó, Balázs and Kardos, Márton and Vad, Kirten and Núñez, Andrea Blasi and Barmina, Gianluca and Nielsen, Jacob and Larsen, Rasmus and Vahlstrup, Peter and Dalum, Per Møldrup and Elliott, Desmond and Galke, Lukas and Schneider-Kamp, Peter and Nielbo, Kristoffer},
	month = aug,
	year = {2025},
	keywords = {Computer Science - Artificial Intelligence, Computer Science - Computation and Language},
}

```

Additionally, we recommend citing the relevant source datasets as well. See the individual datasheets for more information.

## License information

The license for each constituent dataset is supplied in the [Source data](#source-data) table. This license is applied to the constituent data, i.e., the text. The collection of datasets (metadata, quality control, etc.) is licensed under [CC-0](https://creativecommons.org/publicdomain/zero/1.0/legalcode.en).

### Personal and Sensitive Information

As far as we are aware the dataset does not contain information identifying sexual orientation, political beliefs, religion, or health connected with utterer ID. In case that such information is present in the data we have been removed utterer information from social media content.

### Bias, Risks, and Limitations

Certain works in this collection are historical works and thus reflect the linguistic, cultural, and ideological norms of their time.
As such, it includes perspectives, assumptions, and biases characteristic of the period. For instance, the works of N.F.S. Grundtvig (`grundtvig`) were known to nationalistic views and critical stances toward specific groups, such as Germans, which may be considered offensive or exclusionary by contemporary standards.


### Notice and takedown policy
We redistribute files shared with us under a license permitting such redistribution. If you have concerns about the licensing of these files, please [contact us](https://huggingface.co/datasets/danish-foundation-models/danish-dynaword/discussions/new). If you consider that the data contains material that infringe your copyright, please:
- Clearly identify yourself with detailed contact information such as an address, a telephone number, or an email address at which you can be contacted.
- Clearly reference the original work claimed to be infringed
- Clearly identify the material claimed to be infringing and information reasonably sufficient to allow us to locate the material.
You can contact us through this channel.
We will comply with legitimate requests by removing the affected sources from the next release of the corpus

---

<h3 style="display: flex; align-items: center;">
  <a href="https://www.foundationmodels.dk">
    <img src="./docs/icon.png" width="30" style="margin-right: 10px;" />
  </a>
  A&nbsp;<a href=https://www.foundationmodels.dk>Danish Foundation Models</a>&nbsp;dataset
</h3>