Datasets:
Tasks:
Text Generation
Formats:
parquet
Sub-tasks:
language-modeling
Languages:
Danish
Size:
10M - 100M
ArXiv:
DOI:
License:
Kenneth Enevoldsen
commited on
remove lexdk-open due to legal dispute
Browse files- README.md +0 -6
- data/lexdk/create.py +7 -0
- data/lexdk/create.py.lock +0 -0
- data/lexdk/lexdk.md +16 -4
- data/lexdk/lexdk.parquet +0 -3
- test_results.log +0 -13
README.md
CHANGED
|
@@ -5,10 +5,6 @@ configs:
|
|
| 5 |
data_files:
|
| 6 |
- split: train
|
| 7 |
path: 'data/*/*.parquet'
|
| 8 |
-
- config_name: lexdk
|
| 9 |
-
data_files:
|
| 10 |
-
- split: train
|
| 11 |
-
path: data/lexdk/*.parquet
|
| 12 |
- config_name: memo
|
| 13 |
data_files:
|
| 14 |
- split: train
|
|
@@ -281,7 +277,6 @@ Below follows a brief overview of the sources in the corpus along with their ind
|
|
| 281 |
<!-- START-MAIN TABLE -->
|
| 282 |
| Source | Description | N. Tokens | License |
|
| 283 |
|:--------------------|:-----------------------------------------------------------------------------------------------------------------------------|:------------|:-----------------------|
|
| 284 |
-
| [lexdk] | Permissible use articles from [lex.dk](https://lex.dk) | 5.69M | [CC-BY-SA 4.0] |
|
| 285 |
| [memo] | The MeMo corpus comprising almost all Danish novels from the period 1870-1899, known as the Modern Breakthrough | 9.28M | [CC-BY-SA 4.0] |
|
| 286 |
| [opensubtitles] | Danish subsection of [OpenSubtitles](https://opus.nlpl.eu/OpenSubtitles/corpus/version/OpenSubtitles) | 271.60M | [CC-0] |
|
| 287 |
| [retsinformationdk] | [retsinformation.dk](https://www.retsinformation.dk) (legal-information.dk) the official legal information system of Denmark | 516.54M | [Danish Copyright Law] |
|
|
@@ -308,7 +303,6 @@ Below follows a brief overview of the sources in the corpus along with their ind
|
|
| 308 |
| [nota] | The text only part of the [Nota lyd- og tekstdata](https://sprogteknologi.dk/dataset/nota-lyd-og-tekstdata) dataset | 7.30M | [CC-0] |
|
| 309 |
| **Total** | | 1.86B | |
|
| 310 |
|
| 311 |
-
[lexdk]: data/lexdk/lexdk.md
|
| 312 |
[memo]: data/memo/memo.md
|
| 313 |
[opensubtitles]: data/opensubtitles/opensubtitles.md
|
| 314 |
[retsinformationdk]: data/retsinformationdk/retsinformationdk.md
|
|
|
|
| 5 |
data_files:
|
| 6 |
- split: train
|
| 7 |
path: 'data/*/*.parquet'
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
- config_name: memo
|
| 9 |
data_files:
|
| 10 |
- split: train
|
|
|
|
| 277 |
<!-- START-MAIN TABLE -->
|
| 278 |
| Source | Description | N. Tokens | License |
|
| 279 |
|:--------------------|:-----------------------------------------------------------------------------------------------------------------------------|:------------|:-----------------------|
|
|
|
|
| 280 |
| [memo] | The MeMo corpus comprising almost all Danish novels from the period 1870-1899, known as the Modern Breakthrough | 9.28M | [CC-BY-SA 4.0] |
|
| 281 |
| [opensubtitles] | Danish subsection of [OpenSubtitles](https://opus.nlpl.eu/OpenSubtitles/corpus/version/OpenSubtitles) | 271.60M | [CC-0] |
|
| 282 |
| [retsinformationdk] | [retsinformation.dk](https://www.retsinformation.dk) (legal-information.dk) the official legal information system of Denmark | 516.54M | [Danish Copyright Law] |
|
|
|
|
| 303 |
| [nota] | The text only part of the [Nota lyd- og tekstdata](https://sprogteknologi.dk/dataset/nota-lyd-og-tekstdata) dataset | 7.30M | [CC-0] |
|
| 304 |
| **Total** | | 1.86B | |
|
| 305 |
|
|
|
|
| 306 |
[memo]: data/memo/memo.md
|
| 307 |
[opensubtitles]: data/opensubtitles/opensubtitles.md
|
| 308 |
[retsinformationdk]: data/retsinformationdk/retsinformationdk.md
|
data/lexdk/create.py
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
"""download lexdk from alexandrainst/lexdk-open"""
|
| 2 |
|
| 3 |
from datetime import datetime
|
|
|
|
| 1 |
+
# /// script
|
| 2 |
+
# requires-python = ">=3.12"
|
| 3 |
+
# dependencies = [
|
| 4 |
+
# "datasets",
|
| 5 |
+
# "pandas",
|
| 6 |
+
# ]
|
| 7 |
+
# ///
|
| 8 |
"""download lexdk from alexandrainst/lexdk-open"""
|
| 9 |
|
| 10 |
from datetime import datetime
|
data/lexdk/create.py.lock
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/lexdk/lexdk.md
CHANGED
|
@@ -2,8 +2,8 @@
|
|
| 2 |
pretty_name: Lex.dk Open
|
| 3 |
language:
|
| 4 |
- da
|
| 5 |
-
license:
|
| 6 |
-
license_name: CC-BY-SA 4.0
|
| 7 |
task_categories:
|
| 8 |
- text-generation
|
| 9 |
- fill-mask
|
|
@@ -16,9 +16,11 @@ source_datasets:
|
|
| 16 |
# Dataset Card for Lex.dk Open
|
| 17 |
|
| 18 |
<!-- START-SHORT DESCRIPTION -->
|
| 19 |
-
|
| 20 |
<!-- END-SHORT DESCRIPTION -->
|
| 21 |
|
|
|
|
|
|
|
| 22 |
Lex.dk is a Danish online encyclopedia platform providing access to reliable and authoritative knowledge on a wide range of topics. It is created and curated by experts, ensuring high-quality, accurate content. The platform serves as a central hub for general and specialized information in Danish, making it a valuable resource for education, research, and general learning.
|
| 23 |
|
| 24 |
|
|
@@ -77,8 +79,18 @@ An entry in the dataset consists of the following fields:
|
|
| 77 |
<!-- END-DATASET PLOTS -->
|
| 78 |
|
| 79 |
|
| 80 |
-
## Additional Information
|
| 81 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 82 |
|
| 83 |
### Citation Information
|
| 84 |
|
|
|
|
| 2 |
pretty_name: Lex.dk Open
|
| 3 |
language:
|
| 4 |
- da
|
| 5 |
+
license: other
|
| 6 |
+
license_name: disputed CC-BY-SA 4.0
|
| 7 |
task_categories:
|
| 8 |
- text-generation
|
| 9 |
- fill-mask
|
|
|
|
| 16 |
# Dataset Card for Lex.dk Open
|
| 17 |
|
| 18 |
<!-- START-SHORT DESCRIPTION -->
|
| 19 |
+
Articles from [lex.dk](https://lex.dk).
|
| 20 |
<!-- END-SHORT DESCRIPTION -->
|
| 21 |
|
| 22 |
+
**NOTE:** This dataset been taken down due to concerns about licensing. See [license information](#license-information).
|
| 23 |
+
|
| 24 |
Lex.dk is a Danish online encyclopedia platform providing access to reliable and authoritative knowledge on a wide range of topics. It is created and curated by experts, ensuring high-quality, accurate content. The platform serves as a central hub for general and specialized information in Danish, making it a valuable resource for education, research, and general learning.
|
| 25 |
|
| 26 |
|
|
|
|
| 79 |
<!-- END-DATASET PLOTS -->
|
| 80 |
|
| 81 |
|
|
|
|
| 82 |
|
| 83 |
+
## License Information
|
| 84 |
+
|
| 85 |
+
The articles here are derived from lex.dk and only include articles with a CC-BY-SA 4.0 licens as defined in the articles.
|
| 86 |
+
See [this article](https://lex.dk/Oluf_Høst_Museet) for an example. However we recently discovered the following subsection in their [licensing](https://lex.dk/.licenses/free):
|
| 87 |
+
|
| 88 |
+
> Licensen gælder for de enkelte artikeltekster. Du finder information om licens i bunden af alle artikler på lex.dk. Licensen gælder ikke for hele værker, som fx Den Store Danske Encyklopædi eller Trap Danmark. **Du må altså ikke downloade og genbruge alle artikler med fri licens, fordi dette vil være en gengivelse af en stor del af et værk.**
|
| 89 |
+
|
| 90 |
+
We are currently examining to what extent it is possible to share this work and until further clarification have chosen to take it down.
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
## Additional Information
|
| 94 |
|
| 95 |
### Citation Information
|
| 96 |
|
data/lexdk/lexdk.parquet
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:5c4779881f575d6f612c8603ed4896f10ebc7293c59637fa8a0773ee4545fce3
|
| 3 |
-
size 10007743
|
|
|
|
|
|
|
|
|
|
|
|
test_results.log
CHANGED
|
@@ -1,13 +0,0 @@
|
|
| 1 |
-
============================= test session starts ==============================
|
| 2 |
-
platform darwin -- Python 3.12.0, pytest-8.3.4, pluggy-1.5.0
|
| 3 |
-
rootdir: /Users/au561649/Github/danish-dynaword
|
| 4 |
-
configfile: pyproject.toml
|
| 5 |
-
collected 104 items
|
| 6 |
-
|
| 7 |
-
src/tests/test_dataset_schema.py ....................................... [ 37%]
|
| 8 |
-
.................................... [ 72%]
|
| 9 |
-
src/tests/test_duplicates.py ssssssssssssssssssssssssss [ 97%]
|
| 10 |
-
src/tests/test_load.py .. [ 99%]
|
| 11 |
-
src/tests/test_unique_ids.py . [100%]
|
| 12 |
-
|
| 13 |
-
======================== 78 passed, 26 skipped in 4.17s ========================
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|