Datasets:
Tasks:
Text Generation
Formats:
parquet
Sub-tasks:
language-modeling
Languages:
Danish
Size:
10M - 100M
ArXiv:
DOI:
License:
Add historical danish handwriting dataset (#102)
Browse files- added historical-danish-handwriting dataset (8bf9d256f76fa3dc4137bbcb402ec89a921fc117)
- updated chanelog, version and descr stats (6961f36e183da8d70efeb79b271197019a53d0b9)
- update descr stats, rm create_md.py, add line about transcription (24cb12e08d30cb8de4de8b0b111ecc96cdf21a36)
- added PII to readme (14e80f35d095479ca11bf0c726ec361c5d70f77f)
Co-authored-by: Laura Rahbek <[email protected]>
- CHANGELOG.md +6 -0
- README.md +60 -50
- data/historical-danish-handwriting/create.py +97 -0
- data/historical-danish-handwriting/descriptive_stats.json +9 -0
- data/historical-danish-handwriting/historical-danish-handwriting.md +90 -0
- data/historical-danish-handwriting/historical-danish-handwriting.parquet +3 -0
- data/historical-danish-handwriting/images/dist_document_length.png +3 -0
- descriptive_stats.json +3 -3
- images/dataset_size_plot.html +1 -1
- images/dataset_size_plot.svg +0 -0
- images/domain_distribution.png +2 -2
- images/tokens_over_time.html +1 -1
- images/tokens_over_time.svg +1 -1
- pyproject.toml +1 -1
- test_results.log +12 -12
- uv.lock +0 -0
CHANGELOG.md
CHANGED
|
@@ -5,6 +5,12 @@ 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.11 - 2025-09-02
|
| 9 |
|
| 10 |
### Changed
|
|
|
|
| 5 |
|
| 6 |
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
|
| 7 |
|
| 8 |
+
## [v1.2.12] - 2025-09-16
|
| 9 |
+
|
| 10 |
+
### Added
|
| 11 |
+
|
| 12 |
+
- Added dataset: historical-danish-handwriting
|
| 13 |
+
|
| 14 |
## [v1.2.11 - 2025-09-02
|
| 15 |
|
| 16 |
### Changed
|
README.md
CHANGED
|
@@ -180,6 +180,10 @@ configs:
|
|
| 180 |
data_files:
|
| 181 |
- split: train
|
| 182 |
path: data/domsdatabasen/*.parquet
|
|
|
|
|
|
|
|
|
|
|
|
|
| 183 |
language_bcp47:
|
| 184 |
- da
|
| 185 |
- da-bornholm
|
|
@@ -198,7 +202,7 @@ https://github.com/huggingface/datasets/blob/main/templates/README_guide.md
|
|
| 198 |
<!-- START README TABLE -->
|
| 199 |
| | |
|
| 200 |
| ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| 201 |
-
| **Version** | 1.2.
|
| 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) |
|
|
@@ -306,7 +310,7 @@ This dynaword consist of data from various domains (e.g., legal, books, social m
|
|
| 306 |
| Books | [grundtvig], [ncc_books], [memo], [adl], [wikibooks], [jvj], [gutenberg], [relig] | 733.92M |
|
| 307 |
| Conversation | [danske-taler], [opensubtitles], [ep], [ft], [spont], [naat] | 497.09M |
|
| 308 |
| Social Media | [hest] | 389.32M |
|
| 309 |
-
| Other | [ncc_parliament], [dannet], [depbank], [synne]
|
| 310 |
| Web | [ai-aktindsigt], [ncc_maalfrid], [miljoeportalen] | 295.87M |
|
| 311 |
| Encyclopedic | [wikisource], [wikipedia], [wiki-comments] | 185.75M |
|
| 312 |
| Medical | [health_hovedstaden] | 27.07M |
|
|
@@ -353,6 +357,7 @@ This dynaword consist of data from various domains (e.g., legal, books, social m
|
|
| 353 |
[nota]: data/nota/nota.md
|
| 354 |
[health_hovedstaden]: data/health_hovedstaden/health_hovedstaden.md
|
| 355 |
[domsdatabasen]: data/domsdatabasen/domsdatabasen.md
|
|
|
|
| 356 |
<!-- END-DOMAIN TABLE -->
|
| 357 |
|
| 358 |
</div>
|
|
@@ -380,6 +385,7 @@ These license is applied to the constituent data, i.e., the text. The collection
|
|
| 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
|
|
@@ -421,6 +427,7 @@ These license is applied to the constituent data, i.e., the text. The collection
|
|
| 421 |
[nota]: data/nota/nota.md
|
| 422 |
[health_hovedstaden]: data/health_hovedstaden/health_hovedstaden.md
|
| 423 |
[domsdatabasen]: data/domsdatabasen/domsdatabasen.md
|
|
|
|
| 424 |
<!-- END-LICENSE TABLE -->
|
| 425 |
|
| 426 |
|
|
@@ -436,12 +443,12 @@ Each entry in the dataset consists of a single text with associated metadata
|
|
| 436 |
<!-- START-SAMPLE -->
|
| 437 |
```py
|
| 438 |
{
|
| 439 |
-
"id": "
|
| 440 |
-
"text": "
|
| 441 |
-
"source": "
|
| 442 |
-
"added": "2025-05
|
| 443 |
-
"created": "
|
| 444 |
-
"token_count":
|
| 445 |
}
|
| 446 |
```
|
| 447 |
|
|
@@ -484,48 +491,49 @@ Below follows a brief overview of the sources in the corpus along with their ind
|
|
| 484 |
You can learn more about each dataset by pressing the link in the first column.
|
| 485 |
|
| 486 |
<!-- START-MAIN TABLE -->
|
| 487 |
-
| Source
|
| 488 |
-
|
| 489 |
-
| [cellar]
|
| 490 |
-
| [enevaeldens_nyheder]
|
| 491 |
-
| [retsinformationdk]
|
| 492 |
-
| [ncc_books]
|
| 493 |
-
| [hest]
|
| 494 |
-
| [ncc_parliament]
|
| 495 |
-
| [opensubtitles]
|
| 496 |
-
| [wikipedia]
|
| 497 |
-
| [ai-aktindsigt]
|
| 498 |
-
| [miljoeportalen]
|
| 499 |
-
| [skat]
|
| 500 |
-
| [ft]
|
| 501 |
-
| [memo]
|
| 502 |
-
| [ep]
|
| 503 |
-
| [domsdatabasen]
|
| 504 |
-
| [adl]
|
| 505 |
-
| [retspraksis]
|
| 506 |
-
| [fm-udgivelser]
|
| 507 |
-
| [nordjyllandnews]
|
| 508 |
-
| [eur-lex-sum-da]
|
| 509 |
-
| [ncc_maalfrid]
|
| 510 |
-
| [health_hovedstaden]
|
| 511 |
-
| [tv2r]
|
| 512 |
-
| [grundtvig]
|
| 513 |
-
| [danske-taler]
|
| 514 |
-
| [wikibooks]
|
| 515 |
-
| [nota]
|
| 516 |
-
| [gutenberg]
|
| 517 |
-
| [wikisource]
|
| 518 |
-
| [wiki-comments]
|
| 519 |
-
| [
|
| 520 |
-
| [
|
| 521 |
-
| [
|
| 522 |
-
| [
|
| 523 |
-
| [
|
| 524 |
-
| [
|
| 525 |
-
| [
|
| 526 |
-
| [
|
| 527 |
-
| [
|
| 528 |
-
|
|
|
|
|
| 529 |
|
| 530 |
[ai-aktindsigt]: data/ai-aktindsigt/ai-aktindsigt.md
|
| 531 |
[cellar]: data/cellar/cellar.md
|
|
@@ -566,6 +574,7 @@ You can learn more about each dataset by pressing the link in the first column.
|
|
| 566 |
[nota]: data/nota/nota.md
|
| 567 |
[health_hovedstaden]: data/health_hovedstaden/health_hovedstaden.md
|
| 568 |
[domsdatabasen]: data/domsdatabasen/domsdatabasen.md
|
|
|
|
| 569 |
|
| 570 |
|
| 571 |
[CC-0]: https://creativecommons.org/publicdomain/zero/1.0/legalcode.en
|
|
@@ -577,6 +586,7 @@ You can learn more about each dataset by pressing the link in the first column.
|
|
| 577 |
[DanNet 1.0]: ./data/dannet/dannet.md#license-information
|
| 578 |
[Gutenberg]: ./data/gutenberg/gutenberg.md#license-information
|
| 579 |
[Danish Copyright Law]: ./data/domsdatabasen/domsdatabasen.md#license-information
|
|
|
|
| 580 |
<!-- END-MAIN TABLE -->
|
| 581 |
|
| 582 |
</details>
|
|
|
|
| 180 |
data_files:
|
| 181 |
- split: train
|
| 182 |
path: data/domsdatabasen/*.parquet
|
| 183 |
+
- config_name: historical-danish-handwriting
|
| 184 |
+
data_files:
|
| 185 |
+
- split: train
|
| 186 |
+
path: data/historical-danish-handwriting/*.parquet
|
| 187 |
language_bcp47:
|
| 188 |
- da
|
| 189 |
- da-bornholm
|
|
|
|
| 202 |
<!-- START README TABLE -->
|
| 203 |
| | |
|
| 204 |
| ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| 205 |
+
| **Version** | 1.2.12 ([Changelog](/CHANGELOG.md)) |
|
| 206 |
| **Language** | dan, dansk, Danish |
|
| 207 |
| **License** | Openly Licensed, See the respective dataset |
|
| 208 |
| **Models** | For model trained used this data see [danish-foundation-models](https://huggingface.co/danish-foundation-models) |
|
|
|
|
| 310 |
| Books | [grundtvig], [ncc_books], [memo], [adl], [wikibooks], [jvj], [gutenberg], [relig] | 733.92M |
|
| 311 |
| Conversation | [danske-taler], [opensubtitles], [ep], [ft], [spont], [naat] | 497.09M |
|
| 312 |
| Social Media | [hest] | 389.32M |
|
| 313 |
+
| Other | [ncc_parliament], [dannet], [depbank], [synne], [historical-danish-handwriting] | 345.79M |
|
| 314 |
| Web | [ai-aktindsigt], [ncc_maalfrid], [miljoeportalen] | 295.87M |
|
| 315 |
| Encyclopedic | [wikisource], [wikipedia], [wiki-comments] | 185.75M |
|
| 316 |
| Medical | [health_hovedstaden] | 27.07M |
|
|
|
|
| 357 |
[nota]: data/nota/nota.md
|
| 358 |
[health_hovedstaden]: data/health_hovedstaden/health_hovedstaden.md
|
| 359 |
[domsdatabasen]: data/domsdatabasen/domsdatabasen.md
|
| 360 |
+
[historical-danish-handwriting]: data/historical-danish-handwriting/historical-danish-handwriting.md
|
| 361 |
<!-- END-DOMAIN TABLE -->
|
| 362 |
|
| 363 |
</div>
|
|
|
|
| 385 |
| 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 |
|
| 386 |
| Other (No attribution required) | [retsinformationdk], [domsdatabasen] | 904.61M |
|
| 387 |
| Other (Attribution required) | [ai-aktindsigt], [ncc_maalfrid], [ncc_parliament], [dannet], [gutenberg] | 515.61M |
|
| 388 |
+
| CC by 4.0 | [historical-danish-handwriting] | 5.20M |
|
| 389 |
| **Total** | | 5.89B |
|
| 390 |
|
| 391 |
[ai-aktindsigt]: data/ai-aktindsigt/ai-aktindsigt.md
|
|
|
|
| 427 |
[nota]: data/nota/nota.md
|
| 428 |
[health_hovedstaden]: data/health_hovedstaden/health_hovedstaden.md
|
| 429 |
[domsdatabasen]: data/domsdatabasen/domsdatabasen.md
|
| 430 |
+
[historical-danish-handwriting]: data/historical-danish-handwriting/historical-danish-handwriting.md
|
| 431 |
<!-- END-LICENSE TABLE -->
|
| 432 |
|
| 433 |
|
|
|
|
| 443 |
<!-- START-SAMPLE -->
|
| 444 |
```py
|
| 445 |
{
|
| 446 |
+
"id": "enevaeldens_nyheder_aalborg1767_1767-01-02_1000001",
|
| 447 |
+
"text": "Et Menneske er skabt ey for sig selv allene: Hvert Lem paa Legemet det heele tiene maae, En Stolpes [...]",
|
| 448 |
+
"source": "enevaeldens_nyheder",
|
| 449 |
+
"added": "2025-08-05",
|
| 450 |
+
"created": "1767-01-02, 1767-01-02",
|
| 451 |
+
"token_count": 2377
|
| 452 |
}
|
| 453 |
```
|
| 454 |
|
|
|
|
| 491 |
You can learn more about each dataset by pressing the link in the first column.
|
| 492 |
|
| 493 |
<!-- START-MAIN TABLE -->
|
| 494 |
+
| Source | Description | Domain | N. Tokens | License |
|
| 495 |
+
|:--------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-------------|:------------|:-----------------------|
|
| 496 |
+
| [cellar] | The official digital repository for European Union legal documents and open data | Legal | 1.15B | [CC-BY-SA 4.0] |
|
| 497 |
+
| [enevaeldens_nyheder] | High quality OCR'd texts from Danish and Norwegian newspapers during the period of constitutional absolutism in Denmark (1660–1849) | News | 1.03B | [CC-BY-SA 4.0] |
|
| 498 |
+
| [retsinformationdk] | [retsinformation.dk](https://www.retsinformation.dk) (legal-information.dk) the official legal information system of Denmark | Legal | 818.25M | [Danish Copyright Law] |
|
| 499 |
+
| [ncc_books] | Danish books extracted from the [Norwegian Colossal Corpus](https://huggingface.co/datasets/NbAiLab/NCC) derived from OCR | Books | 531.97M | [CC-0] |
|
| 500 |
+
| [hest] | Samples from the Danish debate forum www.heste-nettet.dk | Social Media | 389.32M | [CC-0] |
|
| 501 |
+
| [ncc_parliament] | Collections from the Norwegian parliament in Danish. Extracted from the [Norwegian Colossal Corpus](https://huggingface.co/datasets/NbAiLab/NCC) derived from ocr | Other | 338.87M | [NLOD 2.0] |
|
| 502 |
+
| [opensubtitles] | Danish subsection of [OpenSubtitles](https://opus.nlpl.eu/OpenSubtitles/corpus/version/OpenSubtitles) | Conversation | 271.60M | [CC-0] |
|
| 503 |
+
| [wikipedia] | The Danish subsection of [wikipedia](https://en.wikipedia.org/wiki/Main_Page) | Encyclopedic | 173.33M | [CC-0] |
|
| 504 |
+
| [ai-aktindsigt] | Multiple web scrapes from municipality websites collected as a part of the [AI-aktindsigt](https://ai-aktindsigt.dk) project | Web | 139.23M | [Apache 2.0] |
|
| 505 |
+
| [miljoeportalen] | Data from [Danmarks Miljøportalen](https://www.miljoeportal.dk/om-danmarks-miljoeportal/) (Denmark's Environment Portal) | Web | 127.38M | [CC-0] |
|
| 506 |
+
| [skat] | Skat is the Danish tax authority. This dataset contains content from its website skat.dk | Legal | 122.11M | [CC-0] |
|
| 507 |
+
| [ft] | Records from all meetings of The Danish parliament (Folketinget) in the parliament hall | Conversation | 114.09M | [CC-0] |
|
| 508 |
+
| [memo] | The MeMo corpus comprising almost all Danish novels from the period 1870-1899, known as the Modern Breakthrough | Books | 113.74M | [CC-BY-SA 4.0] |
|
| 509 |
+
| [ep] | The Danish subsection of [Europarl](https://aclanthology.org/2005.mtsummit-papers.11/) | Conversation | 100.84M | [CC-0] |
|
| 510 |
+
| [domsdatabasen] | [Domsdatabasen.dk](https://domsdatabasen.dk/) is a public database containing selected judgments from the Danish courts | Legal | 86.35M | [Danish Copyright Law] |
|
| 511 |
+
| [adl] | Danish literature from 1700-2023 from the [Archive for Danish Literature](https://tekster.kb.dk/text?editorial=no&f%5Bsubcollection_ssi%5D%5B%5D=adl&match=one&search_field=Alt) (ADL) | Books | 58.49M | [CC-0] |
|
| 512 |
+
| [retspraksis] | Case law or judical practice in Denmark derived from [Retspraksis](https://da.wikipedia.org/wiki/Retspraksis) | Legal | 56.26M | [CC-0] |
|
| 513 |
+
| [fm-udgivelser] | The official publication series of the Danish Ministry of Finance containing economic analyses, budget proposals, and fiscal policy documents | Legal | 50.34M | [CC-BY-SA 4.0] |
|
| 514 |
+
| [nordjyllandnews] | Articles from the Danish Newspaper [TV2 Nord](https://www.tv2nord.dk) | News | 37.90M | [CC-0] |
|
| 515 |
+
| [eur-lex-sum-da] | The Danish subsection of EUR-lex SUM consisting of EU legislation paired with professionally written summaries | Legal | 31.37M | [CC-BY-SA 4.0] |
|
| 516 |
+
| [ncc_maalfrid] | Danish content from Norwegian institutions websites | Web | 29.26M | [NLOD 2.0] |
|
| 517 |
+
| [health_hovedstaden] | Guidelines and informational documents for healthcare professionals from the Capital Region | Medical | 27.07M | [CC-0] |
|
| 518 |
+
| [tv2r] | Contemporary Danish newswire articles published between 2010 and 2019 | News | 21.67M | [CC-BY-SA 4.0] |
|
| 519 |
+
| [grundtvig] | The complete collection of [Grundtvig](https://en.wikipedia.org/wiki/N._F._S._Grundtvig) (1783-1872) one of Denmark’s most influential figures | Books | 10.53M | [CC-0] |
|
| 520 |
+
| [danske-taler] | Danish Speeches from [dansketaler.dk](https://www.dansketaler.dk) | Conversation | 8.72M | [CC-0] |
|
| 521 |
+
| [wikibooks] | The Danish Subsection of [Wikibooks](https://www.wikibooks.org) | Books | 7.63M | [CC-0] |
|
| 522 |
+
| [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] |
|
| 523 |
+
| [gutenberg] | The Danish subsection from Project [Gutenberg](https://www.gutenberg.org) | Books | 6.76M | [Gutenberg] |
|
| 524 |
+
| [wikisource] | The Danish subsection of [Wikisource](https://en.wikisource.org/wiki/Main_Page) | Encyclopedic | 6.28M | [CC-0] |
|
| 525 |
+
| [wiki-comments] | Text from the comments sections of the Danish Wikipedia | Encyclopedic | 6.14M | [CC-0] |
|
| 526 |
+
| [historical-danish-handwriting] | Minutes from City and Parish Council meetings between 1841 and 1939 from [The Historical Danish handwriting dataset](https://huggingface.co/datasets/aarhus-city-archives/historical-danish-handwriting) | Other | 5.20M | [CC by 4.0] |
|
| 527 |
+
| [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] |
|
| 528 |
+
| [spont] | Conversational samples collected as a part of research projects at Aarhus University | Conversation | 1.56M | [CC-0] |
|
| 529 |
+
| [dannet] | [DanNet](https://cst.ku.dk/projekter/dannet) is a Danish WordNet | Other | 1.48M | [DanNet 1.0] |
|
| 530 |
+
| [relig] | Danish religious text from the 1700-2022 | Books | 1.24M | [CC-0] |
|
| 531 |
+
| [ncc_newspaper] | OCR'd Newspapers derived from [NCC](https://huggingface.co/datasets/NbAiLab/NCC) | News | 1.05M | [CC-0] |
|
| 532 |
+
| [botxt] | The Bornholmsk Ordbog Dictionary Project | Dialect | 847.97K | [CC-0] |
|
| 533 |
+
| [naat] | Danish speeches from 1930-2022 | Conversation | 286.68K | [CC-0] |
|
| 534 |
+
| [depbank] | The Danish subsection of the [Universal Dependencies Treebank](https://github.com/UniversalDependencies/UD_Danish-DDT) | Other | 185.45K | [CC-BY-SA 4.0] |
|
| 535 |
+
| [synne] | Dataset collected from [synnejysk forening's website](https://www.synnejysk.dk), covering the Danish dialect sønderjysk | Other | 52.02K | [CC-0] |
|
| 536 |
+
| **Total** | | | 5.89B | |
|
| 537 |
|
| 538 |
[ai-aktindsigt]: data/ai-aktindsigt/ai-aktindsigt.md
|
| 539 |
[cellar]: data/cellar/cellar.md
|
|
|
|
| 574 |
[nota]: data/nota/nota.md
|
| 575 |
[health_hovedstaden]: data/health_hovedstaden/health_hovedstaden.md
|
| 576 |
[domsdatabasen]: data/domsdatabasen/domsdatabasen.md
|
| 577 |
+
[historical-danish-handwriting]: data/historical-danish-handwriting/historical-danish-handwriting.md
|
| 578 |
|
| 579 |
|
| 580 |
[CC-0]: https://creativecommons.org/publicdomain/zero/1.0/legalcode.en
|
|
|
|
| 586 |
[DanNet 1.0]: ./data/dannet/dannet.md#license-information
|
| 587 |
[Gutenberg]: ./data/gutenberg/gutenberg.md#license-information
|
| 588 |
[Danish Copyright Law]: ./data/domsdatabasen/domsdatabasen.md#license-information
|
| 589 |
+
[CC by 4.0]: ./data/historical-danish-handwriting/historical-danish-handwriting.md#license-information
|
| 590 |
<!-- END-MAIN TABLE -->
|
| 591 |
|
| 592 |
</details>
|
data/historical-danish-handwriting/create.py
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# /// script
|
| 2 |
+
# requires-python = ">=3.12"
|
| 3 |
+
# dependencies = [
|
| 4 |
+
# "beautifulsoup4",
|
| 5 |
+
# "datasets",
|
| 6 |
+
# "glob",
|
| 7 |
+
# "huggingface-hub",
|
| 8 |
+
# "pandas",
|
| 9 |
+
# ]
|
| 10 |
+
# ///
|
| 11 |
+
|
| 12 |
+
"""
|
| 13 |
+
This script loads the historical danish handwriting data from Aarhus city archives (https://huggingface.co/datasets/aarhus-city-archives/historical-danish-handwriting).
|
| 14 |
+
It loads the columns doc_id, sequence and alto (and not the image files).
|
| 15 |
+
"""
|
| 16 |
+
|
| 17 |
+
import os
|
| 18 |
+
from pathlib import Path
|
| 19 |
+
import glob
|
| 20 |
+
from datetime import datetime
|
| 21 |
+
import re
|
| 22 |
+
import pandas as pd
|
| 23 |
+
from bs4 import BeautifulSoup
|
| 24 |
+
from huggingface_hub import snapshot_download
|
| 25 |
+
from datasets import Dataset, Features, Value
|
| 26 |
+
from dynaword.process_dataset import add_token_count, ensure_column_order
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
def load_historical_danish_handwriting(path):
|
| 30 |
+
""" Load historical-danish-handwriting data from aarhus-city-archives huggingface repo (path), return as pd df """
|
| 31 |
+
raw_df = pd.DataFrame(columns=['doc_id', 'sequence', 'alto'])
|
| 32 |
+
for file in sorted(glob.glob(os.path.join(path, 'data', "*.parquet"))):
|
| 33 |
+
raw_df = pd.concat([raw_df, pd.read_parquet(file, columns=['doc_id', 'sequence', 'alto'])], axis=0, ignore_index=True)
|
| 34 |
+
raw_df.sort_values(by=['doc_id', 'sequence'], inplace=True)
|
| 35 |
+
return raw_df
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
def parse_xml(bs_obj):
|
| 39 |
+
""" Extract text from xml strings (alto format) """
|
| 40 |
+
text = ""
|
| 41 |
+
layout_str = bs_obj.Layout.find_all('String')
|
| 42 |
+
if len(layout_str) == 0:
|
| 43 |
+
return ""
|
| 44 |
+
else:
|
| 45 |
+
for j in layout_str:
|
| 46 |
+
if len(text) ==0:
|
| 47 |
+
text = text + j.attrs['CONTENT']
|
| 48 |
+
else:
|
| 49 |
+
text = text + " " + j.attrs['CONTENT']
|
| 50 |
+
return "\n" + text
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
def extract_text(raw_df):
|
| 54 |
+
"""
|
| 55 |
+
Extract text from historical-danish-handwriting data and return pd df
|
| 56 |
+
"""
|
| 57 |
+
text_df = pd.DataFrame(columns=['id', 'text', 'source', 'added','created'])
|
| 58 |
+
i = 0
|
| 59 |
+
for doc in pd.unique(raw_df['doc_id']):
|
| 60 |
+
for seq in raw_df[raw_df['doc_id'] == doc]['sequence']:
|
| 61 |
+
bs = BeautifulSoup(raw_df.loc[(raw_df['doc_id']==doc) & (raw_df['sequence'] == seq)]['alto'].item(), 'xml')
|
| 62 |
+
if (seq == 1):
|
| 63 |
+
filename = re.split("_", bs.Description.fileName.string)[1]
|
| 64 |
+
text_df.loc[i, 'text'] = filename + parse_xml(bs)
|
| 65 |
+
else:
|
| 66 |
+
assert filename in bs.Description.fileName.string, f"id in current seq {seq} does not match first in doc {doc}"
|
| 67 |
+
text_df.at[i, 'text'] = text_df.loc[i, 'text'] + parse_xml(bs)
|
| 68 |
+
text_df['source'] = 'historical-danish-handwriting'
|
| 69 |
+
text_df.loc[i, 'text'] = text_df.loc[i, 'text'].strip("\n")
|
| 70 |
+
created = re.search(r'[0-9]{4}-[0-9]{4}', filename).group().split("-")
|
| 71 |
+
text_df.loc[i, 'created'] = f"{created[0]}-01-01, {created[1]}-12-31"
|
| 72 |
+
text_df.loc[i, 'id'] = f"{text_df.loc[i, 'source']}_{str(doc)}_{re.sub(" ", "_", filename).strip().lower()}"
|
| 73 |
+
i+=1
|
| 74 |
+
return text_df
|
| 75 |
+
|
| 76 |
+
def convert_dynaword_format(text_df, outpath):
|
| 77 |
+
""" Converts pandas df to dynaword format (dataset), adds source, added and token count columns. Saves as .parquet to defined path """
|
| 78 |
+
text_df['added'] = datetime.now().date().isoformat()
|
| 79 |
+
ds = Dataset.from_pandas(text_df, preserve_index=False, split='train',
|
| 80 |
+
features = Features({'id':Value(dtype='string'), 'text':Value(dtype='string'), 'source':Value(dtype='string'),
|
| 81 |
+
'added': Value(dtype='string'), 'created':Value(dtype='string'), 'token_count':Value(dtype="int64")}))
|
| 82 |
+
ds = add_token_count(ds)
|
| 83 |
+
ds = ensure_column_order(ds)
|
| 84 |
+
ds.to_parquet(outpath)
|
| 85 |
+
return print(f"extracted text saved to {outpath}")
|
| 86 |
+
|
| 87 |
+
|
| 88 |
+
def main():
|
| 89 |
+
outpath = Path(__file__).parent/'historical-danish-handwriting.parquet'
|
| 90 |
+
path = snapshot_download(repo_id="aarhus-city-archives/historical-danish-handwriting", repo_type='dataset', allow_patterns="data/")
|
| 91 |
+
raw_df = load_historical_danish_handwriting(path)
|
| 92 |
+
text_df = extract_text(raw_df)
|
| 93 |
+
convert_dynaword_format(text_df, outpath)
|
| 94 |
+
|
| 95 |
+
|
| 96 |
+
if __name__ == "__main__":
|
| 97 |
+
main()
|
data/historical-danish-handwriting/descriptive_stats.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"number_of_samples": 41,
|
| 3 |
+
"number_of_tokens": 5201057,
|
| 4 |
+
"min_length_tokens": 15248,
|
| 5 |
+
"max_length_tokens": 397342,
|
| 6 |
+
"number_of_characters": 14385594,
|
| 7 |
+
"min_length_characters": 42410,
|
| 8 |
+
"max_length_characters": 1128052
|
| 9 |
+
}
|
data/historical-danish-handwriting/historical-danish-handwriting.md
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: Historical Danish handwriting 1841-1939
|
| 3 |
+
language:
|
| 4 |
+
- da
|
| 5 |
+
license: other
|
| 6 |
+
license_name: CC by 4.0
|
| 7 |
+
size_categories:
|
| 8 |
+
- 10K<n<100K
|
| 9 |
+
task_categories:
|
| 10 |
+
- text-generation
|
| 11 |
+
- fill-mask
|
| 12 |
+
task_ids:
|
| 13 |
+
- language-modeling
|
| 14 |
+
domains:
|
| 15 |
+
- Other
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# Dataset Card for Historical Danish Handwriting
|
| 19 |
+
|
| 20 |
+
<!-- START-SHORT DESCRIPTION -->
|
| 21 |
+
Minutes from City and Parish Council meetings between 1841 and 1939 from [The Historical Danish handwriting dataset](https://huggingface.co/datasets/aarhus-city-archives/historical-danish-handwriting)
|
| 22 |
+
<!-- END-SHORT DESCRIPTION -->
|
| 23 |
+
|
| 24 |
+
More information about the original dataset, which includes the scanned pages can be found [here](https://huggingface.co/datasets/aarhus-city-archives/historical-danish-handwriting). The original dataset is curated by Aarhus City Archives, and contains more than 11.000 scanned documents and each's transcription. Transcription was primarily done by volunteers and employees at the participating Danish city archives.
|
| 25 |
+
For the current dataset, text from pages from the same collections (document ids) have been concatenated resulting in a dataset of 41 rows.
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
## Dataset Description
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
<!-- START-DESC-STATS -->
|
| 32 |
+
- **Number of samples**: 41
|
| 33 |
+
- **Number of tokens (Llama 3)**: 5.20M
|
| 34 |
+
- **Average document length in tokens (min, max)**: 126.86K (15.25K, 397.34K)
|
| 35 |
+
<!-- END-DESC-STATS -->
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
## Dataset Structure
|
| 40 |
+
An example from the dataset looks as follows.
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
<!-- START-SAMPLE -->
|
| 44 |
+
```py
|
| 45 |
+
{
|
| 46 |
+
"id": "historical-danish-handwriting_23739_elsted_forhandlingsprotokol_1907-1930",
|
| 47 |
+
"text": "Elsted Forhandlingsprotokol 1907-1930\n1916 d. 22 April holdtes Møde i Lystrup Afholdshotel Alle Medl[...]",
|
| 48 |
+
"source": "historical-danish-handwriting",
|
| 49 |
+
"added": "2025-09-15",
|
| 50 |
+
"created": "1907-01-01, 1930-12-31",
|
| 51 |
+
"token_count": 70588
|
| 52 |
+
}
|
| 53 |
+
```
|
| 54 |
+
|
| 55 |
+
### Data Fields
|
| 56 |
+
|
| 57 |
+
An entry in the dataset consists of the following fields:
|
| 58 |
+
|
| 59 |
+
- `id` (`str`): An unique identifier for each document.
|
| 60 |
+
- `text`(`str`): The content of the document.
|
| 61 |
+
- `source` (`str`): The source of the document (see [Source Data](#source-data)).
|
| 62 |
+
- `added` (`str`): An date for when the document was added to this collection.
|
| 63 |
+
- `created` (`str`): An date range for when the document was originally created.
|
| 64 |
+
- `token_count` (`int`): The number of tokens in the sample computed using the Llama 8B tokenizer
|
| 65 |
+
<!-- END-SAMPLE -->
|
| 66 |
+
|
| 67 |
+
### Dataset Statistics
|
| 68 |
+
|
| 69 |
+
<!-- START-DATASET PLOTS -->
|
| 70 |
+
<p align="center">
|
| 71 |
+
<img src="./images/dist_document_length.png" width="600" style="margin-right: 10px;" />
|
| 72 |
+
</p>
|
| 73 |
+
<!-- END-DATASET PLOTS -->
|
| 74 |
+
|
| 75 |
+
|
| 76 |
+
## Personal and Sensitive Information
|
| 77 |
+
|
| 78 |
+
As the latest (newest) data in the dataset is from 1939 and the dataset almost exclusively consists of deliberations on public matters, we have made no efforts to anonymize the data.
|
| 79 |
+
|
| 80 |
+
The dataset might contain data that can be considered sensitive (e.g., data that reveals racial or ethnic origins, sexual orientations, religious beliefs, political opinions or union memberships, or locations; financial or health data; biometric or genetic data; forms of government identification, such as social security numbers; criminal history).
|
| 81 |
+
|
| 82 |
+
If you, contrary to expectations, should find any sensitive personal data, please contact us and we will, if necessary, anonymize the specific data point.
|
| 83 |
+
|
| 84 |
+
|
| 85 |
+
## Additional Information
|
| 86 |
+
|
| 87 |
+
|
| 88 |
+
## License Information
|
| 89 |
+
|
| 90 |
+
The dataset is licensed under the [Creative Commons Attribution 4.0 International](https://creativecommons.org/licenses/by/4.0/) (the same as the original [dataset](https://huggingface.co/datasets/aarhus-city-archives/historical-danish-handwriting)).
|
data/historical-danish-handwriting/historical-danish-handwriting.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:35b0ecccfe7887b227651f2eb6aff31b68ec53041863a9bee066ead4bf5b0de9
|
| 3 |
+
size 7354723
|
data/historical-danish-handwriting/images/dist_document_length.png
ADDED
|
Git LFS Details
|
descriptive_stats.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
{
|
| 2 |
-
"number_of_samples":
|
| 3 |
-
"number_of_tokens":
|
| 4 |
"min_length_tokens": 2,
|
| 5 |
"max_length_tokens": 9812841,
|
| 6 |
-
"number_of_characters":
|
| 7 |
"min_length_characters": 1,
|
| 8 |
"max_length_characters": 37287484
|
| 9 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"number_of_samples": 5612109,
|
| 3 |
+
"number_of_tokens": 5894652180,
|
| 4 |
"min_length_tokens": 2,
|
| 5 |
"max_length_tokens": 9812841,
|
| 6 |
+
"number_of_characters": 17805032682,
|
| 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="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>
|
|
|
|
| 3880 |
|
| 3881 |
window.Plotly = Plotly;
|
| 3882 |
return Plotly;
|
| 3883 |
+
}));</script> <div id="5bf602bc-fdf6-4ae2-a886-0db489c81546" class="plotly-graph-div" style="height:800px; width:100%;"></div> <script type="text/javascript"> window.PLOTLYENV=window.PLOTLYENV || {}; if (document.getElementById("5bf602bc-fdf6-4ae2-a886-0db489c81546")) { Plotly.newPlot( "5bf602bc-fdf6-4ae2-a886-0db489c81546", [{"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":[2,175223],"y":["skat","skat"],"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":[7,2599840],"y":["cellar","cellar"],"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":[129,53401],"y":["danske-taler","danske-taler"],"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":[228,3952],"y":["naat","naat"],"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":[4,51033],"y":["health_hovedstaden","health_hovedstaden"],"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":[261,517],"y":["depbank","depbank"],"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":[129,373587],"y":["ncc_parliament","ncc_parliament"],"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":[298,979662],"y":["retspraksis","retspraksis"],"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":[209,595325],"y":["fm-udgivelser","fm-udgivelser"],"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":[15248,397342],"y":["historical-danish-handwriting","historical-danish-handwriting"],"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":[8,222729],"y":["ep","ep"],"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":[15474,271790],"y":["jvj","jvj"],"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":[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":[4477,107261],"y":["nota","nota"],"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":[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":[2,106],"y":["dannet","dannet"],"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":[8,107351],"y":["wikipedia","wikipedia"],"type":"scatter"},{"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":[16,5267],"y":["tv2r","tv2r"],"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":[15,1008826],"y":["domsdatabasen","domsdatabasen"],"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":[34,9593591],"y":["retsinformationdk","retsinformationdk"],"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":"AwACAC0ABwAEAFUAgQARAOQACQAEADEABQGXAYEADAAqAR0A0QA2AJA7NQAIAAgAcjwDAA8a2QF9EWQAYAgCAOseCAA6ABAAgAAPAAwAIgA="},"y":["enevaeldens_nyheder","skat","opensubtitles","cellar","wiki-comments","spont","danske-taler","wikisource","naat","ai-aktindsigt","health_hovedstaden","ft","depbank","botxt","ncc_parliament","ncc_newspaper","retspraksis","nordjyllandnews","fm-udgivelser","miljoeportalen","historical-danish-handwriting","adl","ep","wikibooks","jvj","hest","memo","relig","nota","grundtvig","eur-lex-sum-da","dannet","gutenberg","wikipedia","ncc_books","tv2r","synne","domsdatabasen","ncc_maalfrid","retsinformationdk"],"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":"rpEAAHesAgD5EQEAoKsnAIVsAADJNgAAmdAAAOv7AwBwDwAAF1QCAFnHAAAuOQUABQIAAFBHAQBTswUACw8AAM7yDgDhLwAAfRUJAM\u002fpFQAeEAYAfxoKAAlmAwDwoAUAriUEAGm7lQAr\u002fQoAdgMBAP2iAQBW7AYAHE4aAGoAAACP0gMAV6MBABTaBQCTFAAAewMAALpkDwDxEwAA92KSAA=="},"y":["enevaeldens_nyheder","skat","opensubtitles","cellar","wiki-comments","spont","danske-taler","wikisource","naat","ai-aktindsigt","health_hovedstaden","ft","depbank","botxt","ncc_parliament","ncc_newspaper","retspraksis","nordjyllandnews","fm-udgivelser","miljoeportalen","historical-danish-handwriting","adl","ep","wikibooks","jvj","hest","memo","relig","nota","grundtvig","eur-lex-sum-da","dannet","gutenberg","wikipedia","ncc_books","tv2r","synne","domsdatabasen","ncc_maalfrid","retsinformationdk"],"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":"gnNL8sslbEDdUAjGSzXAQMzVkjT7ycFAtbBCJPS+0UCj9qzlDIqAQMvOXHF+k61Af+mXfrlnp0AFED8paVKgQK0pa8qaXKFArje2MA2ohUAKtEsO35+RQKyl75tlLvVACCpnt\u002fCfdUBNMN7Kvj+\u002fQP+Q5h5ONBNBKn3Bn7N+aEB8ebE4OTHJQOe11SYyf39AZ5dO6Hq9+0C8lX0OlVbtQH0Mzsdw+P5AehEnKget\u002fECrYMJc2A7ZQLKik4T1MbFA9DzP84Sh9EAD5fvQVoLaQPpxZW63LgBBCB988AFo0kA+doe2v\u002fbPQNkzEJWGQ9BAeURSg0OS3kDXLXw\u002fURQ\u002fQAAAAACoBPlA456lnFJ+gUCGlAbbjX76QBAAVpXjkHtAMI+tCBpeckAx7476yOrDQOuCa4bsbYtAv1F1id7Lv0A="},"y":["enevaeldens_nyheder","skat","opensubtitles","cellar","wiki-comments","spont","danske-taler","wikisource","naat","ai-aktindsigt","health_hovedstaden","ft","depbank","botxt","ncc_parliament","ncc_newspaper","retspraksis","nordjyllandnews","fm-udgivelser","miljoeportalen","historical-danish-handwriting","adl","ep","wikibooks","jvj","hest","memo","relig","nota","grundtvig","eur-lex-sum-da","dannet","gutenberg","wikipedia","ncc_books","tv2r","synne","domsdatabasen","ncc_maalfrid","retsinformationdk"],"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":["enevaeldens_nyheder","skat","opensubtitles","cellar","wiki-comments","spont","danske-taler","wikisource","naat","ai-aktindsigt","health_hovedstaden","ft","depbank","botxt","ncc_parliament","ncc_newspaper","retspraksis","nordjyllandnews","fm-udgivelser","miljoeportalen","historical-danish-handwriting","adl","ep","wikibooks","jvj","hest","memo","relig","nota","grundtvig","eur-lex-sum-da","dannet","gutenberg","wikipedia","ncc_books","tv2r","synne","domsdatabasen","ncc_maalfrid","retsinformationdk"],"ticktext":["Enev\u00e6ldens Nyheder Online","skat.dk","OpenSubtitles","Cellar","Wikipedia Comments","Spontaneous speech","Danske Taler","Wikisource","NAAT","AI Aktindsigt","Health Hovedstaden","Folketinget","Danish Dependency Treebank","Bornholmsk","Norwegian Colossal Corpus (parliament)","Norwegian Colossal Corpus (newspaper)","retspraksis (Danish legal information)","Nordjylland News","Finansministeriets Udgivelser","Milj\u00f8portalen","Historical Danish handwriting 1841-1939","Archive for Danish Literature","European Parliament","Wikibooks","Johannes V. Jensen","Hestenettet (Danish debate forum)","MeMo Canonical Novels","Religious texts","Nota lyd- og tekstdata (Tekst only)","Grundtvig's Works","EUR-Lex SUM","DanNet","Gutenberg","Wikipedia","Norwegian Colossal Corpus (books)","TV 2 Radio","Synnejysk Forening","Domsdatabasen.dk","Norwegian Colossal Corpus (maalfrid)","retsinformation.dk (Danish legal information)"],"categoryorder":"array","categoryarray":["enevaeldens_nyheder","skat","opensubtitles","cellar","wiki-comments","spont","danske-taler","wikisource","naat","ai-aktindsigt","health_hovedstaden","ft","depbank","botxt","ncc_parliament","ncc_newspaper","retspraksis","nordjyllandnews","fm-udgivelser","miljoeportalen","historical-danish-handwriting","adl","ep","wikibooks","jvj","hest","memo","relig","nota","grundtvig","eur-lex-sum-da","dannet","gutenberg","wikipedia","ncc_books","tv2r","synne","domsdatabasen","ncc_maalfrid","retsinformationdk"],"range":[-0.5,39.5]},"title":{"text":"Token Length Distribution by Dataset\u003cbr\u003e\u003csub\u003eRange (min-max) with mean values\u003c\u002fsub\u003e"},"height":800}, {"responsive": true} ) }; </script> </div>
|
| 3884 |
</body>
|
| 3885 |
</html>
|
images/dataset_size_plot.svg
CHANGED
|
|
|
|
images/domain_distribution.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
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="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>
|
|
|
|
| 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="165016e3-bec9-4ed2-b1a9-c230f8c900d6" class="plotly-graph-div" style="height:400px; width:600px;"></div> <script type="text/javascript"> window.PLOTLYENV=window.PLOTLYENV || {}; if (document.getElementById("165016e3-bec9-4ed2-b1a9-c230f8c900d6")) { Plotly.newPlot( "165016e3-bec9-4ed2-b1a9-c230f8c900d6", [{"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)","Date: 2025-09-03\u003cbr\u003eTokens: 5.89G\u003cbr\u003eChange: +6.14M\u003cbr\u003eSamples: 5,612,068\u003cbr\u003eCommit: f754d3ed\u003cbr\u003eMessage: wiki-comments (#101)","Date: 2025-09-16\u003cbr\u003eTokens: 5.89G\u003cbr\u003eChange: +5.20M\u003cbr\u003eSamples: 5,612,109\u003cbr\u003eCommit: 6961f36e\u003cbr\u003eMessage: updated chanelog, version and descr stats"],"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","2025-09-03T00:00:00.000000000","2025-09-16T00: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,5889451123,5894652180],"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.
|
| 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.12"
|
| 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,25 +1,25 @@
|
|
| 1 |
============================= test session starts ==============================
|
| 2 |
platform linux -- Python 3.12.3, pytest-8.3.4, pluggy-1.5.0
|
| 3 |
-
rootdir: /home/
|
| 4 |
configfile: pyproject.toml
|
| 5 |
-
collected
|
| 6 |
|
| 7 |
src/tests/test_dataset_schema.py ....................................... [ 10%]
|
| 8 |
-
|
| 9 |
-
src/tests/test_datasheets.py ........................................... [
|
| 10 |
-
........................................................................ [
|
| 11 |
-
........................................................................ [
|
| 12 |
-
|
| 13 |
src/tests/test_load.py .. [ 77%]
|
| 14 |
src/tests/test_quality/test_duplicates.py .............................. [ 85%]
|
| 15 |
-
|
| 16 |
src/tests/test_quality/test_short_texts.py ............................. [ 96%]
|
| 17 |
-
|
| 18 |
src/tests/test_unique_ids.py . [100%]
|
| 19 |
|
| 20 |
=============================== warnings summary ===============================
|
| 21 |
-
src/tests/test_quality/test_short_texts.py:
|
| 22 |
-
/home/
|
| 23 |
|
| 24 |
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
|
| 25 |
-
|
|
|
|
| 1 |
============================= test session starts ==============================
|
| 2 |
platform linux -- Python 3.12.3, pytest-8.3.4, pluggy-1.5.0
|
| 3 |
+
rootdir: /home/l_rahbek/danish-dynaword
|
| 4 |
configfile: pyproject.toml
|
| 5 |
+
collected 364 items
|
| 6 |
|
| 7 |
src/tests/test_dataset_schema.py ....................................... [ 10%]
|
| 8 |
+
......................................... [ 21%]
|
| 9 |
+
src/tests/test_datasheets.py ........................................... [ 33%]
|
| 10 |
+
........................................................................ [ 53%]
|
| 11 |
+
........................................................................ [ 73%]
|
| 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: 40 warnings
|
| 22 |
+
/home/l_rahbek/danish-dynaword/.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 |
+
============ 363 passed, 1 skipped, 40 warnings in 76.69s (0:01:16) ============
|
uv.lock
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|