Datasets:

Modalities:
Image
Text
Formats:
parquet
Languages:
Danish
ArXiv:
DOI:
Libraries:
Datasets
Dask
License:
robvanderg commited on
Commit
c0789c9
·
1 Parent(s): acb89be

Added wiki-comments, and activation of installation in CONTRIBUTING.md

Browse files
CHANGELOG.md CHANGED
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
5
 
6
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
7
 
 
 
 
 
 
 
 
 
 
 
8
  ## [v1.2.10] - 2025-08-18
9
 
10
  ### Changed
 
5
 
6
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
7
 
8
+ ## [v1.2.11 - 2025-09-02
9
+
10
+ ### Changed
11
+
12
+ - Updated Contributing.md to include the activation of the environment
13
+
14
+ ### Added
15
+
16
+ - Added dataset: wiki-comments
17
+
18
  ## [v1.2.10] - 2025-08-18
19
 
20
  ### Changed
CONTRIBUTING.md CHANGED
@@ -42,6 +42,12 @@ This repo comes with a few dependencies you need to install to make this run. It
42
  make install
43
  ```
44
 
 
 
 
 
 
 
45
  ## Running dataset tests
46
 
47
  This dataset is special as it comes with a test suite, e.g. testing in the ids are unique and that the format is consistent. You can run the suite using
@@ -108,4 +114,4 @@ We will for instance examine the quality of the synthetic subset and whether the
108
 
109
  ### Do you accept non-Danish data
110
 
111
- Generally this repository is intended for Danish text, however quite broadly defined. For instance, we do accept data containing [code-switching](https://www.google.com/search?client=safari&rls=en&q=code+switching&ie=UTF-8&oe=UTF-8) and historical Danish text.
 
42
  make install
43
  ```
44
 
45
+ Now you can activate the environment with:
46
+
47
+ ```
48
+ source .venv/bin/activate
49
+ ```
50
+
51
  ## Running dataset tests
52
 
53
  This dataset is special as it comes with a test suite, e.g. testing in the ids are unique and that the format is consistent. You can run the suite using
 
114
 
115
  ### Do you accept non-Danish data
116
 
