stefan-it commited on
Commit
2935d2a
·
verified ·
1 Parent(s): b72967c

docs: add initial version

Browse files
Files changed (1) hide show
  1. README.md +601 -0
README.md ADDED
@@ -0,0 +1,601 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license:
3
+ - other
4
+ license_details: >-
5
+ Mixed. Every document carries its own license in the `license` and
6
+ `license_family` columns (CC BY-SA 4.0/3.0/2.0, CC BY-NC 3.0, CC0 1.0,
7
+ CC BY 4.0/3.0, CC BY-NC-SA 4.0, Project Gutenberg license, and a few
8
+ library-specific rights statements). Filter by `license_family` before
9
+ reuse.
10
+ language:
11
+ - de
12
+ - la
13
+ - gml
14
+ language_details: deu, lat, gml (Middle Low German); Early New High German and New High German texts, tagged as deu
15
+ multilinguality:
16
+ - monolingual
17
+ size_categories:
18
+ - 1K<n<10K
19
+ pretty_name: Deutsches Textarchiv (DTA) Documents
20
+ source_datasets:
21
+ - original
22
+ annotations_creators:
23
+ - expert-generated
24
+ language_creators:
25
+ - found
26
+ tags:
27
+ - historical
28
+ - historical-german
29
+ - early-new-high-german
30
+ - german
31
+ - dta
32
+ - deutsches-textarchiv
33
+ - tei
34
+ - tcf
35
+ - fraktur
36
+ - ocr
37
+ - orthographic-normalization
38
+ - spelling-normalization
39
+ - cab
40
+ - digital-humanities
41
+ - 15th-century
42
+ - 16th-century
43
+ - 17th-century
44
+ - 18th-century
45
+ - 19th-century
46
+ - 20th-century
47
+ configs:
48
+ - config_name: documents
49
+ default: true
50
+ data_files:
51
+ - split: train
52
+ path: documents/train-*.parquet
53
+ dataset_info:
54
+ config_name: documents
55
+ features:
56
+ - name: id
57
+ dtype: string
58
+ - name: dta_id
59
+ dtype: string
60
+ - name: urn
61
+ dtype: string
62
+ - name: url
63
+ dtype: string
64
+ - name: title
65
+ dtype: string
66
+ - name: subtitle
67
+ dtype: string
68
+ - name: volume
69
+ dtype: string
70
+ - name: part
71
+ dtype: string
72
+ - name: authors
73
+ list:
74
+ - name: surname
75
+ dtype: string
76
+ - name: forename
77
+ dtype: string
78
+ - name: gnd
79
+ dtype: string
80
+ - name: date_published
81
+ dtype: string
82
+ - name: year
83
+ dtype: int64
84
+ - name: place_of_publication
85
+ dtype: string
86
+ - name: publisher
87
+ dtype: string
88
+ - name: edition
89
+ dtype: string
90
+ - name: num_pages
91
+ dtype: int64
92
+ - name: repository
93
+ dtype: string
94
+ - name: shelfmark
95
+ dtype: string
96
+ - name: typeface
97
+ dtype: string
98
+ - name: bibl
99
+ dtype: string
100
+ - name: genre_dtamain
101
+ dtype: string
102
+ - name: genre_dtasub
103
+ dtype: string
104
+ - name: genre_dwds1main
105
+ dtype: string
106
+ - name: genre_dwds1sub
107
+ dtype: string
108
+ - name: dta_corpus_labels
109
+ list: string
110
+ - name: language
111
+ dtype: string
112
+ - name: language_note
113
+ dtype: string
114
+ - name: license
115
+ dtype: string
116
+ - name: license_family
117
+ dtype: string
118
+ - name: num_images
119
+ dtype: int64
120
+ - name: num_tokens
121
+ dtype: int64
122
+ - name: num_types
123
+ dtype: int64
124
+ - name: num_characters
125
+ dtype: int64
126
+ - name: num_sentences
127
+ dtype: int64
128
+ - name: text
129
+ dtype: string
130
+ - name: text_source
131
+ dtype: string
132
+ - name: text_normalized
133
+ dtype: string
134
+ splits:
135
+ - name: train
136
+ num_examples: 5480
137
+ ---
138
+
139
+ # Deutsches Textarchiv (DTA) Documents
140
+
141
+ This datasets hosts all documents from the Deutsches Textarchiv (DTA).
142
+
143
+ One row per work of the [Deutsches Textarchiv (DTA)](https://www.deutschestextarchiv.de/), built from the
144
+ official DTA dump `dta_komplett_2026-02-10` (TCF format). The dataset contains **5,480 documents** spanning
145
+ **1472 to 1987** with about **205M tokens** and **1.4B characters** of German text, with two text views per document:
146
+
147
+ * `text`: the historical, layout-faithful transcription (line breaks, long s `ſ`, combining diacritics, original spelling);
148
+ * `text_normalized`: the same text in modern orthography, produced by applying the DTA CAB orthography corrections
149
+ (`operation="replace"`) to the token layer.
150
+
151
+ Rich bibliographic metadata comes directly from the embedded TEI header: authors with GND identifiers, original
152
+ publication date and place, publisher, holding library and shelfmark, typeface, four genre schemes, DTA subcorpus
153
+ labels and the per-work license. Licenses vary across the corpus, so please check the `license_family` column
154
+ before reuse (see [Licensing](#licensing)).
155
+
156
+ ## Dataset structure
157
+
158
+ ### Configs and splits
159
+
160
+ | Config | Split | Rows | Files |
161
+ |---|---|---:|---|
162
+ | `documents` (default) | `train` | 5,480 | `documents/train-0000[0-5].parquet` (6 shards, zstd-compressed Parquet) |
163
+
164
+ There is only one split, because the dataset is a corpus and not a benchmark.
165
+
166
+ ### Loading
167
+
168
+ ```python
169
+ from datasets import load_dataset
170
+
171
+ ds = load_dataset("histde/dta-documents", "documents", split="train")
172
+ print(ds[0]["title"], ds[0]["year"])
173
+
174
+ # Only permissively licensed works, as a streaming iterator
175
+ permissive = load_dataset("histde/dta-documents", "documents", split="train", streaming=True)
176
+ permissive = permissive.filter(lambda d: d["license_family"] in {"cc0-1.0", "cc-by-4.0", "cc-by-3.0"})
177
+ ```
178
+
179
+ With Polars, straight from the Parquet shards:
180
+
181
+ ```python
182
+ import polars as pl
183
+
184
+ df = pl.read_parquet("hf://datasets/histde/dta-documents/documents/train-*.parquet")
185
+ df.filter(pl.col("year") < 1700).select("id", "title", "license_family", "num_tokens")
186
+ ```
187
+
188
+ ### Schema
189
+
190
+ | Column | Type | Description | Example |
191
+ |---|---|---|---|
192
+ | `id` | `string` | DTA directory name, used as the primary document identifier (`DTADirName`). Falls back to the TCF file name | `goethe_faust01_1808` |
193
+ | `dta_id` | `string` | Numeric DTA identifier (`DTAID`) | `200006` |
194
+ | `urn` | `string` | Persistent URN of the work | `urn:nbn:de:kobv:b4-200006-1` |
195
+ | `url` | `string` | Landing page of the work at deutschestextarchiv.de | `https://www.deutschestextarchiv.de/343016` |
196
+ | `title` | `string` | Main title(s) from the TEI title statement. Multiple main titles are joined with `\n` | `Iphigenie auf Tauris` |
197
+ | `subtitle` | `string` | Subtitle(s), joined with `\n`. Null if absent | `Ein Schauspiel` |
198
+ | `volume` | `string` | Volume title (text of `<title type="volume">`). Null if absent | `Dritter Theil` |
199
+ | `part` | `string` | Part title (text of `<title type="part">`). Null if absent | `Die sentimentalischen Dichter` |
200
+ | `authors` | `list<struct>` | Authors as `{surname, forename, gnd}` structs. `gnd` is the GND/PND URI, may be null. Empty list for anonymous works | `[{"surname": "Reideburg", "forename": "Christoph von", "gnd": "http://d-nb.info/gnd/128862580"}]` |
201
+ | `date_published` | `string` | Raw publication date string of the original print, as given in the header | `1642` |
202
+ | `year` | `int64` | First four-digit number parsed from `date_published`. Null if none found | `1642` |
203
+ | `place_of_publication` | `string` | Place of publication of the original print | `Breslau` |
204
+ | `publisher` | `string` | Publisher name(s), joined with `\n` | `Georgius Baumann` |
205
+ | `edition` | `string` | Edition statement (text, or the `n` attribute if the element has no text) | `2. Auflage` |
206
+ | `num_pages` | `int64` | Page count of the original source (`measure type="pages"`) | `72` |
207
+ | `repository` | `string` | Holding library of the digitized copy | `Universitätsbibliothek Breslau` |
208
+ | `shelfmark` | `string` | Shelfmark of the copy at the repository | `Universitätsbibliothek Breslau, 4 A 277/11 / 343016` |
209
+ | `typeface` | `string` | Typeface of the original print | `Fraktur` |
210
+ | `bibl` | `string` | Short bibliographic citation string | `Reideburg, Christoph von: Kurtze Anleitung: Wie die jetzige böse Zeit/ ... Breslau, 1642.` |
211
+ | `genre_dtamain` | `string` | Main genre, DTA scheme | `Gebrauchsliteratur` |
212
+ | `genre_dtasub` | `string` | Sub genre, DTA scheme | `Leichenpredigt` |
213
+ | `genre_dwds1main` | `string` | Main genre, DWDS scheme | `Belletristik` |
214
+ | `genre_dwds1sub` | `string` | Sub genre, DWDS scheme | `Prosa` |
215
+ | `dta_corpus_labels` | `list<string>` | DTA (sub)corpus membership labels (`DTACorpus` class codes) | `["ready", "core"]` |
216
+ | `language` | `string` | ISO 639-3 code of the primary language | `deu` |
217
+ | `language_note` | `string` | Human-readable language label from the header | `(Früh-)Neuhochdeutsch` |
218
+ | `license` | `string` | Per-work license URL exactly as given in the header. Varies across the corpus | `http://creativecommons.org/licenses/by-sa/3.0/de/` |
219
+ | `license_family` | `string` | Normalized license identifier derived from `license` (http/https, `/de/`, `deed` variants collapsed) | `cc-by-sa-3.0` |
220
+ | `num_images` | `int64` | Number of page images (DTA extent measure) | `72` |
221
+ | `num_tokens` | `int64` | Number of tokens (DTA extent measure) | `11515` |
222
+ | `num_types` | `int64` | Number of word types (DTA extent measure) | `3440` |
223
+ | `num_characters` | `int64` | Number of characters (DTA extent measure) | `78795` |
224
+ | `num_sentences` | `int64` | Sentence count from the `full/` sentence layer. Null if the work has no `full/` file | `842` |
225
+ | `text` | `string` | Historical transcription. Layout-faithful `<text>` layer from `simple/` (line breaks, long s `ſ`, combining diacritics), or space-joined tokens if only `full/` exists | `Kurtze Anleitung:\nWie die jetzige boͤſe Zeit/ darinnen zwar fuͤr ſich ſelbſt/ ...` |
226
+ | `text_source` | `string` | Origin of `text`: `layout` (from `simple/`) or `tokens` (reconstructed from the `full/` token layer) | `layout` |
227
+ | `text_normalized` | `string` | Modern orthography: `full/` token layer with CAB `replace` corrections applied, space-joined. Null if the work has no `full/` file | `Kurze Anleitung : Wie die jetzige böse Zeit / darinnen zwar für sich selbst / ...` |
228
+
229
+ ### Example row
230
+
231
+ ```json
232
+ {
233
+ "id": "343016",
234
+ "dta_id": "200006",
235
+ "urn": "urn:nbn:de:kobv:b4-200006-1",
236
+ "url": "https://www.deutschestextarchiv.de/343016",
237
+ "title": "Kurtze Anleitung: Wie die jetzige böse Zeit/ darinnen zwar für sich selbst/ nichts/ alß eytel Klag/ Ach/ vnd Weh regieret",
238
+ "authors": [{"surname": "Reideburg", "forename": "Christoph von", "gnd": "http://d-nb.info/gnd/128862580"}],
239
+ "date_published": "1642",
240
+ "year": 1642,
241
+ "place_of_publication": "Breslau",
242
+ "publisher": "Georgius Baumann",
243
+ "repository": "Universitätsbibliothek Breslau",
244
+ "typeface": "Fraktur",
245
+ "genre_dtamain": "Gebrauchsliteratur",
246
+ "genre_dtasub": "Leichenpredigt",
247
+ "dta_corpus_labels": ["ready", "aedit"],
248
+ "language": "deu",
249
+ "language_note": "(Früh-)Neuhochdeutsch",
250
+ "license": "http://creativecommons.org/licenses/by-sa/3.0/de/",
251
+ "license_family": "cc-by-sa-3.0",
252
+ "num_tokens": 11515,
253
+ "num_sentences": 842,
254
+ "text": "Kurtze Anleitung:\nWie die jetzige boͤſe Zeit/ darinnen zwar fuͤr ſich ſelbſt/\nnichts/ alß eytel Klag/ Ach/ vnd Weh regieret; ...",
255
+ "text_source": "layout",
256
+ "text_normalized": "Kurze Anleitung : Wie die jetzige böse Zeit / darinnen zwar für sich selbst / nichts / als eitel Klage / Ach / und Weh regieret ; ..."
257
+ }
258
+ ```
259
+
260
+ ## Dataset creation
261
+
262
+ ### Source data
263
+
264
+ The DTA is a reference corpus of printed German from the late 15th to the early 20th century, curated by the
265
+ Berlin-Brandenburg Academy of Sciences and Humanities (BBAW). Texts were transcribed by double keying from
266
+ first editions wherever possible, and are published with TEI headers, sentence and token layers and
267
+ orthographic normalization from the CAB tool chain.
268
+
269
+ This dataset was built from the complete TCF dump `dta_komplett_2026-02-10`, which comes in two variants:
270
+
271
+ * `simple/` (5,107 files): CMDI metadata and the layout-faithful historical text (`<text>` layer);
272
+ * `full/` (5,471 files): CMDI metadata and the annotation layers (tokens, sentences, orthography).
273
+
274
+ The union of both variants gives 5,481 works. One work (`ford_pitty_1633`) is excluded because its TCF file is
275
+ not well-formed XML.
276
+
277
+ ### Processing
278
+
279
+ * `text` comes from `simple/` where available (`text_source = "layout"`, 5,105 docs). For the 375 works only
280
+ present in `full/`, it is reconstructed by space-joining the token layer (`text_source = "tokens"`), so
281
+ line breaks and the original whitespace are lost there.
282
+ * `text_normalized` is the `full/` token layer with CAB `replace` corrections applied (multi-token corrections
283
+ replace the whole span), space-joined. It is null for the 10 works only present in `simple/`.
284
+ * Metadata is deliberately kept un-flattened: authors are a list of structs, all four genre schemes are
285
+ separate columns, the raw license URL is kept next to a normalized `license_family`.
286
+ * `num_tokens`, `num_types`, `num_characters`, `num_images` and `num_pages` are the extent measures from the
287
+ DTA header, not recomputed values.
288
+
289
+ The conversion script and the statistics script are available in the
290
+ [dta-experiments](https://github.com/histde/dta-experiments) repository.
291
+
292
+ ## Statistics
293
+
294
+ All tables below were produced with `dta_dataset_stats.py` from the released Parquet shards.
295
+
296
+ ### Overview
297
+
298
+ | statistic | value |
299
+ |---|---|
300
+ | Documents | 5,480 |
301
+ | Documents with normalized text (full/ layer) | 5,470 (99.8%) |
302
+ | Documents with at least one author | 3,104 (56.6%) |
303
+ | Distinct authors (by GND id) | 1,317 |
304
+ | Year range | 1472-1987 (1 unknown) |
305
+ | Median year | 1836 |
306
+ | Tokens (header measure) | 204,582,701 |
307
+ | Types (header measure) | 33,741,287 |
308
+ | Characters (header measure) | 1,423,995,435 |
309
+ | Characters in `text` column | 1,380,752,264 |
310
+ | Characters in `text_normalized` column | 1,370,639,606 |
311
+ | Sentences (full/ layer) | 10,376,423 |
312
+ | Page images | 761,995 |
313
+ | Median tokens per document | 10,394 |
314
+ | Median pages (images) per document | 16 |
315
+
316
+ ### Temporal distribution (50-year bins)
317
+
318
+ | period | docs | sentences | tokens | characters | token share |
319
+ |---|---:|---:|---:|---:|---:|
320
+ | 1450–1499 | 15 | 1,899 | 177,258 | 997,389 | 0.1% |
321
+ | 1500–1549 | 17 | 10,469 | 308,471 | 1,915,965 | 0.2% |
322
+ | 1550–1599 | 98 | 139,035 | 3,572,336 | 23,618,803 | 1.7% |
323
+ | 1600–1649 | 422 | 433,762 | 9,757,100 | 66,033,889 | 4.8% |
324
+ | 1650–1699 | 691 | 1,118,361 | 23,338,594 | 159,938,400 | 11.4% |
325
+ | 1700–1749 | 435 | 1,143,293 | 24,779,141 | 171,116,209 | 12.1% |
326
+ | 1750–1799 | 583 | 1,566,582 | 30,933,941 | 214,031,382 | 15.1% |
327
+ | 1800–1849 | 1,618 | 2,000,919 | 40,798,688 | 284,536,219 | 19.9% |
328
+ | 1850–1899 | 1,143 | 3,086,868 | 55,792,116 | 393,248,560 | 27.3% |
329
+ | 1900–1949 | 444 | 737,908 | 13,114,628 | 95,203,044 | 6.4% |
330
+ | 1950–1999 | 13 | 137,150 | 2,005,488 | 13,321,270 | 1.0% |
331
+ | unknown | 1 | 177 | 4,940 | 34,305 | 0.0% |
332
+ | **total** | **5,480** | **10,376,423** | **204,582,701** | **1,423,995,435** | **100%** |
333
+
334
+ ### Text source
335
+
336
+ | text_source | docs | docs % | tokens | tokens % |
337
+ |---|---:|---:|---:|---:|
338
+ | `layout` | 5,105 | 93.2% | 185,164,389 | 90.5% |
339
+ | `tokens` | 375 | 6.8% | 19,418,312 | 9.5% |
340
+
341
+ ### Language
342
+
343
+ | language | docs | docs % | tokens | tokens % |
344
+ |---|---:|---:|---:|---:|
345
+ | `deu` | 5,477 | 99.9% | 204,523,746 | 100.0% |
346
+ | `lat` | 2 | 0.0% | 56,714 | 0.0% |
347
+ | `gml` | 1 | 0.0% | 2,241 | 0.0% |
348
+
349
+ ### Genre (DWDS main)
350
+
351
+ | genre_dwds1main | docs | docs % | tokens | tokens % |
352
+ |---|---:|---:|---:|---:|
353
+ | Zeitung | 2,036 | 37.2% | 17,152,284 | 8.4% |
354
+ | Gebrauchsliteratur | 1,718 | 31.4% | 58,283,320 | 28.5% |
355
+ | Wissenschaft | 953 | 17.4% | 87,148,247 | 42.6% |
356
+ | Belletristik | 773 | 14.1% | 41,998,850 | 20.5% |
357
+
358
+ <details>
359
+ <summary>Genre (DWDS sub, top 10)</summary>
360
+
361
+ | genre_dwds1sub | docs | docs % | tokens | tokens % |
362
+ |---|---:|---:|---:|---:|
363
+ | unknown | 2,036 | 37.2% | 17,152,284 | 8.4% |
364
+ | Leichenpredigt | 336 | 6.1% | 3,517,225 | 1.7% |
365
+ | Zeitschrift | 217 | 4.0% | 1,697,733 | 0.8% |
366
+ | Theologie | 214 | 3.9% | 10,486,746 | 5.1% |
367
+ | Brief | 204 | 3.7% | 84,325 | 0.0% |
368
+ | Roman | 198 | 3.6% | 13,211,036 | 6.5% |
369
+ | Gesellschaft | 165 | 3.0% | 3,852,413 | 1.9% |
370
+ | Novelle | 126 | 2.3% | 3,031,211 | 1.5% |
371
+ | Lyrik | 125 | 2.3% | 5,090,960 | 2.5% |
372
+ | Gelegenheitsschrift:Tod | 116 | 2.1% | 103,280 | 0.1% |
373
+ | *other (123 values)* | 1,743 | 31.8% | 146,355,488 | 71.5% |
374
+
375
+ </details>
376
+
377
+ <details>
378
+ <summary>Genre (DTA main)</summary>
379
+
380
+ | genre_dtamain | docs | docs % | tokens | tokens % |
381
+ |---|---:|---:|---:|---:|
382
+ | unknown | 3,468 | 63.3% | 69,372,311 | 33.9% |
383
+ | Fachtext | 743 | 13.6% | 78,106,238 | 38.2% |
384
+ | Belletristik | 561 | 10.2% | 33,626,235 | 16.4% |
385
+ | Gebrauchsliteratur | 536 | 9.8% | 22,981,508 | 11.2% |
386
+ | Wissenschaftliche Abhandlungen in Form gedruckter Briefe | 50 | 0.9% | 89,564 | 0.0% |
387
+ | Abhandlungen in Zeitschriften, Sammelbänden etc. | 36 | 0.7% | 145,342 | 0.1% |
388
+ | Ankündigungen, Berichtigungen und kurze Nachrichten | 29 | 0.5% | 25,687 | 0.0% |
389
+ | Berliner Akademiereden/-schriften und andere Reden | 17 | 0.3% | 71,027 | 0.0% |
390
+ | Rezensionen | 7 | 0.1% | 8,514 | 0.0% |
391
+ | Pariser Akademiereden/-schriften | 6 | 0.1% | 16,728 | 0.0% |
392
+ | Vorworte und andere Beiträge Humboldts in Schriften anderer Autoren, Lexikonartikel | 6 | 0.1% | 20,581 | 0.0% |
393
+ | Gelegenheitsschrift | 5 | 0.1% | 49,906 | 0.0% |
394
+ | Journalismus | 5 | 0.1% | 54,829 | 0.0% |
395
+ | Albumblätter | 3 | 0.1% | 812 | 0.0% |
396
+ | Gutachten | 3 | 0.1% | 6,339 | 0.0% |
397
+ | Sonderdrucke und andere Grenzfälle zu selbständig erschienenen Schriften | 2 | 0.0% | 3,358 | 0.0% |
398
+ | Wissenschaft | 2 | 0.0% | 3,124 | 0.0% |
399
+ | Sachliteratur | 1 | 0.0% | 598 | 0.0% |
400
+
401
+ </details>
402
+
403
+ <details>
404
+ <summary>Genre (DTA sub, top 10)</summary>
405
+
406
+ | genre_dtasub | docs | docs % | tokens | tokens % |
407
+ |---|---:|---:|---:|---:|
408
+ | unknown | 3,628 | 66.2% | 69,896,619 | 34.2% |
409
+ | Leichenpredigt | 334 | 6.1% | 3,495,630 | 1.7% |
410
+ | Roman | 163 | 3.0% | 11,534,905 | 5.6% |
411
+ | Prosa | 128 | 2.3% | 10,291,868 | 5.0% |
412
+ | Lyrik | 114 | 2.1% | 4,731,157 | 2.3% |
413
+ | Drama | 82 | 1.5% | 2,330,599 | 1.1% |
414
+ | Recht | 79 | 1.4% | 9,743,726 | 4.8% |
415
+ | Philosophie | 76 | 1.4% | 5,426,303 | 2.7% |
416
+ | Historiographie | 46 | 0.8% | 7,221,703 | 3.5% |
417
+ | Medizin | 46 | 0.8% | 6,013,804 | 2.9% |
418
+ | *other (86 values)* | 784 | 14.3% | 73,896,387 | 36.1% |
419
+
420
+ </details>
421
+
422
+ ### Typeface
423
+
424
+ | typeface | docs | docs % | tokens | tokens % |
425
+ |---|---:|---:|---:|---:|
426
+ | Fraktur | 4,478 | 81.7% | 164,623,059 | 80.5% |
427
+ | Antiqua | 427 | 7.8% | 35,856,371 | 17.5% |
428
+ | Schwabacher | 338 | 6.2% | 724,934 | 0.4% |
429
+ | Handschrift | 218 | 4.0% | 1,315,690 | 0.6% |
430
+ | Jean-Paul-Fraktur | 9 | 0.2% | 1,409,611 | 0.7% |
431
+ | Current | 2 | 0.0% | 1,963 | 0.0% |
432
+ | Rotunda | 2 | 0.0% | 313,225 | 0.2% |
433
+ | Antiqua (Schreibmaschine) | 1 | 0.0% | 34,176 | 0.0% |
434
+ | Antiqua, Kursive | 1 | 0.0% | 18,883 | 0.0% |
435
+ | Antqiua | 1 | 0.0% | 3,527 | 0.0% |
436
+ | Frakur | 1 | 0.0% | 10,103 | 0.0% |
437
+ | Textur | 1 | 0.0% | 270,599 | 0.1% |
438
+ | unknown | 1 | 0.0% | 560 | 0.0% |
439
+
440
+ Values are taken verbatim from the headers, including the two typos (`Antqiua`, `Frakur`).
441
+
442
+ <details>
443
+ <summary>DTA corpus labels (a document can carry several)</summary>
444
+
445
+ | label | docs | docs % | tokens | tokens % |
446
+ |---|---:|---:|---:|---:|
447
+ | `ready` | 5,480 | 100.0% | 204,582,701 | 100.0% |
448
+ | `core` | 1,478 | 27.0% | 130,114,948 | 63.6% |
449
+ | `china` | 1,149 | 21.0% | 111,416,242 | 54.5% |
450
+ | `mkhz1` | 625 | 11.4% | 3,996,672 | 2.0% |
451
+ | `nrhz` | 530 | 9.7% | 4,290,483 | 2.1% |
452
+ | `aedit` | 335 | 6.1% | 3,508,098 | 1.7% |
453
+ | `mts` | 320 | 5.8% | 18,006,989 | 8.8% |
454
+ | `lefevre` | 319 | 5.8% | 476,390 | 0.2% |
455
+ | `dtae` | 244 | 4.5% | 21,475,420 | 10.5% |
456
+ | `mkhz2` | 222 | 4.1% | 2,169,371 | 1.1% |
457
+ | `correspondent` | 204 | 3.7% | 925,755 | 0.5% |
458
+ | `tevo` | 202 | 3.7% | 5,682,395 | 2.8% |
459
+ | `sanders-briefe` | 190 | 3.5% | 61,890 | 0.0% |
460
+ | `hab` | 184 | 3.4% | 10,256,959 | 5.0% |
461
+ | `augsburgerallgemeine` | 181 | 3.3% | 2,761,778 | 1.3% |
462
+ | `avh` | 172 | 3.1% | 443,668 | 0.2% |
463
+ | `wikisource` | 169 | 3.1% | 5,787,543 | 2.8% |
464
+ | `sbb_funeralschriften` | 112 | 2.0% | 77,981 | 0.0% |
465
+ | `tdef` | 109 | 2.0% | 940,772 | 0.5% |
466
+ | `novellenschatz` | 87 | 1.6% | 1,643,336 | 0.8% |
467
+ | `blumenbach` | 33 | 0.6% | 2,688,412 | 1.3% |
468
+ | `epoetics` | 23 | 0.4% | 3,074,730 | 1.5% |
469
+ | `frauenstudium` | 22 | 0.4% | 134,198 | 0.1% |
470
+ | `psyleko` | 19 | 0.3% | 2,075,500 | 1.0% |
471
+ | `ntsm` | 11 | 0.2% | 32,139 | 0.0% |
472
+ | `avhkv` | 9 | 0.2% | 636,539 | 0.3% |
473
+ | `briefjeanpaul` | 9 | 0.2% | 1,409,611 | 0.7% |
474
+ | `gutenberg_org` | 8 | 0.1% | 325,940 | 0.2% |
475
+ | `gutzkow` | 7 | 0.1% | 478,246 | 0.2% |
476
+ | `dwds1` | 5 | 0.1% | 465,688 | 0.2% |
477
+ | `gei` | 2 | 0.0% | 57,474 | 0.0% |
478
+ | `gutenberg_de` | 2 | 0.0% | 116,184 | 0.1% |
479
+ | `gwb` | 2 | 0.0% | 80,666 | 0.0% |
480
+ | `urmel` | 2 | 0.0% | 1,068 | 0.0% |
481
+ | `zbk` | 2 | 0.0% | 48,127 | 0.0% |
482
+ | `greflinger` | 1 | 0.0% | 9,079 | 0.0% |
483
+ | `grenzboten` | 1 | 0.0% | 116,208 | 0.1% |
484
+
485
+ The `core` label marks the curated DTA core corpus (1,478 works, 63.6% of all tokens), which is the
486
+ balanced selection by genre and period. The other labels denote extension corpora (DTAE) contributed by
487
+ partner projects.
488
+
489
+ </details>
490
+
491
+ <details>
492
+ <summary>Place of publication (top 10)</summary>
493
+
494
+ | place | docs | docs % | tokens | tokens % |
495
+ |---|---:|---:|---:|---:|
496
+ | Berlin | 604 | 11.0% | 30,616,946 | 15.0% |
497
+ | Köln | 532 | 9.7% | 4,682,997 | 2.3% |
498
+ | Leipzig | 425 | 7.8% | 41,950,384 | 20.5% |
499
+ | Hamburg | 330 | 6.0% | 5,514,413 | 2.7% |
500
+ | Augsburg | 256 | 4.7% | 4,581,351 | 2.2% |
501
+ | Altstrelitz | 172 | 3.1% | 57,702 | 0.0% |
502
+ | unknown | 160 | 2.9% | 980,933 | 0.5% |
503
+ | München | 153 | 2.8% | 3,434,662 | 1.7% |
504
+ | Frankfurt (Main) | 141 | 2.6% | 11,430,873 | 5.6% |
505
+ | Königsberg | 133 | 2.4% | 926,843 | 0.5% |
506
+ | *other (246 values)* | 2,574 | 47.0% | 100,405,597 | 49.1% |
507
+
508
+ </details>
509
+
510
+ ### Most frequent authors (top 10)
511
+
512
+ | author | GND | docs | tokens |
513
+ |---|---|---:|---:|
514
+ | Humboldt, Alexander von | http://d-nb.info/gnd/118554700 | 183 | 1,504,828 |
515
+ | Sanders, Daniel | http://d-nb.info/gnd/119242044 | 173 | 69,412 |
516
+ | Dach, Simon | http://d-nb.info/gnd/11852321X | 112 | 77,981 |
517
+ | N. N. | | 51 | 1,882,041 |
518
+ | Blumenbach, Johann Friedrich | http://d-nb.info/gnd/116208503 | 35 | 2,814,553 |
519
+ | Sattler, Basilius | http://d-nb.info/gnd/116974788 | 26 | 352,365 |
520
+ | Goethe, Johann Wolfgang von | http://d-nb.info/gnd/118540238 | 24 | 1,064,748 |
521
+ | Herder, Johann Gottfried von | http://d-nb.info/gnd/118549553 | 23 | 690,276 |
522
+ | Grimm, Jacob | http://d-nb.info/gnd/118542257 | 17 | 2,441,309 |
523
+ | Fontane, Theodor | http://d-nb.info/gnd/118534262 | 16 | 1,262,140 |
524
+
525
+ ## Licensing
526
+
527
+ The DTA publishes every work under its own license, and this dataset keeps that information per row in the
528
+ `license` (raw URL from the header) and `license_family` (normalized) columns. There is **no single license**
529
+ for the whole dataset. Note that only `cc0-1.0` is a public domain dedication; all `cc-by-*` licenses carry
530
+ binding conditions (attribution, share-alike, or non-commercial use), and about 28% of the documents are
531
+ restricted to non-commercial use (`cc-by-nc-3.0`, `cc-by-nc-sa-4.0`, `noc-nc-1.0`, `out-of-copyright-nc`).
532
+
533
+ | license family | docs | docs % | tokens | tokens % | license URLs |
534
+ |---|---:|---:|---:|---:|---|
535
+ | `cc-by-sa-4.0` | 2,644 | 48.2% | 139,433,878 | 68.2% | http://creativecommons.org/licenses/by-sa/4.0/<br>http://creativecommons.org/licenses/by-sa/4.0/deed.de/<br>https://creativecommons.org/licenses/by-sa/4.0/<br>https://creativecommons.org/licenses/by-sa/4.0/deed.de |
536
+ | `cc-by-nc-3.0` | 1,559 | 28.4% | 20,418,259 | 10.0% | http://creativecommons.org/licenses/by-nc/3.0/<br>http://creativecommons.org/licenses/by-nc/3.0/de<br>http://creativecommons.org/licenses/by-nc/3.0/de/ |
537
+ | `cc-by-sa-3.0` | 623 | 11.4% | 15,287,129 | 7.5% | http://creativecommons.org/licenses/by-sa/3.0/<br>http://creativecommons.org/licenses/by-sa/3.0/de<br>http://creativecommons.org/licenses/by-sa/3.0/de/<br>https://creativecommons.org/licenses/by-sa/3.0/<br>https://creativecommons.org/licenses/by-sa/3.0/de/ |
538
+ | `cc0-1.0` | 370 | 6.8% | 16,938,595 | 8.3% | http://creativecommons.org/publicdomain/zero/1.0/ |
539
+ | `cc-by-4.0` | 215 | 3.9% | 8,189,539 | 4.0% | http://creativecommons.org/licenses/by/4.0/<br>http://creativecommons.org/licenses/by/4.0/deed.de<br>https://creativecommons.org/licenses/by/4.0/<br>https://creativecommons.org/licenses/by/4.0/deed.de |
540
+ | `cc-by-sa-2.0` | 51 | 0.9% | 3,058,054 | 1.5% | http://creativecommons.org/licenses/by-sa/2.0/de<br>http://creativecommons.org/licenses/by-sa/2.0/de/ |
541
+ | `gutenberg` | 9 | 0.2% | 344,316 | 0.2% | https://web.archive.org/web/20180927123034/http://www.gutenberg.org/wiki/Gutenberg:The_Project_Gutenberg_License |
542
+ | `cc-by-3.0` | 3 | 0.1% | 571,346 | 0.3% | http://creativecommons.org/licenses/by/3.0/de/ |
543
+ | `cc-by-nc-sa-4.0` | 2 | 0.0% | 19,672 | 0.0% | https://creativecommons.org/licenses/by-nc-sa/4.0/<br>https://creativecommons.org/licenses/by-nc-sa/4.0/deed.de |
544
+ | `mdz-copyright` | 1 | 0.0% | 24,964 | 0.0% | http://mdz.bib-bvb.de/copyright.htm |
545
+ | `noc-nc-1.0` | 1 | 0.0% | 125,859 | 0.1% | http://rightsstatements.org/vocab/NoC-NC/1.0/ |
546
+ | `nug-kkn` | 1 | 0.0% | 55,702 | 0.0% | http://www.deutsche-digitale-bibliothek.de/lizenzen/nug-kkn/ |
547
+ | `out-of-copyright-nc` | 1 | 0.0% | 115,388 | 0.1% | https://www.europeana.eu/portal/de/rights/out-of-copyright-non-commercial.html |
548
+ | **total** | **5,480** | **100%** | **204,582,701** | **100%** | |
549
+
550
+ To select a subset that fits your use case:
551
+
552
+ ```python
553
+ ds_sa = ds.filter(lambda d: d["license_family"] in {"cc0-1.0", "cc-by-4.0", "cc-by-3.0", "cc-by-sa-4.0", "cc-by-sa-3.0", "cc-by-sa-2.0"})
554
+ ```
555
+
556
+ ## Considerations for using the data
557
+
558
+ * **Coverage is uneven.** Roughly 60% of the tokens date from 1750 to 1899; the 15th and 16th centuries are
559
+ thinly covered. Newspapers (`Zeitung`) dominate the document count but make up only 8% of the tokens, and
560
+ a single project (Alexander von Humboldt's writings) contributes 183 short documents.
561
+ * **Historical content.** The texts reflect the views, language and stereotypes of their time, including
562
+ religious, political and colonial-era writing. They are provided for research on historical German and
563
+ should not be taken as statements of fact or acceptable opinion.
564
+ * **Normalization is automatic.** `text_normalized` comes from the CAB tool chain and is not manually
565
+ corrected. Expect residual errors, especially for very early texts, Latin passages, and proper names. The
566
+ normalized text is also whitespace-tokenized (punctuation is separated by spaces), whereas `text` keeps the
567
+ original layout.
568
+ * **`text` is not uniform.** 375 documents have their historical text reconstructed from the token layer and
569
+ lack line breaks; check `text_source` if layout matters to you.
570
+ * **Metadata quirks.** Genre fields are null for a large share of the works in the DTA scheme (use the DWDS
571
+ scheme for complete main-genre coverage), typeface strings contain a few typos, and `year` is parsed
572
+ heuristically from the free-text `date_published`.
573
+
574
+ ## Citation
575
+
576
+ Please cite the DTA when using this dataset:
577
+
578
+ ```bibtex
579
+ @misc{dta2026,
580
+ author = {{Berlin-Brandenburgische Akademie der Wissenschaften}},
581
+ title = {Deutsches Textarchiv. Grundlage für ein Referenzkorpus der neuhochdeutschen Sprache},
582
+ year = {2026},
583
+ address = {Berlin},
584
+ howpublished = {Herausgegeben von der Berlin-Brandenburgischen Akademie der Wissenschaften},
585
+ url = {https://www.deutschestextarchiv.de/}
586
+ }
587
+ ```
588
+
589
+ ## Acknowledgements
590
+
591
+ A big thank you to the whole team of the Deutsches Textarchiv at the Berlin-Brandenburg Academy of Sciences
592
+ and Humanities! Also many thanks to all the partner projects, libraries and archives that contributed texts to the DTA
593
+ extension corpora.
594
+
595
+ This dataset only converts an official dump into Parquet for convenient use with the Hugging Face ecosystem.
596
+
597
+ ## AI disclosure
598
+
599
+ This dataset card was drafted with Claude Fable 5 (claude-fable-5) based on the statistics produced by
600
+ `dta_dataset_stats.py`, and reviewed by the dataset author. The conversion and statistics scripts carry their
601
+ own AI disclosure blocks, following the rules in the [ai-disclosure](https://github.com/stefan-it/ai-disclosure) repository.