Datasets:
Tasks:
Text Generation
Formats:
parquet
Sub-tasks:
language-modeling
Languages:
Danish
Size:
1M - 10M
License:
KennethEnevoldsen
commited on
updated adl description
Browse files- data/adl/adl.md +1 -1
- src/update_descriptive_statistics.py +9 -2
data/adl/adl.md
CHANGED
@@ -23,7 +23,7 @@ source_datasets:
|
|
23 |
Danish literature from 1700-2023 from the Archive for Danish Literature (ADL).
|
24 |
<!-- END-SHORT DESCRIPTION -->
|
25 |
|
26 |
-
|
27 |
|
28 |
<!-- START-DESC-STATS -->
|
29 |
- **Language**: dan, dansk, Danish
|
|
|
23 |
Danish literature from 1700-2023 from the Archive for Danish Literature (ADL).
|
24 |
<!-- END-SHORT DESCRIPTION -->
|
25 |
|
26 |
+
See also dataset [entry](https://sprogteknologi.dk/dataset/public-adl-text-sources) on sprogteknologi.dk and their API [here](https://rawgit.com/Det-Kongelige-Bibliotek/access-digital-objects/master/form-demos/adl-form.html).
|
27 |
|
28 |
<!-- START-DESC-STATS -->
|
29 |
- **Language**: dan, dansk, Danish
|
src/update_descriptive_statistics.py
CHANGED
@@ -184,10 +184,17 @@ def add_descriptive_statistics_plots(
|
|
184 |
+ pn.facet_wrap("Source", scales="free", ncol=3)
|
185 |
)
|
186 |
|
187 |
-
|
188 |
img_path = markdown_path.parent / "images"
|
189 |
img_path.mkdir(parents=False, exist_ok=True)
|
190 |
-
pn.ggsave(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
191 |
|
192 |
replace_tag(
|
193 |
markdown=markdown_path, package=DATASET_PLOTS_template, tag="DATASET PLOTS"
|
|
|
184 |
+ pn.facet_wrap("Source", scales="free", ncol=3)
|
185 |
)
|
186 |
|
|
|
187 |
img_path = markdown_path.parent / "images"
|
188 |
img_path.mkdir(parents=False, exist_ok=True)
|
189 |
+
pn.ggsave(
|
190 |
+
plot,
|
191 |
+
img_path / "dist_document_length.png",
|
192 |
+
dpi=500,
|
193 |
+
width=10,
|
194 |
+
height=10,
|
195 |
+
units="in",
|
196 |
+
verbose=False,
|
197 |
+
)
|
198 |
|
199 |
replace_tag(
|
200 |
markdown=markdown_path, package=DATASET_PLOTS_template, tag="DATASET PLOTS"
|