117
+ Generally this repository is intended for Danish text, however quite broadly defined. For instance, we do accept data containing [code-switching](https://www.google.com/search?client=safari&rls=en&q=code+switching&ie=UTF-8&oe=UTF-8) and historical Danish text.
README.md CHANGED
@@ -156,6 +156,10 @@ configs:
156
  data_files:
157
  - split: train
158
  path: data/wikipedia/*.parquet
 
 
 
 
159
  - config_name: nordjyllandnews
160
  data_files:
161
  - split: train
@@ -194,7 +198,7 @@ https://github.com/huggingface/datasets/blob/main/templates/README_guide.md
194
  <!-- START README TABLE -->
195
  | | |
196
  | ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
197
- | **Version** | 1.2.10 ([Changelog](/CHANGELOG.md)) |
198
  | **Language** | dan, dansk, Danish |
199
  | **License** | Openly Licensed, See the respective dataset |
200
  | **Models** | For model trained used this data see [danish-foundation-models](https://huggingface.co/danish-foundation-models) |
@@ -233,8 +237,8 @@ https://github.com/huggingface/datasets/blob/main/templates/README_guide.md
233
  ## Dataset Description
234
 
235
  <!-- START-DESC-STATS -->
236
- - **Number of samples**: 5.60M
237
- - **Number of tokens (Llama 3)**: 5.88B
238
  - **Average document length in tokens (min, max)**: 1.05K (2, 9.81M)
239
  <!-- END-DESC-STATS -->
240
 
@@ -304,11 +308,11 @@ This dynaword consist of data from various domains (e.g., legal, books, social m
304
  | Social Media | [hest] | 389.32M |
305
  | Other | [ncc_parliament], [dannet], [depbank], [synne] | 340.59M |
306
  | Web | [ai-aktindsigt], [ncc_maalfrid], [miljoeportalen] | 295.87M |
307
- | Encyclopedic | [wikisource], [wikipedia] | 179.61M |
308
  | Medical | [health_hovedstaden] | 27.07M |
309
  | Readaloud | [nota] | 7.30M |
310
  | Dialect | [botxt] | 847.97K |
311
- | **Total** | | 5.88B |
312
 
313
  [ai-aktindsigt]: data/ai-aktindsigt/ai-aktindsigt.md
314
  [cellar]: data/cellar/cellar.md
@@ -343,6 +347,7 @@ This dynaword consist of data from various domains (e.g., legal, books, social m
343
  [naat]: data/naat/naat.md
344
  [synne]: data/synne/synne.md
345
  [wikipedia]: data/wikipedia/wikipedia.md
 
346
  [nordjyllandnews]: data/nordjyllandnews/nordjyllandnews.md
347
  [relig]: data/relig/relig.md
348
  [nota]: data/nota/nota.md
@@ -369,13 +374,13 @@ The following gives an overview of the licensing in the Dynaword. To get the exa
369
  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).
370
 
371
  <!-- START-LICENSE TABLE -->
372
- | License | Sources | N. Tokens |
373
- |:--------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------|
374
- | CC-BY-SA 4.0 | [cellar], [enevaeldens_nyheder], [eur-lex-sum-da], [fm-udgivelser], [memo], [tv2r], [jvj], [depbank] | 2.41B |
375
- | CC-0 | [grundtvig], [danske-taler], [ncc_books], [ncc_newspaper], [miljoeportalen], [opensubtitles], [ep], [ft], [wikisource], [spont], [adl], [hest], [skat], [retspraksis], [wikibooks], [botxt], [naat], [synne], [wikipedia], [nordjyllandnews], [relig], [nota], [health_hovedstaden] | 2.06B |
376
- | Other (No attribution required) | [retsinformationdk], [domsdatabasen] | 904.61M |
377
- | Other (Attribution required) | [ai-aktindsigt], [ncc_maalfrid], [ncc_parliament], [dannet], [gutenberg] | 515.61M |
378
- | **Total** | | 5.88B |
379
 
380
  [ai-aktindsigt]: data/ai-aktindsigt/ai-aktindsigt.md
381
  [cellar]: data/cellar/cellar.md
@@ -410,6 +415,7 @@ These license is applied to the constituent data, i.e., the text. The collection
410
  [naat]: data/naat/naat.md
411
  [synne]: data/synne/synne.md
412
  [wikipedia]: data/wikipedia/wikipedia.md
 
413
  [nordjyllandnews]: data/nordjyllandnews/nordjyllandnews.md
414
  [relig]: data/relig/relig.md
415
  [nota]: data/nota/nota.md
@@ -509,6 +515,7 @@ You can learn more about each dataset by pressing the link in the first column.
509
  | [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] |
510
  | [gutenberg] | The Danish subsection from Project [Gutenberg](https://www.gutenberg.org) | Books | 6.76M | [Gutenberg] |
511
  | [wikisource] | The Danish subsection of [Wikisource](https://en.wikisource.org/wiki/Main_Page) | Encyclopedic | 6.28M | [CC-0] |
 
512
  | [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] |
513
  | [spont] | Conversational samples collected as a part of research projects at Aarhus University | Conversation | 1.56M | [CC-0] |
514
  | [dannet] | [DanNet](https://cst.ku.dk/projekter/dannet) is a Danish WordNet | Other | 1.48M | [DanNet 1.0] |
@@ -518,7 +525,7 @@ You can learn more about each dataset by pressing the link in the first column.
518
  | [naat] | Danish speeches from 1930-2022 | Conversation | 286.68K | [CC-0] |
519
  | [depbank] | The Danish subsection of the [Universal Dependencies Treebank](https://github.com/UniversalDependencies/UD_Danish-DDT) | Other | 185.45K | [CC-BY-SA 4.0] |
520
  | [synne] | Dataset collected from [synnejysk forening's website](https://www.synnejysk.dk), covering the Danish dialect sønderjysk | Other | 52.02K | [CC-0] |
521
- | **Total** | | | 5.88B | |
522
 
523
  [ai-aktindsigt]: data/ai-aktindsigt/ai-aktindsigt.md
524
  [cellar]: data/cellar/cellar.md
@@ -553,6 +560,7 @@ You can learn more about each dataset by pressing the link in the first column.
553
  [naat]: data/naat/naat.md
554
  [synne]: data/synne/synne.md
555
  [wikipedia]: data/wikipedia/wikipedia.md
 
556
  [nordjyllandnews]: data/nordjyllandnews/nordjyllandnews.md
557
  [relig]: data/relig/relig.md
558
  [nota]: data/nota/nota.md
 
156
  data_files:
157
  - split: train
158
  path: data/wikipedia/*.parquet
159
+ - config_name: wiki-comments
160
+ data_files:
161
+ - split: train
162
+ path: data/wiki-comments/*.parquet
163
  - config_name: nordjyllandnews
164
  data_files:
165
  - split: train
 
198
  <!-- START README TABLE -->
199
  | | |
200
  | ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
201
+ | **Version** | 1.2.11 ([Changelog](/CHANGELOG.md)) |
202
  | **Language** | dan, dansk, Danish |
203
  | **License** | Openly Licensed, See the respective dataset |
204
  | **Models** | For model trained used this data see [danish-foundation-models](https://huggingface.co/danish-foundation-models) |
 
237
  ## Dataset Description
238
 
239
  <!-- START-DESC-STATS -->
240
+ - **Number of samples**: 5.61M
241
+ - **Number of tokens (Llama 3)**: 5.89B
242
  - **Average document length in tokens (min, max)**: 1.05K (2, 9.81M)
243
  <!-- END-DESC-STATS -->
244
 
 
308
  | Social Media | [hest] | 389.32M |
309
  | Other | [ncc_parliament], [dannet], [depbank], [synne] | 340.59M |
310
  | Web | [ai-aktindsigt], [ncc_maalfrid], [miljoeportalen] | 295.87M |
311
+ | Encyclopedic | [wikisource], [wikipedia], [wiki-comments] | 185.75M |
312
  | Medical | [health_hovedstaden] | 27.07M |
313
  | Readaloud | [nota] | 7.30M |
314
  | Dialect | [botxt] | 847.97K |
315
+ | **Total** | | 5.89B |
316
 
317
  [ai-aktindsigt]: data/ai-aktindsigt/ai-aktindsigt.md
318
  [cellar]: data/cellar/cellar.md
 
347
  [naat]: data/naat/naat.md
348
  [synne]: data/synne/synne.md
349
  [wikipedia]: data/wikipedia/wikipedia.md
350
+ [wiki-comments]: data/wiki-comments/wiki-comments.md
351
  [nordjyllandnews]: data/nordjyllandnews/nordjyllandnews.md
352
  [relig]: data/relig/relig.md
353
  [nota]: data/nota/nota.md
 
374
  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).
375
 
376
  <!-- START-LICENSE TABLE -->
377
+ | License | Sources | N. Tokens |
378
+ |:--------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------|
379
+ | CC-BY-SA 4.0 | [cellar], [enevaeldens_nyheder], [eur-lex-sum-da], [fm-udgivelser], [memo], [tv2r], [jvj], [depbank] | 2.41B |
380
+ | CC-0 | [grundtvig], [danske-taler], [ncc_books], [ncc_newspaper], [miljoeportalen], [opensubtitles], [ep], [ft], [wikisource], [spont], [adl], [hest], [skat], [retspraksis], [wikibooks], [botxt], [naat], [synne], [wikipedia], [wiki-comments], [nordjyllandnews], [relig], [nota], [health_hovedstaden] | 2.06B |
381
+ | Other (No attribution required) | [retsinformationdk], [domsdatabasen] | 904.61M |
382
+ | Other (Attribution required) | [ai-aktindsigt], [ncc_maalfrid], [ncc_parliament], [dannet], [gutenberg] | 515.61M |
383
+ | **Total** | | 5.89B |
384
 
385
  [ai-aktindsigt]: data/ai-aktindsigt/ai-aktindsigt.md
386
  [cellar]: data/cellar/cellar.md
 
415
  [naat]: data/naat/naat.md
416
  [synne]: data/synne/synne.md
417
  [wikipedia]: data/wikipedia/wikipedia.md
418
+ [wiki-comments]: data/wiki-comments/wiki-comments.md
419
  [nordjyllandnews]: data/nordjyllandnews/nordjyllandnews.md
420
  [relig]: data/relig/relig.md
421
  [nota]: data/nota/nota.md
 
515
  | [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] |
516
  | [gutenberg] | The Danish subsection from Project [Gutenberg](https://www.gutenberg.org) | Books | 6.76M | [Gutenberg] |
517
  | [wikisource] | The Danish subsection of [Wikisource](https://en.wikisource.org/wiki/Main_Page) | Encyclopedic | 6.28M | [CC-0] |
518
+ | [wiki-comments] | Text from the comments sections of the Danish Wikipedia | Encyclopedic | 6.14M | [CC-0] |
519
  | [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] |
520
  | [spont] | Conversational samples collected as a part of research projects at Aarhus University | Conversation | 1.56M | [CC-0] |
521
  | [dannet] | [DanNet](https://cst.ku.dk/projekter/dannet) is a Danish WordNet | Other | 1.48M | [DanNet 1.0] |
 
525
  | [naat] | Danish speeches from 1930-2022 | Conversation | 286.68K | [CC-0] |
526
  | [depbank] | The Danish subsection of the [Universal Dependencies Treebank](https://github.com/UniversalDependencies/UD_Danish-DDT) | Other | 185.45K | [CC-BY-SA 4.0] |
527
  | [synne] | Dataset collected from [synnejysk forening's website](https://www.synnejysk.dk), covering the Danish dialect sønderjysk | Other | 52.02K | [CC-0] |
528
+ | **Total** | | | 5.89B | |
529
 
530
  [ai-aktindsigt]: data/ai-aktindsigt/ai-aktindsigt.md
531
  [cellar]: data/cellar/cellar.md
 
560
  [naat]: data/naat/naat.md
561
  [synne]: data/synne/synne.md
562
  [wikipedia]: data/wikipedia/wikipedia.md
563
+ [wiki-comments]: data/wiki-comments/wiki-comments.md
564
  [nordjyllandnews]: data/nordjyllandnews/nordjyllandnews.md
565
  [relig]: data/relig/relig.md
566
  [nota]: data/nota/nota.md
data/wiki-comments/create.py ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # /// script
2
+ # requires-python = "==3.12"
3
+ # dependencies = [
4
+ # "datasets==3.2.0",
5
+ # "dynaword",
6
+ # "fasttext",
7
+ # "huggingface_hub"
8
+ # ]
9
+ # [tool.uv.sources]
10
+ # dynaword = { git = "https://huggingface.co/datasets/danish-foundation-models/danish-dynaword", rev = "6b3822fd6965dda59ae361da99c19b5c56c1263f" }
11
+ # ///
12
+ """
13
+ This script downloads and cleans Wikipedia, it only keeps the user comments.
14
+ """
15
+ import html
16
+ import json
17
+ import os
18
+ import requests
19
+ import sys
20
+
21
+ from datasets import IterableDataset
22
+ from datasets import Dataset
23
+ import fasttext
24
+ from huggingface_hub import hf_hub_download
25
+
26
+ from dynaword.process_dataset import (
27
+ add_token_count,
28
+ ensure_column_order,
29
+ remove_duplicate_text,
30
+ remove_empty_texts,
31
+ )
32
+
33
+
34
+ def run_cmd(cmd):
35
+ print(cmd)
36
+ os.system(cmd)
37
+
38
+ def download_data(lang, date):
39
+ filename = lang + 'wiki-' + date + '-pages-articles.xml.bz2'
40
+ if not os.path.isfile(filename):
41
+ url = 'https://dumps.wikimedia.org/' + lang + 'wiki/' + date + '/' + filename
42
+ response = requests.get(url)
43
+
44
+ with open(filename, "wb") as file:
45
+ file.write(response.content)
46
+
47
+ return filename
48
+
49
+ def install_wikiextractor():
50
+ if not os.path.isdir('wikiextractor'):
51
+ cmd = 'git clone https://github.com/robvanderg/wikiextractor.git'
52
+ run_cmd(cmd)
53
+
54
+ def run_wikiextractor(in_path, out_path):
55
+ # clean the data
56
+ if not os.path.isdir('wikiextractor/' + out_path):
57
+ cmd = 'cd wikiextractor && python3 -m wikiextractor.WikiExtractor ../' + in_path + ' -o ' + out_path + ' --get_misc --json && cd ../ '
58
+ run_cmd(cmd)
59
+
60
+ def read_and_clean(path):
61
+ # Load fasttext model
62
+ model_path = hf_hub_download(repo_id="facebook/fasttext-language-identification", filename="model.bin")
63
+ fasttext_model = fasttext.load_model(model_path)
64
+
65
+ comment_id = 0
66
+ all_rows = []
67
+ for (root,dirs,files) in os.walk(path, topdown=True):
68
+ for file in files:
69
+ path = os.path.join(root, file)
70
+ for line in open(path):
71
+ linedata = json.loads(line)
72
+ title = linedata['title']
73
+ category = title.split(':')[0]
74
+ if category == 'Wikipedia':
75
+ if title.startswith('Wikipedia:Dagens '):
76
+ continue
77
+ id = 'wikicomment_' + str(comment_id)
78
+ comment_id += 1
79
+ else: # There is more data, but we just want to comments for now
80
+ continue
81
+ source = 'wiki_misc'
82
+ # TODO add linedata['url'] somewhere?
83
+ text = html.unescape(linedata['text'])
84
+ lines = line.split('\n')
85
+ filtered_text = ''
86
+ for line in text.split('\n'):
87
+ if '{{}}' in text: # unresolved templates
88
+ continue
89
+
90
+ lang_pred = fasttext_model.predict(line)
91
+ if lang_pred[0][0] == '__label__dan_Latn' and lang_pred[1][0] > .5:
92
+ filtered_text += line.replace('[', '').replace(']', '') + '\n'
93
+ added = '2025-07-21'
94
+ created = '2002-02-01, 2025-07-20'
95
+ row = {"id": id, "text": filtered_text, "source": source, "added": added, "created": created}
96
+ all_rows.append(row)
97
+ return all_rows
98
+
99
+
100
+ if __name__ == '__main__':
101
+ date = '20250720' # obtained from https://dumps.wikimedia.org/dawiki/
102
+ lang = 'da'
103
+ bz2_path = download_data(lang, date)
104
+
105
+ install_wikiextractor()
106
+ data_folder = lang + 'wiki-misc-' + date
107
+ run_wikiextractor(bz2_path, data_folder)
108
+
109
+ full_data = read_and_clean('wikiextractor/' + data_folder)
110
+ print(len(full_data))
111
+ exit(1)
112
+
113
+ ds = Dataset.from_list(full_data)
114
+
115
+ ds = remove_empty_texts(ds)
116
+ ds = remove_duplicate_text(ds)
117
+ ds = add_token_count(ds)
118
+ ds = ensure_column_order(ds)
119
+
120
+ ds.to_parquet('data/wiki-comments/wiki-comments.parquet')
121
+
data/wiki-comments/descriptive_stats.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "number_of_samples": 11592,
3
+ "number_of_tokens": 6135139,
4
+ "min_length_tokens": 4,
5
+ "max_length_tokens": 27781,
6
+ "number_of_characters": 18190596,
7
+ "min_length_characters": 6,
8
+ "max_length_characters": 80999
9
+ }
data/wiki-comments/images/dist_document_length.png ADDED

Git LFS Details

  • SHA256: c208772863c1e8558eefa047fc837f728deba62993f33768d09060ee1ced1fee
  • Pointer size: 131 Bytes
  • Size of remote file: 179 kB
data/wiki-comments/wiki-comments.md ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: Wikipedia Comments
3
+ language:
4
+ - da
5
+ license: cc0-1.0
6
+ license_name: CC-0
7
+ size_categories:
8
+ - 100k-1M
9
+ task_categories:
10
+ - text-generation
11
+ - fill-mask
12
+ task_ids:
13
+ - language-modeling
14
+ domains:
15
+ - Encyclopedic
16
+ ---
17
+
18
+ # Dataset Card for Wikipedia Comments
19
+
20
+ <!-- START-SHORT DESCRIPTION -->
21
+ Text from the comments sections of the Danish Wikipedia.
22
+ <!-- END-SHORT DESCRIPTION -->
23
+
24
+
25
+ You can read more about Danish Wikipedia on their [about](https://da.wikipedia.org/wiki/Hj%C3%A6lp:Om) page. This dataset contains meta-discussion as opposed to the direct pages. This includes discussions about contents of specific pages, but also questions about how to achieve certain things. An example page can be found on: https://da.wikipedia.org/wiki/Wikipedia:Landsbybr%C3%B8nden/Vejledning_efterlyses. For this specific version, the Wikipedia downloads of 20250720 have been used, this can easily be updated in the `create.py` script.
26
+
27
+ ## Dataset Description
28
+
29
+
30
+ <!-- START-DESC-STATS -->
31
+ - **Number of samples**: 11.59K
32
+ - **Number of tokens (Llama 3)**: 6.14M
33
+ - **Average document length in tokens (min, max)**: 529.26 (4, 27.78K)
34
+ <!-- END-DESC-STATS -->
35
+
36
+
37
+
38
+ ## Dataset Structure
39
+ An example from the dataset looks as follows.
40
+
41
+
42
+ <!-- START-SAMPLE -->
43
+ ```py
44
+ {
45
+ "id": "wikicomment_0",
46
+ "text": "## Vejledning efterlyses.\nJeg har ledt og ledt alle steder efter tip om, hvordan man kan bruge et bi[...]",
47
+ "source": "wiki_misc",
48
+ "added": "2025-07-21",
49
+ "created": "2002-02-01, 2025-07-20",
50
+ "token_count": 385
51
+ }
52
+ ```
53
+
54
+ ### Data Fields
55
+
56
+ An entry in the dataset consists of the following fields:
57
+
58
+ - `id` (`str`): An unique identifier for each document.
59
+ - `text`(`str`): The content of the document.
60
+ - `source` (`str`): The source of the document (see [Source Data](#source-data)).
61
+ - `added` (`str`): An date for when the document was added to this collection.
62
+ - `created` (`str`): An date range for when the document was originally created.
63
+ - `token_count` (`int`): The number of tokens in the sample computed using the Llama 8B tokenizer
64
+ <!-- END-SAMPLE -->
65
+
66
+ ### Dataset Statistics
67
+
68
+ <!-- START-DATASET PLOTS -->
69
+ <p align="center">
70
+ <img src="./images/dist_document_length.png" width="600" style="margin-right: 10px;" />
71
+ </p>
72
+ <!-- END-DATASET PLOTS -->
73
+
74
+
75
+
76
+ ## Additional Information
77
+
78
+ This dataset is collected using an adapted version of the [WikiExtractor](https://github.com/attardi/wikiextractor). Rob van der Goot created a fork that allows for extracting additional text from Wiki's. The fork can be found here: [WikiExtractor](https://github.com/robvanderg/wikiextractor.git).
79
+
80
+ After inspection of the different outputs, there are multiple categories of files, which can most easily be distinguished through the title field. Below, I list the different categories, their size (number of pages), and what they seem to contain after a manual inspection.
81
+
82
+ ```
83
+ 71472 Kategori: category overview pages
84
+ 19992 Wikipedia: Comments, but also daily articles
85
+ 2379 Portal: Also monthly articles, and some lists/calendars
86
+ 1360 MediaWiki: About files, contains almost no natural language
87
+ 726 Modul: technical stuff, contains almost no (Danish) text
88
+ 171 Hjælp: help pages; info and comments
89
+ ```
90
+
91
+ In the current version of the dataset, we used the titles starting with `Wikipedia:` , and remove the daily articles by leaving out titles starting with "Wikipedia:Dagens".
92
+
93
+ In this data we include comments where people discuss things like: content of pages, writing style, which pages/information to include/exclude, etc. It also includes pages written for people that contribute to Wikipedia.
94
+
95
+
96
+ ## Opportunities for Improvement
97
+ The wikiextractor outputs some incomplete sentences, where entities seem to be missing. This is a known issue: https://github.com/attardi/wikiextractor/issues/33 , but in the Wikipedia section of DynaWord, other extractors seems to have given better results, so it would be nice if they could be adapted to extract comments as well. We have choosen to remove entire lines when we know that words are missing, to avoid disrupting the context.
98
+
99
+ Language filtering is done with pre-trained fastText, which is definitely not a perfect solution (but the majority of text should already be Danish, and quality of English-Danish should be ok).
100
+
data/wiki-comments/wiki-comments.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64c8b39dcd96ef6ac2bcfb5403cf9cd74f2ee17b954de3478f543922ee8dea5e
3
+ size 10828848
descriptive_stats.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
- "number_of_samples": 5600476,
3
- "number_of_tokens": 5883315984,
4
  "min_length_tokens": 2,
5
  "max_length_tokens": 9812841,
6
- "number_of_characters": 17772456492,
7
  "min_length_characters": 1,
8
  "max_length_characters": 37287484
9
  }
 
1
  {
2
+ "number_of_samples": 5612068,
3
+ "number_of_tokens": 5889451123,
4
  "min_length_tokens": 2,
5
  "max_length_tokens": 9812841,
6
+ "number_of_characters": 17790647088,
7
  "min_length_characters": 1,
8
  "max_length_characters": 37287484
9
  }
images/dataset_size_plot.html CHANGED
@@ -3880,6 +3880,6 @@ maplibre-gl/dist/maplibre-gl.js:
3880
 
3881
  window.Plotly = Plotly;
3882
  return Plotly;
3883
- }));</script> <div id="05874f64-d3f7-4537-a4f6-1a400ab4d587" class="plotly-graph-div" style="height:760px; width:100%;"></div> <script type="text/javascript"> window.PLOTLYENV=window.PLOTLYENV || {}; if (document.getElementById("05874f64-d3f7-4537-a4f6-1a400ab4d587")) { Plotly.newPlot( "05874f64-d3f7-4537-a4f6-1a400ab4d587", [{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[58,383508],"y":["ncc_books","ncc_books"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[129,373587],"y":["ncc_parliament","ncc_parliament"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[12,5105],"y":["ncc_maalfrid","ncc_maalfrid"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[8,107351],"y":["wikipedia","wikipedia"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[34,9593591],"y":["retsinformationdk","retsinformationdk"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[3,9812841],"y":["hest","hest"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[85,14025],"y":["spont","spont"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[16,5267],"y":["tv2r","tv2r"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[9,152599],"y":["ai-aktindsigt","ai-aktindsigt"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[45,70137],"y":["opensubtitles","opensubtitles"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[8,222729],"y":["ep","ep"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[54,1436111],"y":["miljoeportalen","miljoeportalen"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[7915,250511],"y":["gutenberg","gutenberg"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[261,517],"y":["depbank","depbank"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[15474,271790],"y":["jvj","jvj"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[17,261099],"y":["wikisource","wikisource"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[8,368880],"y":["wikibooks","wikibooks"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[29,12257],"y":["nordjyllandnews","nordjyllandnews"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[4477,107261],"y":["nota","nota"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[53,662143],"y":["adl","adl"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[15,1008826],"y":["domsdatabasen","domsdatabasen"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[2144,1723932],"y":["eur-lex-sum-da","eur-lex-sum-da"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[298,979662],"y":["retspraksis","retspraksis"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[6671,720171],"y":["memo","memo"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[473,66422],"y":["relig","relig"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[129,53401],"y":["danske-taler","danske-taler"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[2,106],"y":["dannet","dannet"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[12,3851],"y":["ncc_newspaper","ncc_newspaper"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[128,891],"y":["synne","synne"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[228,3952],"y":["naat","naat"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[3,37294],"y":["enevaeldens_nyheder","enevaeldens_nyheder"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[407,83792],"y":["botxt","botxt"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[7,2599840],"y":["cellar","cellar"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[49,342318],"y":["ft","ft"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[4,51033],"y":["health_hovedstaden","health_hovedstaden"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[2,175223],"y":["skat","skat"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[100,453718],"y":["grundtvig","grundtvig"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[209,595325],"y":["fm-udgivelser","fm-udgivelser"],"type":"scatter"},{"hovertemplate":"\u003cb\u003e%{y}\u003c\u002fb\u003e\u003cbr\u003eMin: %{x:,} tokens\u003cextra\u003e\u003c\u002fextra\u003e","marker":{"color":"lightblue","size":6,"symbol":"circle"},"mode":"markers","name":"Min tokens","x":{"dtype":"i2","bdata":"OgCBAAwACAAiAAMAVQAQAAkALQAIADYA6x4FAXI8EQAIAB0AfRE1AA8AYAgqAQ8a2QGBAAIADACAAOQAAwCXAQcAMQAEAAIAZADRAA=="},"y":["ncc_books","ncc_parliament","ncc_maalfrid","wikipedia","retsinformationdk","hest","spont","tv2r","ai-aktindsigt","opensubtitles","ep","miljoeportalen","gutenberg","depbank","jvj","wikisource","wikibooks","nordjyllandnews","nota","adl","domsdatabasen","eur-lex-sum-da","retspraksis","memo","relig","danske-taler","dannet","ncc_newspaper","synne","naat","enevaeldens_nyheder","botxt","cellar","ft","health_hovedstaden","skat","grundtvig","fm-udgivelser"],"type":"scatter"},{"hovertemplate":"\u003cb\u003e%{y}\u003c\u002fb\u003e\u003cbr\u003eMax: %{x:,} tokens\u003cextra\u003e\u003c\u002fextra\u003e","marker":{"color":"darkred","size":6,"symbol":"circle"},"mode":"markers","name":"Max tokens","x":{"dtype":"i4","bdata":"FNoFAFOzBQDxEwAAV6MBAPdikgBpu5UAyTYAAJMUAAAXVAIA+REBAAlmAwDP6RUAj9IDAAUCAACuJQQA6\u002fsDAPCgBQDhLwAA\u002faIBAH8aCgC6ZA8AHE4aAM7yDgAr\u002fQoAdgMBAJnQAABqAAAACw8AAHsDAABwDwAArpEAAFBHAQCgqycALjkFAFnHAAB3rAIAVuwGAH0VCQA="},"y":["ncc_books","ncc_parliament","ncc_maalfrid","wikipedia","retsinformationdk","hest","spont","tv2r","ai-aktindsigt","opensubtitles","ep","miljoeportalen","gutenberg","depbank","jvj","wikisource","wikibooks","nordjyllandnews","nota","adl","domsdatabasen","eur-lex-sum-da","retspraksis","memo","relig","danske-taler","dannet","ncc_newspaper","synne","naat","enevaeldens_nyheder","botxt","cellar","ft","health_hovedstaden","skat","grundtvig","fm-udgivelser"],"type":"scatter"},{"hovertemplate":"\u003cb\u003e%{y}\u003c\u002fb\u003e\u003cbr\u003eMean: %{x:,.0f} tokens\u003cextra\u003e\u003c\u002fextra\u003e","marker":{"color":"orange","size":8,"symbol":"diamond"},"mode":"markers","name":"Mean tokens","x":{"dtype":"f8","bdata":"hpQG241++kD\u002fkOYeTjQTQeuCa4bsbYtA456lnFJ+gUC\u002fUXWJ3su\u002fQAPl+9BWgtpAy85ccX6TrUAQAFaV45B7QK43tjANqIVAzNWSNPvJwUCrYMJc2A7ZQLyVfQ6VVu1AAAAAAKgE+UAIKme38J91QPQ8z\u002fOEofRABRA\u002fKWlSoECyopOE9TGxQOe11SYyf39APnaHtr\u002f2z0B6EScqB638QDHvjvrI6sNAeURSg0OS3kB8ebE4OTHJQPpxZW63LgBBCB988AFo0kB\u002f6Zd+uWenQNctfD9RFD9AKn3Bn7N+aEAwj60IGl5yQK0pa8qaXKFAgnNL8sslbEBNMN7Kvj+\u002fQLWwQiT0vtFArKXvm2Uu9UAKtEsO35+RQN1QCMZLNcBA2TMQlYZD0EBnl07oer37QA=="},"y":["ncc_books","ncc_parliament","ncc_maalfrid","wikipedia","retsinformationdk","hest","spont","tv2r","ai-aktindsigt","opensubtitles","ep","miljoeportalen","gutenberg","depbank","jvj","wikisource","wikibooks","nordjyllandnews","nota","adl","domsdatabasen","eur-lex-sum-da","retspraksis","memo","relig","danske-taler","dannet","ncc_newspaper","synne","naat","enevaeldens_nyheder","botxt","cellar","ft","health_hovedstaden","skat","grundtvig","fm-udgivelser"],"type":"scatter"}], {"template":{"data":{"barpolar":[{"marker":{"line":{"color":"white","width":0.5},"pattern":{"fillmode":"overlay","size":10,"solidity":0.2}},"type":"barpolar"}],"bar":[{"error_x":{"color":"#2a3f5f"},"error_y":{"color":"#2a3f5f"},"marker":{"line":{"color":"white","width":0.5},"pattern":{"fillmode":"overlay","size":10,"solidity":0.2}},"type":"bar"}],"carpet":[{"aaxis":{"endlinecolor":"#2a3f5f","gridcolor":"#C8D4E3","linecolor":"#C8D4E3","minorgridcolor":"#C8D4E3","startlinecolor":"#2a3f5f"},"baxis":{"endlinecolor":"#2a3f5f","gridcolor":"#C8D4E3","linecolor":"#C8D4E3","minorgridcolor":"#C8D4E3","startlinecolor":"#2a3f5f"},"type":"carpet"}],"choropleth":[{"colorbar":{"outlinewidth":0,"ticks":""},"type":"choropleth"}],"contourcarpet":[{"colorbar":{"outlinewidth":0,"ticks":""},"type":"contourcarpet"}],"contour":[{"colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"type":"contour"}],"heatmap":[{"colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"type":"heatmap"}],"histogram2dcontour":[{"colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"type":"histogram2dcontour"}],"histogram2d":[{"colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"type":"histogram2d"}],"histogram":[{"marker":{"pattern":{"fillmode":"overlay","size":10,"solidity":0.2}},"type":"histogram"}],"mesh3d":[{"colorbar":{"outlinewidth":0,"ticks":""},"type":"mesh3d"}],"parcoords":[{"line":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"parcoords"}],"pie":[{"automargin":true,"type":"pie"}],"scatter3d":[{"line":{"colorbar":{"outlinewidth":0,"ticks":""}},"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scatter3d"}],"scattercarpet":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scattercarpet"}],"scattergeo":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scattergeo"}],"scattergl":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scattergl"}],"scattermapbox":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scattermapbox"}],"scattermap":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scattermap"}],"scatterpolargl":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scatterpolargl"}],"scatterpolar":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scatterpolar"}],"scatter":[{"fillpattern":{"fillmode":"overlay","size":10,"solidity":0.2},"type":"scatter"}],"scatterternary":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scatterternary"}],"surface":[{"colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"type":"surface"}],"table":[{"cells":{"fill":{"color":"#EBF0F8"},"line":{"color":"white"}},"header":{"fill":{"color":"#C8D4E3"},"line":{"color":"white"}},"type":"table"}]},"layout":{"annotationdefaults":{"arrowcolor":"#2a3f5f","arrowhead":0,"arrowwidth":1},"autotypenumbers":"strict","coloraxis":{"colorbar":{"outlinewidth":0,"ticks":""}},"colorscale":{"diverging":[[0,"#8e0152"],[0.1,"#c51b7d"],[0.2,"#de77ae"],[0.3,"#f1b6da"],[0.4,"#fde0ef"],[0.5,"#f7f7f7"],[0.6,"#e6f5d0"],[0.7,"#b8e186"],[0.8,"#7fbc41"],[0.9,"#4d9221"],[1,"#276419"]],"sequential":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"sequentialminus":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]]},"colorway":["#636efa","#EF553B","#00cc96","#ab63fa","#FFA15A","#19d3f3","#FF6692","#B6E880","#FF97FF","#FECB52"],"font":{"color":"#2a3f5f"},"geo":{"bgcolor":"white","lakecolor":"white","landcolor":"white","showlakes":true,"showland":true,"subunitcolor":"#C8D4E3"},"hoverlabel":{"align":"left"},"hovermode":"closest","mapbox":{"style":"light"},"paper_bgcolor":"white","plot_bgcolor":"white","polar":{"angularaxis":{"gridcolor":"#EBF0F8","linecolor":"#EBF0F8","ticks":""},"bgcolor":"white","radialaxis":{"gridcolor":"#EBF0F8","linecolor":"#EBF0F8","ticks":""}},"scene":{"xaxis":{"backgroundcolor":"white","gridcolor":"#DFE8F3","gridwidth":2,"linecolor":"#EBF0F8","showbackground":true,"ticks":"","zerolinecolor":"#EBF0F8"},"yaxis":{"backgroundcolor":"white","gridcolor":"#DFE8F3","gridwidth":2,"linecolor":"#EBF0F8","showbackground":true,"ticks":"","zerolinecolor":"#EBF0F8"},"zaxis":{"backgroundcolor":"white","gridcolor":"#DFE8F3","gridwidth":2,"linecolor":"#EBF0F8","showbackground":true,"ticks":"","zerolinecolor":"#EBF0F8"}},"shapedefaults":{"line":{"color":"#2a3f5f"}},"ternary":{"aaxis":{"gridcolor":"#DFE8F3","linecolor":"#A2B1C6","ticks":""},"baxis":{"gridcolor":"#DFE8F3","linecolor":"#A2B1C6","ticks":""},"bgcolor":"white","caxis":{"gridcolor":"#DFE8F3","linecolor":"#A2B1C6","ticks":""}},"title":{"x":0.05},"xaxis":{"automargin":true,"gridcolor":"#EBF0F8","linecolor":"#EBF0F8","ticks":"","title":{"standoff":15},"zerolinecolor":"#EBF0F8","zerolinewidth":2},"yaxis":{"automargin":true,"gridcolor":"#EBF0F8","linecolor":"#EBF0F8","ticks":"","title":{"standoff":15},"zerolinecolor":"#EBF0F8","zerolinewidth":2}}},"xaxis":{"title":{"text":"Number of Tokens (log scale)"},"type":"log"},"margin":{"l":120},"yaxis":{"title":{"text":"Dataset"},"tickmode":"array","tickvals":["ncc_books","ncc_parliament","ncc_maalfrid","wikipedia","retsinformationdk","hest","spont","tv2r","ai-aktindsigt","opensubtitles","ep","miljoeportalen","gutenberg","depbank","jvj","wikisource","wikibooks","nordjyllandnews","nota","adl","domsdatabasen","eur-lex-sum-da","retspraksis","memo","relig","danske-taler","dannet","ncc_newspaper","synne","naat","enevaeldens_nyheder","botxt","cellar","ft","health_hovedstaden","skat","grundtvig","fm-udgivelser"],"ticktext":["Norwegian Colossal Corpus (books)","Norwegian Colossal Corpus (parliament)","Norwegian Colossal Corpus (maalfrid)","Wikipedia","retsinformation.dk (Danish legal information)","Hestenettet (Danish debate forum)","Spontaneous speech","TV 2 Radio","AI Aktindsigt","OpenSubtitles","European Parliament","Milj\u00f8portalen","Gutenberg","Danish Dependency Treebank","Johannes V. Jensen","Wikisource","Wikibooks","Nordjylland News","Nota lyd- og tekstdata (Tekst only)","Archive for Danish Literature","Domsdatabasen.dk","EUR-Lex SUM","retspraksis (Danish legal information)","MeMo Canonical Novels","Religious texts","Danske Taler","DanNet","Norwegian Colossal Corpus (newspaper)","Synnejysk Forening","NAAT","Enev\u00e6ldens Nyheder Online","Bornholmsk","Cellar","Folketinget","Health Hovedstaden","skat.dk","Grundtvig's Works","Finansministeriets Udgivelser"],"categoryorder":"array","categoryarray":["ncc_books","ncc_parliament","ncc_maalfrid","wikipedia","retsinformationdk","hest","spont","tv2r","ai-aktindsigt","opensubtitles","ep","miljoeportalen","gutenberg","depbank","jvj","wikisource","wikibooks","nordjyllandnews","nota","adl","domsdatabasen","eur-lex-sum-da","retspraksis","memo","relig","danske-taler","dannet","ncc_newspaper","synne","naat","enevaeldens_nyheder","botxt","cellar","ft","health_hovedstaden","skat","grundtvig","fm-udgivelser"],"range":[-0.5,37.5]},"title":{"text":"Token Length Distribution by Dataset\u003cbr\u003e\u003csub\u003eRange (min-max) with mean values\u003c\u002fsub\u003e"},"height":760}, {"responsive": true} ) }; </script> </div>
3884
  </body>
3885
  </html>
 
3880
 
3881
  window.Plotly = Plotly;
3882
  return Plotly;
3883
+ }));</script> <div id="360c6b11-7bac-4c5e-a42d-4dd1dcc73bb5" class="plotly-graph-div" style="height:780px; width:100%;"></div> <script type="text/javascript"> window.PLOTLYENV=window.PLOTLYENV || {}; if (document.getElementById("360c6b11-7bac-4c5e-a42d-4dd1dcc73bb5")) { Plotly.newPlot( "360c6b11-7bac-4c5e-a42d-4dd1dcc73bb5", [{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[58,383508],"y":["ncc_books","ncc_books"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[29,12257],"y":["nordjyllandnews","nordjyllandnews"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[53,662143],"y":["adl","adl"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[54,1436111],"y":["miljoeportalen","miljoeportalen"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[4,27781],"y":["wiki-comments","wiki-comments"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[85,14025],"y":["spont","spont"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[2144,1723932],"y":["eur-lex-sum-da","eur-lex-sum-da"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[473,66422],"y":["relig","relig"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[8,368880],"y":["wikibooks","wikibooks"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[298,979662],"y":["retspraksis","retspraksis"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[34,9593591],"y":["retsinformationdk","retsinformationdk"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[16,5267],"y":["tv2r","tv2r"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[9,152599],"y":["ai-aktindsigt","ai-aktindsigt"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[407,83792],"y":["botxt","botxt"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[49,342318],"y":["ft","ft"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[2,175223],"y":["skat","skat"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[4,51033],"y":["health_hovedstaden","health_hovedstaden"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[228,3952],"y":["naat","naat"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[12,3851],"y":["ncc_newspaper","ncc_newspaper"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[15474,271790],"y":["jvj","jvj"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[8,222729],"y":["ep","ep"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[2,106],"y":["dannet","dannet"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[6671,720171],"y":["memo","memo"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[15,1008826],"y":["domsdatabasen","domsdatabasen"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[100,453718],"y":["grundtvig","grundtvig"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[8,107351],"y":["wikipedia","wikipedia"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[3,37294],"y":["enevaeldens_nyheder","enevaeldens_nyheder"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[3,9812841],"y":["hest","hest"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[128,891],"y":["synne","synne"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[129,373587],"y":["ncc_parliament","ncc_parliament"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[209,595325],"y":["fm-udgivelser","fm-udgivelser"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[4477,107261],"y":["nota","nota"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[261,517],"y":["depbank","depbank"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[45,70137],"y":["opensubtitles","opensubtitles"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[17,261099],"y":["wikisource","wikisource"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[7915,250511],"y":["gutenberg","gutenberg"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[7,2599840],"y":["cellar","cellar"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[129,53401],"y":["danske-taler","danske-taler"],"type":"scatter"},{"hoverinfo":"skip","line":{"color":"lightgray","width":3},"mode":"lines","showlegend":false,"x":[12,5105],"y":["ncc_maalfrid","ncc_maalfrid"],"type":"scatter"},{"hovertemplate":"\u003cb\u003e%{y}\u003c\u002fb\u003e\u003cbr\u003eMin: %{x:,} tokens\u003cextra\u003e\u003c\u002fextra\u003e","marker":{"color":"lightblue","size":6,"symbol":"circle"},"mode":"markers","name":"Min tokens","x":{"dtype":"i2","bdata":"OgAdADUANgAEAFUAYAjZAQgAKgEiABAACQCXATEAAgAEAOQADAByPAgAAgAPGg8AZAAIAAMAAwCAAIEA0QB9EQUBLQARAOseBwCBAAwA"},"y":["ncc_books","nordjyllandnews","adl","miljoeportalen","wiki-comments","spont","eur-lex-sum-da","relig","wikibooks","retspraksis","retsinformationdk","tv2r","ai-aktindsigt","botxt","ft","skat","health_hovedstaden","naat","ncc_newspaper","jvj","ep","dannet","memo","domsdatabasen","grundtvig","wikipedia","enevaeldens_nyheder","hest","synne","ncc_parliament","fm-udgivelser","nota","depbank","opensubtitles","wikisource","gutenberg","cellar","danske-taler","ncc_maalfrid"],"type":"scatter"},{"hovertemplate":"\u003cb\u003e%{y}\u003c\u002fb\u003e\u003cbr\u003eMax: %{x:,} tokens\u003cextra\u003e\u003c\u002fextra\u003e","marker":{"color":"darkred","size":6,"symbol":"circle"},"mode":"markers","name":"Max tokens","x":{"dtype":"i4","bdata":"FNoFAOEvAAB\u002fGgoAz+kVAIVsAADJNgAAHE4aAHYDAQDwoAUAzvIOAPdikgCTFAAAF1QCAFBHAQAuOQUAd6wCAFnHAABwDwAACw8AAK4lBAAJZgMAagAAACv9CgC6ZA8AVuwGAFejAQCukQAAabuVAHsDAABTswUAfRUJAP2iAQAFAgAA+REBAOv7AwCP0gMAoKsnAJnQAADxEwAA"},"y":["ncc_books","nordjyllandnews","adl","miljoeportalen","wiki-comments","spont","eur-lex-sum-da","relig","wikibooks","retspraksis","retsinformationdk","tv2r","ai-aktindsigt","botxt","ft","skat","health_hovedstaden","naat","ncc_newspaper","jvj","ep","dannet","memo","domsdatabasen","grundtvig","wikipedia","enevaeldens_nyheder","hest","synne","ncc_parliament","fm-udgivelser","nota","depbank","opensubtitles","wikisource","gutenberg","cellar","danske-taler","ncc_maalfrid"],"type":"scatter"},{"hovertemplate":"\u003cb\u003e%{y}\u003c\u002fb\u003e\u003cbr\u003eMean: %{x:,.0f} tokens\u003cextra\u003e\u003c\u002fextra\u003e","marker":{"color":"orange","size":8,"symbol":"diamond"},"mode":"markers","name":"Mean tokens","x":{"dtype":"f8","bdata":"hpQG241++kDntdUmMn9\u002fQHoRJyoHrfxAvJV9DpVW7UCj9qzlDIqAQMvOXHF+k61AeURSg0OS3kAIH3zwAWjSQLKik4T1MbFAfHmxODkxyUC\u002fUXWJ3su\u002fQBAAVpXjkHtArje2MA2ohUBNMN7Kvj+\u002fQKyl75tlLvVA3VAIxks1wEAKtEsO35+RQK0pa8qaXKFAKn3Bn7N+aED0PM\u002fzhKH0QKtgwlzYDtlA1y18P1EUP0D6cWVuty4AQTHvjvrI6sNA2TMQlYZD0EDjnqWcUn6BQIJzS\u002fLLJWxAA+X70FaC2kAwj60IGl5yQP+Q5h5ONBNBZ5dO6Hq9+0A+doe2v\u002fbPQAgqZ7fwn3VAzNWSNPvJwUAFED8paVKgQAAAAACoBPlAtbBCJPS+0UB\u002f6Zd+uWenQOuCa4bsbYtA"},"y":["ncc_books","nordjyllandnews","adl","miljoeportalen","wiki-comments","spont","eur-lex-sum-da","relig","wikibooks","retspraksis","retsinformationdk","tv2r","ai-aktindsigt","botxt","ft","skat","health_hovedstaden","naat","ncc_newspaper","jvj","ep","dannet","memo","domsdatabasen","grundtvig","wikipedia","enevaeldens_nyheder","hest","synne","ncc_parliament","fm-udgivelser","nota","depbank","opensubtitles","wikisource","gutenberg","cellar","danske-taler","ncc_maalfrid"],"type":"scatter"}], {"template":{"data":{"barpolar":[{"marker":{"line":{"color":"white","width":0.5},"pattern":{"fillmode":"overlay","size":10,"solidity":0.2}},"type":"barpolar"}],"bar":[{"error_x":{"color":"#2a3f5f"},"error_y":{"color":"#2a3f5f"},"marker":{"line":{"color":"white","width":0.5},"pattern":{"fillmode":"overlay","size":10,"solidity":0.2}},"type":"bar"}],"carpet":[{"aaxis":{"endlinecolor":"#2a3f5f","gridcolor":"#C8D4E3","linecolor":"#C8D4E3","minorgridcolor":"#C8D4E3","startlinecolor":"#2a3f5f"},"baxis":{"endlinecolor":"#2a3f5f","gridcolor":"#C8D4E3","linecolor":"#C8D4E3","minorgridcolor":"#C8D4E3","startlinecolor":"#2a3f5f"},"type":"carpet"}],"choropleth":[{"colorbar":{"outlinewidth":0,"ticks":""},"type":"choropleth"}],"contourcarpet":[{"colorbar":{"outlinewidth":0,"ticks":""},"type":"contourcarpet"}],"contour":[{"colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"type":"contour"}],"heatmap":[{"colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"type":"heatmap"}],"histogram2dcontour":[{"colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"type":"histogram2dcontour"}],"histogram2d":[{"colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"type":"histogram2d"}],"histogram":[{"marker":{"pattern":{"fillmode":"overlay","size":10,"solidity":0.2}},"type":"histogram"}],"mesh3d":[{"colorbar":{"outlinewidth":0,"ticks":""},"type":"mesh3d"}],"parcoords":[{"line":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"parcoords"}],"pie":[{"automargin":true,"type":"pie"}],"scatter3d":[{"line":{"colorbar":{"outlinewidth":0,"ticks":""}},"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scatter3d"}],"scattercarpet":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scattercarpet"}],"scattergeo":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scattergeo"}],"scattergl":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scattergl"}],"scattermapbox":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scattermapbox"}],"scattermap":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scattermap"}],"scatterpolargl":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scatterpolargl"}],"scatterpolar":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scatterpolar"}],"scatter":[{"fillpattern":{"fillmode":"overlay","size":10,"solidity":0.2},"type":"scatter"}],"scatterternary":[{"marker":{"colorbar":{"outlinewidth":0,"ticks":""}},"type":"scatterternary"}],"surface":[{"colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"type":"surface"}],"table":[{"cells":{"fill":{"color":"#EBF0F8"},"line":{"color":"white"}},"header":{"fill":{"color":"#C8D4E3"},"line":{"color":"white"}},"type":"table"}]},"layout":{"annotationdefaults":{"arrowcolor":"#2a3f5f","arrowhead":0,"arrowwidth":1},"autotypenumbers":"strict","coloraxis":{"colorbar":{"outlinewidth":0,"ticks":""}},"colorscale":{"diverging":[[0,"#8e0152"],[0.1,"#c51b7d"],[0.2,"#de77ae"],[0.3,"#f1b6da"],[0.4,"#fde0ef"],[0.5,"#f7f7f7"],[0.6,"#e6f5d0"],[0.7,"#b8e186"],[0.8,"#7fbc41"],[0.9,"#4d9221"],[1,"#276419"]],"sequential":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"sequentialminus":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]]},"colorway":["#636efa","#EF553B","#00cc96","#ab63fa","#FFA15A","#19d3f3","#FF6692","#B6E880","#FF97FF","#FECB52"],"font":{"color":"#2a3f5f"},"geo":{"bgcolor":"white","lakecolor":"white","landcolor":"white","showlakes":true,"showland":true,"subunitcolor":"#C8D4E3"},"hoverlabel":{"align":"left"},"hovermode":"closest","mapbox":{"style":"light"},"paper_bgcolor":"white","plot_bgcolor":"white","polar":{"angularaxis":{"gridcolor":"#EBF0F8","linecolor":"#EBF0F8","ticks":""},"bgcolor":"white","radialaxis":{"gridcolor":"#EBF0F8","linecolor":"#EBF0F8","ticks":""}},"scene":{"xaxis":{"backgroundcolor":"white","gridcolor":"#DFE8F3","gridwidth":2,"linecolor":"#EBF0F8","showbackground":true,"ticks":"","zerolinecolor":"#EBF0F8"},"yaxis":{"backgroundcolor":"white","gridcolor":"#DFE8F3","gridwidth":2,"linecolor":"#EBF0F8","showbackground":true,"ticks":"","zerolinecolor":"#EBF0F8"},"zaxis":{"backgroundcolor":"white","gridcolor":"#DFE8F3","gridwidth":2,"linecolor":"#EBF0F8","showbackground":true,"ticks":"","zerolinecolor":"#EBF0F8"}},"shapedefaults":{"line":{"color":"#2a3f5f"}},"ternary":{"aaxis":{"gridcolor":"#DFE8F3","linecolor":"#A2B1C6","ticks":""},"baxis":{"gridcolor":"#DFE8F3","linecolor":"#A2B1C6","ticks":""},"bgcolor":"white","caxis":{"gridcolor":"#DFE8F3","linecolor":"#A2B1C6","ticks":""}},"title":{"x":0.05},"xaxis":{"automargin":true,"gridcolor":"#EBF0F8","linecolor":"#EBF0F8","ticks":"","title":{"standoff":15},"zerolinecolor":"#EBF0F8","zerolinewidth":2},"yaxis":{"automargin":true,"gridcolor":"#EBF0F8","linecolor":"#EBF0F8","ticks":"","title":{"standoff":15},"zerolinecolor":"#EBF0F8","zerolinewidth":2}}},"xaxis":{"title":{"text":"Number of Tokens (log scale)"},"type":"log"},"margin":{"l":120},"yaxis":{"title":{"text":"Dataset"},"tickmode":"array","tickvals":["ncc_books","nordjyllandnews","adl","miljoeportalen","wiki-comments","spont","eur-lex-sum-da","relig","wikibooks","retspraksis","retsinformationdk","tv2r","ai-aktindsigt","botxt","ft","skat","health_hovedstaden","naat","ncc_newspaper","jvj","ep","dannet","memo","domsdatabasen","grundtvig","wikipedia","enevaeldens_nyheder","hest","synne","ncc_parliament","fm-udgivelser","nota","depbank","opensubtitles","wikisource","gutenberg","cellar","danske-taler","ncc_maalfrid"],"ticktext":["Norwegian Colossal Corpus (books)","Nordjylland News","Archive for Danish Literature","Milj\u00f8portalen","Wikipedia Comments","Spontaneous speech","EUR-Lex SUM","Religious texts","Wikibooks","retspraksis (Danish legal information)","retsinformation.dk (Danish legal information)","TV 2 Radio","AI Aktindsigt","Bornholmsk","Folketinget","skat.dk","Health Hovedstaden","NAAT","Norwegian Colossal Corpus (newspaper)","Johannes V. Jensen","European Parliament","DanNet","MeMo Canonical Novels","Domsdatabasen.dk","Grundtvig's Works","Wikipedia","Enev\u00e6ldens Nyheder Online","Hestenettet (Danish debate forum)","Synnejysk Forening","Norwegian Colossal Corpus (parliament)","Finansministeriets Udgivelser","Nota lyd- og tekstdata (Tekst only)","Danish Dependency Treebank","OpenSubtitles","Wikisource","Gutenberg","Cellar","Danske Taler","Norwegian Colossal Corpus (maalfrid)"],"categoryorder":"array","categoryarray":["ncc_books","nordjyllandnews","adl","miljoeportalen","wiki-comments","spont","eur-lex-sum-da","relig","wikibooks","retspraksis","retsinformationdk","tv2r","ai-aktindsigt","botxt","ft","skat","health_hovedstaden","naat","ncc_newspaper","jvj","ep","dannet","memo","domsdatabasen","grundtvig","wikipedia","enevaeldens_nyheder","hest","synne","ncc_parliament","fm-udgivelser","nota","depbank","opensubtitles","wikisource","gutenberg","cellar","danske-taler","ncc_maalfrid"],"range":[-0.5,38.5]},"title":{"text":"Token Length Distribution by Dataset\u003cbr\u003e\u003csub\u003eRange (min-max) with mean values\u003c\u002fsub\u003e"},"height":780}, {"responsive": true} ) }; </script> </div>
3884
  </body>
3885
  </html>
images/dataset_size_plot.svg CHANGED
images/domain_distribution.png CHANGED

Git LFS Details

  • SHA256: c7f16ed2c4ade5e6e41595c58d90946fa9f9dd7d6e6696c96061e7dd08bb3b84
  • Pointer size: 131 Bytes
  • Size of remote file: 373 kB

Git LFS Details

  • SHA256: 4b4aa5c4a9748f23c0361b1716da0da730adfeabd799a16840bc63271fd3c185
  • Pointer size: 131 Bytes
  • Size of remote file: 363 kB
images/tokens_over_time.html CHANGED
@@ -2,6 +2,6 @@
2
  <head><meta charset="utf-8" /></head>
3
  <body>
4
  <div> <script type="text/javascript">window.PlotlyConfig = {MathJaxConfig: 'local'};</script>
5
- <script charset="utf-8" src="https://cdn.plot.ly/plotly-3.0.1.min.js"></script> <div id="8b60019a-2877-4de6-b786-68e9b40ffcba" class="plotly-graph-div" style="height:400px; width:600px;"></div> <script type="text/javascript"> window.PLOTLYENV=window.PLOTLYENV || {}; if (document.getElementById("8b60019a-2877-4de6-b786-68e9b40ffcba")) { Plotly.newPlot( "8b60019a-2877-4de6-b786-68e9b40ffcba", [{"hovertemplate":"%{text}\u003cextra\u003e\u003c\u002fextra\u003e","line":{"color":"#DC2626","width":3},"marker":{"color":"#DC2626","size":5},"mode":"lines+markers","name":"Tokens","text":["Date: 2025-01-02\u003cbr\u003eTokens: 1.57G\u003cbr\u003eSamples: 546,769\u003cbr\u003eCommit: 9c15515d\u003cbr\u003eMessage: Added number of llama3 tokens to desc stats","Date: 2025-01-03\u003cbr\u003eTokens: 1.84G\u003cbr\u003eChange: +271.89M\u003cbr\u003eSamples: 576,589\u003cbr\u003eCommit: 38b692a5\u003cbr\u003eMessage: Added automatically updated samples to update_descriptive_stats.py","Date: 2025-01-04\u003cbr\u003eTokens: 1.84G\u003cbr\u003eChange: +0\u003cbr\u003eSamples: 576,589\u003cbr\u003eCommit: 546c3b35\u003cbr\u003eMessage: update opensubtitles","Date: 2025-01-05\u003cbr\u003eTokens: 1.84G\u003cbr\u003eChange: +5.40M\u003cbr\u003eSamples: 588,476\u003cbr\u003eCommit: 0cef3177\u003cbr\u003eMessage: Added distribution plot for number of tokens","Date: 2025-02-10\u003cbr\u003eTokens: 1.85G\u003cbr\u003eChange: +7.30M\u003cbr\u003eSamples: 588,922\u003cbr\u003eCommit: 97b3aa5d\u003cbr\u003eMessage: Add Nota-tekster (#41)","Date: 2025-03-10\u003cbr\u003eTokens: 1.85G\u003cbr\u003eChange: +0\u003cbr\u003eSamples: 588,922\u003cbr\u003eCommit: 5affec72\u003cbr\u003eMessage: add_memo (#42)","Date: 2025-04-29\u003cbr\u003eTokens: 3.36G\u003cbr\u003eChange: +1.51G\u003cbr\u003eSamples: 846,387\u003cbr\u003eCommit: 65faa6e2\u003cbr\u003eMessage: a lot of improvements","Date: 2025-04-29\u003cbr\u003eTokens: 3.36G\u003cbr\u003eChange: +0\u003cbr\u003eSamples: 846,387\u003cbr\u003eCommit: 43d839aa\u003cbr\u003eMessage: updates sheets","Date: 2025-04-29\u003cbr\u003eTokens: 3.36G\u003cbr\u003eChange: +0\u003cbr\u003eSamples: 846,387\u003cbr\u003eCommit: 060c4430\u003cbr\u003eMessage: Updated changelog","Date: 2025-04-29\u003cbr\u003eTokens: 3.36G\u003cbr\u003eChange: +0\u003cbr\u003eSamples: 846,387\u003cbr\u003eCommit: c9397c44\u003cbr\u003eMessage: reformatted the readme","Date: 2025-05-12\u003cbr\u003eTokens: 4.26G\u003cbr\u003eChange: +901.15M\u003cbr\u003eSamples: 891,075\u003cbr\u003eCommit: d36009a4\u003cbr\u003eMessage: update desc stats","Date: 2025-05-12\u003cbr\u003eTokens: 4.26G\u003cbr\u003eChange: +0\u003cbr\u003eSamples: 891,075\u003cbr\u003eCommit: 2453a15a\u003cbr\u003eMessage: updated datasheet","Date: 2025-05-12\u003cbr\u003eTokens: 4.26G\u003cbr\u003eChange: +0\u003cbr\u003eSamples: 891,075\u003cbr\u003eCommit: 91cd694a\u003cbr\u003eMessage: docs: minor fixes to datasheets","Date: 2025-06-23\u003cbr\u003eTokens: 4.37G\u003cbr\u003eChange: +104.46M\u003cbr\u003eSamples: 891,094\u003cbr\u003eCommit: 16931a4c\u003cbr\u003eMessage: Fix memo (#68)","Date: 2025-06-25\u003cbr\u003eTokens: 4.37G\u003cbr\u003eChange: +581.06k\u003cbr\u003eSamples: 891,348\u003cbr\u003eCommit: 2c91001b\u003cbr\u003eMessage: Fix Danske Taler (#69)","Date: 2025-06-30\u003cbr\u003eTokens: 4.40G\u003cbr\u003eChange: +26.49M\u003cbr\u003eSamples: 915,090\u003cbr\u003eCommit: 7df022e7\u003cbr\u003eMessage: Adding Scrape Hovedstaden (#70)","Date: 2025-07-01\u003cbr\u003eTokens: 4.70G\u003cbr\u003eChange: +302.40M\u003cbr\u003eSamples: 951,889\u003cbr\u003eCommit: 6a2c8fbf\u003cbr\u003eMessage: update-retsinformationdk (#72)","Date: 2025-07-08\u003cbr\u003eTokens: 4.70G\u003cbr\u003eChange: +0\u003cbr\u003eSamples: 951,889\u003cbr\u003eCommit: 0cdc88c0\u003cbr\u003eMessage: Add tokens over time (+ rename scrape_hovedstaten) (#73)","Date: 2025-07-11\u003cbr\u003eTokens: 4.78G\u003cbr\u003eChange: +86.35M\u003cbr\u003eSamples: 960,357\u003cbr\u003eCommit: dd36adfe\u003cbr\u003eMessage: Add domsdatabasen (#74)","Date: 2025-07-21\u003cbr\u003eTokens: 4.78G\u003cbr\u003eChange: +0\u003cbr\u003eSamples: 960,357\u003cbr\u003eCommit: 30071635\u003cbr\u003eMessage: restructuring-main-table (#75)","Date: 2025-07-22\u003cbr\u003eTokens: 4.80G\u003cbr\u003eChange: +10.53M\u003cbr\u003eSamples: 960,989\u003cbr\u003eCommit: 439e14c0\u003cbr\u003eMessage: Add Grundtvigs works (#79)","Date: 2025-08-06\u003cbr\u003eTokens: 5.83G\u003cbr\u003eChange: +1.03G\u003cbr\u003eSamples: 5,554,217\u003cbr\u003eCommit: 5f324fad\u003cbr\u003eMessage: Add Enev\u00e6ldens Nyheder Online (#83)","Date: 2025-08-07\u003cbr\u003eTokens: 5.83G\u003cbr\u003eChange: +0\u003cbr\u003eSamples: 5,554,217\u003cbr\u003eCommit: d9093e1a\u003cbr\u003eMessage: Update CI (#85)","Date: 2025-08-28\u003cbr\u003eTokens: 5.88G\u003cbr\u003eChange: +53.66M\u003cbr\u003eSamples: 5,600,476\u003cbr\u003eCommit: 4781621a\u003cbr\u003eMessage: Update wiki, wikibooks, wikisource (#87)"],"x":["2025-01-02T00:00:00.000000000","2025-01-03T00:00:00.000000000","2025-01-04T00:00:00.000000000","2025-01-05T00:00:00.000000000","2025-02-10T00:00:00.000000000","2025-03-10T00:00:00.000000000","2025-04-29T00:00:00.000000000","2025-04-29T00:00:00.000000000","2025-04-29T00:00:00.000000000","2025-04-29T00:00:00.000000000","2025-05-12T00:00:00.000000000","2025-05-12T00:00:00.000000000","2025-05-12T00:00:00.000000000","2025-06-23T00:00:00.000000000","2025-06-25T00:00:00.000000000","2025-06-30T00:00:00.000000000","2025-07-01T00:00:00.000000000","2025-07-08T00:00:00.000000000","2025-07-11T00:00:00.000000000","2025-07-21T00:00:00.000000000","2025-07-22T00:00:00.000000000","2025-08-06T00:00:00.000000000","2025-08-07T00:00:00.000000000","2025-08-28T00:00:00.000000000"],"y":[1567706760,1839599769,1839599769,1844994816,1852293828,1852293828,3363395483,3363395483,3363395483,3363395483,4264549097,4264549097,4264549097,4369008328,4369589385,4396075044,4698470546,4698470546,4784823570,4784823570,4795348963,5829657307,5829657307,5883315984],"type":"scatter"}], {"template":{"data":{"histogram2dcontour":[{"type":"histogram2dcontour","colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]]}],"choropleth":[{"type":"choropleth","colorbar":{"outlinewidth":0,"ticks":""}}],"histogram2d":[{"type":"histogram2d","colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]]}],"heatmap":[{"type":"heatmap","colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]]}],"contourcarpet":[{"type":"contourcarpet","colorbar":{"outlinewidth":0,"ticks":""}}],"contour":[{"type":"contour","colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]]}],"surface":[{"type":"surface","colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]]}],"mesh3d":[{"type":"mesh3d","colorbar":{"outlinewidth":0,"ticks":""}}],"scatter":[{"fillpattern":{"fillmode":"overlay","size":10,"solidity":0.2},"type":"scatter"}],"parcoords":[{"type":"parcoords","line":{"colorbar":{"outlinewidth":0,"ticks":""}}}],"scatterpolargl":[{"type":"scatterpolargl","marker":{"colorbar":{"outlinewidth":0,"ticks":""}}}],"bar":[{"error_x":{"color":"#2a3f5f"},"error_y":{"color":"#2a3f5f"},"marker":{"line":{"color":"#E5ECF6","width":0.5},"pattern":{"fillmode":"overlay","size":10,"solidity":0.2}},"type":"bar"}],"scattergeo":[{"type":"scattergeo","marker":{"colorbar":{"outlinewidth":0,"ticks":""}}}],"scatterpolar":[{"type":"scatterpolar","marker":{"colorbar":{"outlinewidth":0,"ticks":""}}}],"histogram":[{"marker":{"pattern":{"fillmode":"overlay","size":10,"solidity":0.2}},"type":"histogram"}],"scattergl":[{"type":"scattergl","marker":{"colorbar":{"outlinewidth":0,"ticks":""}}}],"scatter3d":[{"type":"scatter3d","line":{"colorbar":{"outlinewidth":0,"ticks":""}},"marker":{"colorbar":{"outlinewidth":0,"ticks":""}}}],"scattermap":[{"type":"scattermap","marker":{"colorbar":{"outlinewidth":0,"ticks":""}}}],"scattermapbox":[{"type":"scattermapbox","marker":{"colorbar":{"outlinewidth":0,"ticks":""}}}],"scatterternary":[{"type":"scatterternary","marker":{"colorbar":{"outlinewidth":0,"ticks":""}}}],"scattercarpet":[{"type":"scattercarpet","marker":{"colorbar":{"outlinewidth":0,"ticks":""}}}],"carpet":[{"aaxis":{"endlinecolor":"#2a3f5f","gridcolor":"white","linecolor":"white","minorgridcolor":"white","startlinecolor":"#2a3f5f"},"baxis":{"endlinecolor":"#2a3f5f","gridcolor":"white","linecolor":"white","minorgridcolor":"white","startlinecolor":"#2a3f5f"},"type":"carpet"}],"table":[{"cells":{"fill":{"color":"#EBF0F8"},"line":{"color":"white"}},"header":{"fill":{"color":"#C8D4E3"},"line":{"color":"white"}},"type":"table"}],"barpolar":[{"marker":{"line":{"color":"#E5ECF6","width":0.5},"pattern":{"fillmode":"overlay","size":10,"solidity":0.2}},"type":"barpolar"}],"pie":[{"automargin":true,"type":"pie"}]},"layout":{"autotypenumbers":"strict","colorway":["#636efa","#EF553B","#00cc96","#ab63fa","#FFA15A","#19d3f3","#FF6692","#B6E880","#FF97FF","#FECB52"],"font":{"color":"#2a3f5f"},"hovermode":"closest","hoverlabel":{"align":"left"},"paper_bgcolor":"white","plot_bgcolor":"#E5ECF6","polar":{"bgcolor":"#E5ECF6","angularaxis":{"gridcolor":"white","linecolor":"white","ticks":""},"radialaxis":{"gridcolor":"white","linecolor":"white","ticks":""}},"ternary":{"bgcolor":"#E5ECF6","aaxis":{"gridcolor":"white","linecolor":"white","ticks":""},"baxis":{"gridcolor":"white","linecolor":"white","ticks":""},"caxis":{"gridcolor":"white","linecolor":"white","ticks":""}},"coloraxis":{"colorbar":{"outlinewidth":0,"ticks":""}},"colorscale":{"sequential":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"sequentialminus":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"diverging":[[0,"#8e0152"],[0.1,"#c51b7d"],[0.2,"#de77ae"],[0.3,"#f1b6da"],[0.4,"#fde0ef"],[0.5,"#f7f7f7"],[0.6,"#e6f5d0"],[0.7,"#b8e186"],[0.8,"#7fbc41"],[0.9,"#4d9221"],[1,"#276419"]]},"xaxis":{"gridcolor":"white","linecolor":"white","ticks":"","title":{"standoff":15},"zerolinecolor":"white","automargin":true,"zerolinewidth":2},"yaxis":{"gridcolor":"white","linecolor":"white","ticks":"","title":{"standoff":15},"zerolinecolor":"white","automargin":true,"zerolinewidth":2},"scene":{"xaxis":{"backgroundcolor":"#E5ECF6","gridcolor":"white","linecolor":"white","showbackground":true,"ticks":"","zerolinecolor":"white","gridwidth":2},"yaxis":{"backgroundcolor":"#E5ECF6","gridcolor":"white","linecolor":"white","showbackground":true,"ticks":"","zerolinecolor":"white","gridwidth":2},"zaxis":{"backgroundcolor":"#E5ECF6","gridcolor":"white","linecolor":"white","showbackground":true,"ticks":"","zerolinecolor":"white","gridwidth":2}},"shapedefaults":{"line":{"color":"#2a3f5f"}},"annotationdefaults":{"arrowcolor":"#2a3f5f","arrowhead":0,"arrowwidth":1},"geo":{"bgcolor":"white","landcolor":"#E5ECF6","subunitcolor":"white","showland":true,"showlakes":true,"lakecolor":"white"},"title":{"x":0.05},"mapbox":{"style":"light"}}},"shapes":[{"line":{"color":"gray","dash":"dash","width":1},"type":"line","x0":0,"x1":1,"xref":"x domain","y0":300000000,"y1":300000000,"yref":"y"},{"line":{"color":"gray","dash":"dash","width":1},"type":"line","x0":0,"x1":1,"xref":"x domain","y0":1000000000,"y1":1000000000,"yref":"y"}],"annotations":[{"font":{"color":"gray","size":12},"showarrow":false,"text":"Common Corpus (dan) (Langlais et al., 2025)","x":0,"xanchor":"left","xref":"x domain","y":300000000,"yanchor":"bottom","yref":"y"},{"font":{"color":"gray","size":12},"showarrow":false,"text":"Danish Gigaword (Derczynski et al., 2021)","x":0,"xanchor":"left","xref":"x domain","y":1000000000,"yanchor":"bottom","yref":"y"}],"title":{"text":"Number of Tokens Over Time in Danish Dynaword"},"xaxis":{"title":{"text":"Date"}},"yaxis":{"title":{"text":"Number of Tokens (Llama 3)"},"tickformat":".2s","ticksuffix":""},"hovermode":"closest","width":600,"height":400,"showlegend":false,"plot_bgcolor":"rgba(0,0,0,0)","paper_bgcolor":"rgba(0,0,0,0)"}, {"responsive": true} ) }; </script> </div>
6
  </body>
7
  </html>
 
2
  <head><meta charset="utf-8" /></head>
3
  <body>
4
  <div> <script type="text/javascript">window.PlotlyConfig = {MathJaxConfig: 'local'};</script>
5
+ <script charset="utf-8" src="https://cdn.plot.ly/plotly-3.0.1.min.js"></script> <div id="ecdd3f26-0685-45d1-955a-3e08bbd84f68" class="plotly-graph-div" style="height:400px; width:600px;"></div> <script type="text/javascript"> window.PLOTLYENV=window.PLOTLYENV || {}; if (document.getElementById("ecdd3f26-0685-45d1-955a-3e08bbd84f68")) { Plotly.newPlot( "ecdd3f26-0685-45d1-955a-3e08bbd84f68", [{"hovertemplate":"%{text}\u003cextra\u003e\u003c\u002fextra\u003e","line":{"color":"#DC2626","width":3},"marker":{"color":"#DC2626","size":5},"mode":"lines+markers","name":"Tokens","text":["Date: 2025-01-02\u003cbr\u003eTokens: 1.57G\u003cbr\u003eSamples: 546,769\u003cbr\u003eCommit: 9c15515d\u003cbr\u003eMessage: Added number of llama3 tokens to desc stats","Date: 2025-01-03\u003cbr\u003eTokens: 1.84G\u003cbr\u003eChange: +271.89M\u003cbr\u003eSamples: 576,589\u003cbr\u003eCommit: 38b692a5\u003cbr\u003eMessage: Added automatically updated samples to update_descriptive_stats.py","Date: 2025-01-04\u003cbr\u003eTokens: 1.84G\u003cbr\u003eChange: +0\u003cbr\u003eSamples: 576,589\u003cbr\u003eCommit: 546c3b35\u003cbr\u003eMessage: update opensubtitles","Date: 2025-01-05\u003cbr\u003eTokens: 1.84G\u003cbr\u003eChange: +5.40M\u003cbr\u003eSamples: 588,476\u003cbr\u003eCommit: 0cef3177\u003cbr\u003eMessage: Added distribution plot for number of tokens","Date: 2025-02-10\u003cbr\u003eTokens: 1.85G\u003cbr\u003eChange: +7.30M\u003cbr\u003eSamples: 588,922\u003cbr\u003eCommit: 97b3aa5d\u003cbr\u003eMessage: Add Nota-tekster (#41)","Date: 2025-03-10\u003cbr\u003eTokens: 1.85G\u003cbr\u003eChange: +0\u003cbr\u003eSamples: 588,922\u003cbr\u003eCommit: 5affec72\u003cbr\u003eMessage: add_memo (#42)","Date: 2025-04-29\u003cbr\u003eTokens: 3.36G\u003cbr\u003eChange: +1.51G\u003cbr\u003eSamples: 846,387\u003cbr\u003eCommit: 65faa6e2\u003cbr\u003eMessage: a lot of improvements","Date: 2025-04-29\u003cbr\u003eTokens: 3.36G\u003cbr\u003eChange: +0\u003cbr\u003eSamples: 846,387\u003cbr\u003eCommit: 43d839aa\u003cbr\u003eMessage: updates sheets","Date: 2025-04-29\u003cbr\u003eTokens: 3.36G\u003cbr\u003eChange: +0\u003cbr\u003eSamples: 846,387\u003cbr\u003eCommit: 060c4430\u003cbr\u003eMessage: Updated changelog","Date: 2025-04-29\u003cbr\u003eTokens: 3.36G\u003cbr\u003eChange: +0\u003cbr\u003eSamples: 846,387\u003cbr\u003eCommit: c9397c44\u003cbr\u003eMessage: reformatted the readme","Date: 2025-05-12\u003cbr\u003eTokens: 4.26G\u003cbr\u003eChange: +901.15M\u003cbr\u003eSamples: 891,075\u003cbr\u003eCommit: d36009a4\u003cbr\u003eMessage: update desc stats","Date: 2025-05-12\u003cbr\u003eTokens: 4.26G\u003cbr\u003eChange: +0\u003cbr\u003eSamples: 891,075\u003cbr\u003eCommit: 2453a15a\u003cbr\u003eMessage: updated datasheet","Date: 2025-05-12\u003cbr\u003eTokens: 4.26G\u003cbr\u003eChange: +0\u003cbr\u003eSamples: 891,075\u003cbr\u003eCommit: 91cd694a\u003cbr\u003eMessage: docs: minor fixes to datasheets","Date: 2025-06-23\u003cbr\u003eTokens: 4.37G\u003cbr\u003eChange: +104.46M\u003cbr\u003eSamples: 891,094\u003cbr\u003eCommit: 16931a4c\u003cbr\u003eMessage: Fix memo (#68)","Date: 2025-06-25\u003cbr\u003eTokens: 4.37G\u003cbr\u003eChange: +581.06k\u003cbr\u003eSamples: 891,348\u003cbr\u003eCommit: 2c91001b\u003cbr\u003eMessage: Fix Danske Taler (#69)","Date: 2025-06-30\u003cbr\u003eTokens: 4.40G\u003cbr\u003eChange: +26.49M\u003cbr\u003eSamples: 915,090\u003cbr\u003eCommit: 7df022e7\u003cbr\u003eMessage: Adding Scrape Hovedstaden (#70)","Date: 2025-07-01\u003cbr\u003eTokens: 4.70G\u003cbr\u003eChange: +302.40M\u003cbr\u003eSamples: 951,889\u003cbr\u003eCommit: 6a2c8fbf\u003cbr\u003eMessage: update-retsinformationdk (#72)","Date: 2025-07-08\u003cbr\u003eTokens: 4.70G\u003cbr\u003eChange: +0\u003cbr\u003eSamples: 951,889\u003cbr\u003eCommit: 0cdc88c0\u003cbr\u003eMessage: Add tokens over time (+ rename scrape_hovedstaten) (#73)","Date: 2025-07-11\u003cbr\u003eTokens: 4.78G\u003cbr\u003eChange: +86.35M\u003cbr\u003eSamples: 960,357\u003cbr\u003eCommit: dd36adfe\u003cbr\u003eMessage: Add domsdatabasen (#74)","Date: 2025-07-21\u003cbr\u003eTokens: 4.78G\u003cbr\u003eChange: +0\u003cbr\u003eSamples: 960,357\u003cbr\u003eCommit: 30071635\u003cbr\u003eMessage: restructuring-main-table (#75)","Date: 2025-07-22\u003cbr\u003eTokens: 4.80G\u003cbr\u003eChange: +10.53M\u003cbr\u003eSamples: 960,989\u003cbr\u003eCommit: 439e14c0\u003cbr\u003eMessage: Add Grundtvigs works (#79)","Date: 2025-08-06\u003cbr\u003eTokens: 5.83G\u003cbr\u003eChange: +1.03G\u003cbr\u003eSamples: 5,554,217\u003cbr\u003eCommit: 5f324fad\u003cbr\u003eMessage: Add Enev\u00e6ldens Nyheder Online (#83)","Date: 2025-08-07\u003cbr\u003eTokens: 5.83G\u003cbr\u003eChange: +0\u003cbr\u003eSamples: 5,554,217\u003cbr\u003eCommit: d9093e1a\u003cbr\u003eMessage: Update CI (#85)","Date: 2025-08-28\u003cbr\u003eTokens: 5.88G\u003cbr\u003eChange: +53.66M\u003cbr\u003eSamples: 5,600,476\u003cbr\u003eCommit: 4781621a\u003cbr\u003eMessage: Update wiki, wikibooks, wikisource (#87)"],"x":["2025-01-02T00:00:00.000000000","2025-01-03T00:00:00.000000000","2025-01-04T00:00:00.000000000","2025-01-05T00:00:00.000000000","2025-02-10T00:00:00.000000000","2025-03-10T00:00:00.000000000","2025-04-29T00:00:00.000000000","2025-04-29T00:00:00.000000000","2025-04-29T00:00:00.000000000","2025-04-29T00:00:00.000000000","2025-05-12T00:00:00.000000000","2025-05-12T00:00:00.000000000","2025-05-12T00:00:00.000000000","2025-06-23T00:00:00.000000000","2025-06-25T00:00:00.000000000","2025-06-30T00:00:00.000000000","2025-07-01T00:00:00.000000000","2025-07-08T00:00:00.000000000","2025-07-11T00:00:00.000000000","2025-07-21T00:00:00.000000000","2025-07-22T00:00:00.000000000","2025-08-06T00:00:00.000000000","2025-08-07T00:00:00.000000000","2025-08-28T00:00:00.000000000"],"y":[1567706760,1839599769,1839599769,1844994816,1852293828,1852293828,3363395483,3363395483,3363395483,3363395483,4264549097,4264549097,4264549097,4369008328,4369589385,4396075044,4698470546,4698470546,4784823570,4784823570,4795348963,5829657307,5829657307,5883315984],"type":"scatter"}], {"template":{"data":{"histogram2dcontour":[{"type":"histogram2dcontour","colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]]}],"choropleth":[{"type":"choropleth","colorbar":{"outlinewidth":0,"ticks":""}}],"histogram2d":[{"type":"histogram2d","colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]]}],"heatmap":[{"type":"heatmap","colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]]}],"contourcarpet":[{"type":"contourcarpet","colorbar":{"outlinewidth":0,"ticks":""}}],"contour":[{"type":"contour","colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]]}],"surface":[{"type":"surface","colorbar":{"outlinewidth":0,"ticks":""},"colorscale":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]]}],"mesh3d":[{"type":"mesh3d","colorbar":{"outlinewidth":0,"ticks":""}}],"scatter":[{"fillpattern":{"fillmode":"overlay","size":10,"solidity":0.2},"type":"scatter"}],"parcoords":[{"type":"parcoords","line":{"colorbar":{"outlinewidth":0,"ticks":""}}}],"scatterpolargl":[{"type":"scatterpolargl","marker":{"colorbar":{"outlinewidth":0,"ticks":""}}}],"bar":[{"error_x":{"color":"#2a3f5f"},"error_y":{"color":"#2a3f5f"},"marker":{"line":{"color":"#E5ECF6","width":0.5},"pattern":{"fillmode":"overlay","size":10,"solidity":0.2}},"type":"bar"}],"scattergeo":[{"type":"scattergeo","marker":{"colorbar":{"outlinewidth":0,"ticks":""}}}],"scatterpolar":[{"type":"scatterpolar","marker":{"colorbar":{"outlinewidth":0,"ticks":""}}}],"histogram":[{"marker":{"pattern":{"fillmode":"overlay","size":10,"solidity":0.2}},"type":"histogram"}],"scattergl":[{"type":"scattergl","marker":{"colorbar":{"outlinewidth":0,"ticks":""}}}],"scatter3d":[{"type":"scatter3d","line":{"colorbar":{"outlinewidth":0,"ticks":""}},"marker":{"colorbar":{"outlinewidth":0,"ticks":""}}}],"scattermap":[{"type":"scattermap","marker":{"colorbar":{"outlinewidth":0,"ticks":""}}}],"scattermapbox":[{"type":"scattermapbox","marker":{"colorbar":{"outlinewidth":0,"ticks":""}}}],"scatterternary":[{"type":"scatterternary","marker":{"colorbar":{"outlinewidth":0,"ticks":""}}}],"scattercarpet":[{"type":"scattercarpet","marker":{"colorbar":{"outlinewidth":0,"ticks":""}}}],"carpet":[{"aaxis":{"endlinecolor":"#2a3f5f","gridcolor":"white","linecolor":"white","minorgridcolor":"white","startlinecolor":"#2a3f5f"},"baxis":{"endlinecolor":"#2a3f5f","gridcolor":"white","linecolor":"white","minorgridcolor":"white","startlinecolor":"#2a3f5f"},"type":"carpet"}],"table":[{"cells":{"fill":{"color":"#EBF0F8"},"line":{"color":"white"}},"header":{"fill":{"color":"#C8D4E3"},"line":{"color":"white"}},"type":"table"}],"barpolar":[{"marker":{"line":{"color":"#E5ECF6","width":0.5},"pattern":{"fillmode":"overlay","size":10,"solidity":0.2}},"type":"barpolar"}],"pie":[{"automargin":true,"type":"pie"}]},"layout":{"autotypenumbers":"strict","colorway":["#636efa","#EF553B","#00cc96","#ab63fa","#FFA15A","#19d3f3","#FF6692","#B6E880","#FF97FF","#FECB52"],"font":{"color":"#2a3f5f"},"hovermode":"closest","hoverlabel":{"align":"left"},"paper_bgcolor":"white","plot_bgcolor":"#E5ECF6","polar":{"bgcolor":"#E5ECF6","angularaxis":{"gridcolor":"white","linecolor":"white","ticks":""},"radialaxis":{"gridcolor":"white","linecolor":"white","ticks":""}},"ternary":{"bgcolor":"#E5ECF6","aaxis":{"gridcolor":"white","linecolor":"white","ticks":""},"baxis":{"gridcolor":"white","linecolor":"white","ticks":""},"caxis":{"gridcolor":"white","linecolor":"white","ticks":""}},"coloraxis":{"colorbar":{"outlinewidth":0,"ticks":""}},"colorscale":{"sequential":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"sequentialminus":[[0.0,"#0d0887"],[0.1111111111111111,"#46039f"],[0.2222222222222222,"#7201a8"],[0.3333333333333333,"#9c179e"],[0.4444444444444444,"#bd3786"],[0.5555555555555556,"#d8576b"],[0.6666666666666666,"#ed7953"],[0.7777777777777778,"#fb9f3a"],[0.8888888888888888,"#fdca26"],[1.0,"#f0f921"]],"diverging":[[0,"#8e0152"],[0.1,"#c51b7d"],[0.2,"#de77ae"],[0.3,"#f1b6da"],[0.4,"#fde0ef"],[0.5,"#f7f7f7"],[0.6,"#e6f5d0"],[0.7,"#b8e186"],[0.8,"#7fbc41"],[0.9,"#4d9221"],[1,"#276419"]]},"xaxis":{"gridcolor":"white","linecolor":"white","ticks":"","title":{"standoff":15},"zerolinecolor":"white","automargin":true,"zerolinewidth":2},"yaxis":{"gridcolor":"white","linecolor":"white","ticks":"","title":{"standoff":15},"zerolinecolor":"white","automargin":true,"zerolinewidth":2},"scene":{"xaxis":{"backgroundcolor":"#E5ECF6","gridcolor":"white","linecolor":"white","showbackground":true,"ticks":"","zerolinecolor":"white","gridwidth":2},"yaxis":{"backgroundcolor":"#E5ECF6","gridcolor":"white","linecolor":"white","showbackground":true,"ticks":"","zerolinecolor":"white","gridwidth":2},"zaxis":{"backgroundcolor":"#E5ECF6","gridcolor":"white","linecolor":"white","showbackground":true,"ticks":"","zerolinecolor":"white","gridwidth":2}},"shapedefaults":{"line":{"color":"#2a3f5f"}},"annotationdefaults":{"arrowcolor":"#2a3f5f","arrowhead":0,"arrowwidth":1},"geo":{"bgcolor":"white","landcolor":"#E5ECF6","subunitcolor":"white","showland":true,"showlakes":true,"lakecolor":"white"},"title":{"x":0.05},"mapbox":{"style":"light"}}},"shapes":[{"line":{"color":"gray","dash":"dash","width":1},"type":"line","x0":0,"x1":1,"xref":"x domain","y0":300000000,"y1":300000000,"yref":"y"},{"line":{"color":"gray","dash":"dash","width":1},"type":"line","x0":0,"x1":1,"xref":"x domain","y0":1000000000,"y1":1000000000,"yref":"y"}],"annotations":[{"font":{"color":"gray","size":12},"showarrow":false,"text":"Common Corpus (dan) (Langlais et al., 2025)","x":0,"xanchor":"left","xref":"x domain","y":300000000,"yanchor":"bottom","yref":"y"},{"font":{"color":"gray","size":12},"showarrow":false,"text":"Danish Gigaword (Derczynski et al., 2021)","x":0,"xanchor":"left","xref":"x domain","y":1000000000,"yanchor":"bottom","yref":"y"}],"title":{"text":"Number of Tokens Over Time in Danish Dynaword"},"xaxis":{"title":{"text":"Date"}},"yaxis":{"title":{"text":"Number of Tokens (Llama 3)"},"tickformat":".2s","ticksuffix":""},"hovermode":"closest","width":600,"height":400,"showlegend":false,"plot_bgcolor":"rgba(0,0,0,0)","paper_bgcolor":"rgba(0,0,0,0)"}, {"responsive": true} ) }; </script> </div>
6
  </body>
7
  </html>
images/tokens_over_time.svg CHANGED
pyproject.toml CHANGED
@@ -1,6 +1,6 @@
1
  [project]
2
  name = "dynaword"
3
- version = "1.2.10"
4
  description = "project code for the danish dynaword project"
5
  readme = "README.md"
6
  requires-python = ">=3.12,<3.13" # 3.13 have issues with spacy and pytorch
 
1
  [project]
2
  name = "dynaword"
3
+ version = "1.2.11"
4
  description = "project code for the danish dynaword project"
5
  readme = "README.md"
6
  requires-python = ">=3.12,<3.13" # 3.13 have issues with spacy and pytorch
test_results.log CHANGED
@@ -1,26 +1,25 @@
1
  ============================= test session starts ==============================
2
- platform darwin -- Python 3.12.0, pytest-8.3.4, pluggy-1.5.0
3
- rootdir: /Users/kristianjensen/Documents/danish-dynaword
4
  configfile: pyproject.toml
5
- plugins: anyio-4.9.0
6
- collected 346 items
7
 
8
- src/tests/test_dataset_schema.py ....................................... [ 11%]
9
- ..................................... [ 21%]
10
  src/tests/test_datasheets.py ........................................... [ 34%]
11
- ........................................................................ [ 55%]
12
- ........................................................................ [ 76%]
13
- ... [ 76%]
14
  src/tests/test_load.py .. [ 77%]
15
- src/tests/test_quality/test_duplicates.py .............................. [ 86%]
16
- ........s [ 88%]
17
- src/tests/test_quality/test_short_texts.py ............................. [ 97%]
18
- ......... [ 99%]
19
  src/tests/test_unique_ids.py . [100%]
20
 
21
  =============================== warnings summary ===============================
22
- src/tests/test_quality/test_short_texts.py: 38 warnings
23
- /Users/kristianjensen/Documents/danish-dynaword/.venv/lib/python3.12/site-packages/datasets/utils/_dill.py:385: DeprecationWarning: co_lnotab is deprecated, use co_lines instead.
24
 
25
  -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
26
- ============ 345 passed, 1 skipped, 38 warnings in 89.12s (0:01:29) ============
 
1
  ============================= test session starts ==============================
2
+ platform linux -- Python 3.12.3, pytest-8.3.4, pluggy-1.5.0
3
+ rootdir: /home/rob/Projects/danish-dynaword8
4
  configfile: pyproject.toml
5
+ collected 355 items
 
6
 
7
+ src/tests/test_dataset_schema.py ....................................... [ 10%]
8
+ ....................................... [ 21%]
9
  src/tests/test_datasheets.py ........................................... [ 34%]
10
+ ........................................................................ [ 54%]
11
+ ........................................................................ [ 74%]
12
+ ........ [ 76%]
13
  src/tests/test_load.py .. [ 77%]
14
+ src/tests/test_quality/test_duplicates.py .............................. [ 85%]
15
+ .........s [ 88%]
16
+ src/tests/test_quality/test_short_texts.py ............................. [ 96%]
17
+ .......... [ 99%]
18
  src/tests/test_unique_ids.py . [100%]
19
 
20
  =============================== warnings summary ===============================
21
+ src/tests/test_quality/test_short_texts.py: 39 warnings
22
+ /home/rob/Projects/danish-dynaword8/.venv/lib/python3.12/site-packages/datasets/utils/_dill.py:385: DeprecationWarning: co_lnotab is deprecated, use co_lines instead.
23
 
24
  -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
25
+ =========== 354 passed, 1 skipped, 39 warnings in 224.38s (0:03:44) ============
uv.lock CHANGED
@@ -257,7 +257,7 @@ wheels = [
257
 
258
  [[package]]
259
  name = "dynaword"
260
- version = "1.2.10"
261
  source = { editable = "." }
262
  dependencies = [
263
  { name = "datasets" },
 
257
 
258
  [[package]]
259
  name = "dynaword"
260
+ version = "1.2.11"
261
  source = { editable = "." }
262
  dependencies = [
263
  { name = "datasets" },