text
stringlengths
1
30.3M
source
stringclasses
20 values
id
stringlengths
6
43
added
stringclasses
15 values
created
stringclasses
9 values
license
stringclasses
6 values
domain
stringclasses
7 values
metadata
dict
"SAMLEDE VÆRKER\n\nJEPPE AAKJÆR GYLDENDALSKE BOGHANDEL - NORDISK FORLAG KJØBENHAVN OG\nKRISTIANIA(...TRUNCATED)
adl
adl_aakjaer06val
2020-09-14
1700-01-01, 2022-01-01
Creative Commons Legal Code CC0 1.0 Universal
Wiki & Books
{ "source-pretty": "Archive for Danish Literature" }
"Erik Mentveds Barndom\n\nP. E. Langballe B.S. Ingemann Gyldendalske Boghandel 001916176:10\n\nIngem(...TRUNCATED)
adl
adl_ingemann10tom
2020-09-14
1700-01-01, 2022-01-01
Creative Commons Legal Code CC0 1.0 Universal
Wiki & Books
{ "source-pretty": "Archive for Danish Literature" }
"LÆRDOMS LYSTGAARD\n\nJØRGEN OLRIK CHRISTIAN FALSTERs GYLDENDALSKE BOGHANDEL - NORDISK FORLAG\n- K(...TRUNCATED)
adl
adl_falster03
2020-09-14
1700-01-01, 2022-01-01
Creative Commons Legal Code CC0 1.0 Universal
Wiki & Books
{ "source-pretty": "Archive for Danish Literature" }
"KRIG KULTUR OG DANMARK\n\nKARL LARSEN GYLDENDALSKE BOGHANDEL - NORDISK FORLAG 001967748:17\n\nLarse(...TRUNCATED)
adl
adl_larsenk_17
2020-09-14
1700-01-01, 2022-01-01
Creative Commons Legal Code CC0 1.0 Universal
Wiki & Books
{ "source-pretty": "Archive for Danish Literature" }
"Samlede Poetiske Skrifter bind 12\n\nHolger Drachmann Gyldendalske Boghandel 001823907:12\n\nDrachm(...TRUNCATED)
adl
adl_drachmann12tom
2020-09-14
1700-01-01, 2022-01-01
Creative Commons Legal Code CC0 1.0 Universal
Wiki & Books
{ "source-pretty": "Archive for Danish Literature" }
"Skrifter af Paulus Helie bind 4\n\nMarius Kristensen Poul Helgesen DSL og Gyldendalske Boghandel\n0(...TRUNCATED)
adl
adl_helg04tom
2020-09-14
1700-01-01, 2022-01-01
Creative Commons Legal Code CC0 1.0 Universal
Wiki & Books
{ "source-pretty": "Archive for Danish Literature" }
"Værker i Mindeudgave 2\n\nHerman Bang Gyldendal 001823910:02\n\nBang, Herman\n\nVærker i Mindeudg(...TRUNCATED)
adl
adl_bang02val
2020-09-14
1700-01-01, 2022-01-01
Creative Commons Legal Code CC0 1.0 Universal
Wiki & Books
{ "source-pretty": "Archive for Danish Literature" }
"VANEMENNESKER\n\nSOPHUS MICHAËLIS JAKOB H. MANSAS FORLAG 002150303:02\n\nMichaëlis, Sophus\n\nVan(...TRUNCATED)
adl
adl_michs_02
2020-09-14
1700-01-01, 2022-01-01
Creative Commons Legal Code CC0 1.0 Universal
Wiki & Books
{ "source-pretty": "Archive for Danish Literature" }
"Meïr Aron Goldschmidt Poetiske Skrifter VIII\n\nA. Goldschmidt Meïr Aron Goldschmidt Gyldendal 00(...TRUNCATED)
adl
adl_goldschmidt12tom
2020-09-14
1700-01-01, 2022-01-01
Creative Commons Legal Code CC0 1.0 Universal
Wiki & Books
{ "source-pretty": "Archive for Danish Literature" }
"DANIEL — DANIELA\n\nKARL LARSEN M. P. MADSENS BOGHANDEL 000180121:10\n\nCopyright 1922 by Karl La(...TRUNCATED)
adl
adl_larsenk_10
2020-09-14
1700-01-01, 2022-01-01
Creative Commons Legal Code CC0 1.0 Universal
Wiki & Books
{ "source-pretty": "Archive for Danish Literature" }

🧨 Danish Dynaword

Language dan, dansk, Danish
License Permissible, See the respective dataset
Models For model trained used this data see danish-foundation-models
Contact If you have question about this project please create an issue here

Dataset Description

Dataset Summary

The Danish dynaword is a continually developed collection of Danish free-form text datasets from various domains. It is intended to be continually updated with new data sources. If you would like to contribute a dataset see the contribute section

Loading the dataset

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

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:

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:

ds = load_dataset(name, revision="{desired revision}")

Languages:

This dataset includes the following languages:

  • dan-Latn
  • dan-Latn-bornholm
  • dan-Latn-synnejyl

Language is denoted using BCP-47, using the langauge code ISO 639-3 and the script code ISO 15924. The last element denote the region variant.

Dataset Structure

The dataset contains text from different sources which are thoroughly defined in Source Data.

Data Instances

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

{
    "text": "SAMLEDE VÆRKER\n\nJEPPE AAKJÆR GYLDENDALSKE BOGHANDEL...",
    "source": "adl",
    "id": "adl_aakjaer06val",
    "added": "2020-09-14",
    "created": "1700-01-01, 2022-01-01",
    "license": "Creative Commons Legal Code\n\nCC0 1.0 Universal",
    "domain": "Wiki & Books",
    "metadata": {"source-pretty": "Archive for Danish Literature"},
}

Data Fields

An entry in the dataset consists of the following fields:

  • text(str): The content of the document.
  • source (str): The source of the document (see Source Data).
  • id (str): An unique identifier for each document.
  • 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.
  • license (str): The license of the document. The licenses vary according to the source.
  • domain (str): The domain of the source
  • metadata/source-pretty (str): The long form version of the short-form source name
  • metadata/*: Potentially additional metadata

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 large quantities of Danish text 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.

Source License
adl Creative Commons Legal Code 1.0 Universal
botxt Creative Commons Legal Code 1.0 Universal
dannet dannet license
depbank Attribution-ShareAlike 4.0 International
ep Creative Commons Legal Code 1.0 Universal
ft Creative Commons Legal Code 1.0 Universal
gutenberg gutenberg license
hest Creative Commons Legal Code 1.0 Universal
jvj Attribution-ShareAlike 4.0 International
naat Creative Commons Legal Code 1.0 Universal
relig Creative Commons Legal Code 1.0 Universal
retsinformationdk Other (Danish Law)
retspraksis Creative Commons Legal Code 1.0 Universal
skat Creative Commons Legal Code 1.0 Universal
spont Creative Commons Legal Code 1.0 Universal
synne Creative Commons Legal Code 1.0 Universal
tv2r Custom, Creative Commons Attribution 4.0 International
wiki Creative Commons Legal Code 1.0 Universal
wikibooks Creative Commons Legal Code 1.0 Universal
wikisource Creative Commons Legal Code 1.0 Universal

Additional Information

Contributing to the dataset

We welcome contributions to the dataset such as new sources, better data filtering and so on. To get started on contributing please see the contribution guidelines

Citation Information

This version expand upon existing dataset sources such as the Danish gigaword. We recommend that you cite the source of the dataset when using these datasets.

Downloads last month
181