Datasets:

Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 2 new columns ({'tokens', 'text'}) and 6 missing columns ({'__index_level_0__', 'Unnamed: 2', 'Unnamed: 1', 'Unnamed: 3', 'Unnamed: 4', '#Text=Ou nom de Dieu misericord.'}).

This happened while the csv dataset builder was generating data using

hf://datasets/HaDW-ALMA/ALMeD/GuiChaulm_1-2_hf.tsv (at revision b9812346916680cd6db36ece675d2bf9917a0704), ['hf://datasets/HaDW-ALMA/ALMeD@b9812346916680cd6db36ece675d2bf9917a0704/GuiChaulm_1-1_gold.tsv', 'hf://datasets/HaDW-ALMA/ALMeD@b9812346916680cd6db36ece675d2bf9917a0704/GuiChaulm_1-2_hf.tsv', 'hf://datasets/HaDW-ALMA/ALMeD@b9812346916680cd6db36ece675d2bf9917a0704/Guichaulm_1-1_hf.tsv', 'hf://datasets/HaDW-ALMA/ALMeD@b9812346916680cd6db36ece675d2bf9917a0704/Guichaulm_1-3_hf.tsv', 'hf://datasets/HaDW-ALMA/ALMeD@b9812346916680cd6db36ece675d2bf9917a0704/LettrHippocH_gold_hf.tsv']

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1837, in _prepare_split_single
                  writer.write_table(table)
                  ~~~~~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 765, in write_table
                  self._write_table(pa_table, writer_batch_size=writer_batch_size)
                  ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 773, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2369, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              text: string
              tokens: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 498
              to
              {'#Text=Ou nom de Dieu misericord.': Value('string'), 'Unnamed: 1': Value('string'), 'Unnamed: 2': Value('string'), 'Unnamed: 3': Value('string'), 'Unnamed: 4': Value('string'), '__index_level_0__': Value('string')}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1683, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1839, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
                  ...<4 lines>...
                  )
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 2 new columns ({'tokens', 'text'}) and 6 missing columns ({'__index_level_0__', 'Unnamed: 2', 'Unnamed: 1', 'Unnamed: 3', 'Unnamed: 4', '#Text=Ou nom de Dieu misericord.'}).
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/HaDW-ALMA/ALMeD/GuiChaulm_1-2_hf.tsv (at revision b9812346916680cd6db36ece675d2bf9917a0704), ['hf://datasets/HaDW-ALMA/ALMeD@b9812346916680cd6db36ece675d2bf9917a0704/GuiChaulm_1-1_gold.tsv', 'hf://datasets/HaDW-ALMA/ALMeD@b9812346916680cd6db36ece675d2bf9917a0704/GuiChaulm_1-2_hf.tsv', 'hf://datasets/HaDW-ALMA/ALMeD@b9812346916680cd6db36ece675d2bf9917a0704/Guichaulm_1-1_hf.tsv', 'hf://datasets/HaDW-ALMA/ALMeD@b9812346916680cd6db36ece675d2bf9917a0704/Guichaulm_1-3_hf.tsv', 'hf://datasets/HaDW-ALMA/ALMeD@b9812346916680cd6db36ece675d2bf9917a0704/LettrHippocH_gold_hf.tsv']
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

#Text=Ou nom de Dieu misericord.
string
Unnamed: 1
string
Unnamed: 2
string
Unnamed: 3
string
Unnamed: 4
string
__index_level_0__
string
0-2
Ou
PRE.DETdef
ADP
a3 + le
1-1
3-6
nom
NOMcom
NOUN
nom
1-2
7-9
de
PRE
ADP
de
1-3
10-14
Dieu
NOMpro
NOUN
dieu
1-4
15-25
misericord
ADJqua
ADJ
misericort
1-5
25-26
.
PONfrt
PUNCT
null
1-6
null
null
null
null
null
null
null
null
null
null
null
#Text=Cy commence le premier traictier de ceste oevre qui parle de l’anathomie et contient deux doctrines: la premiere doctrine parle de l’anathomie des membres communs, universelz et simples.
27-29
Cy
ADVgen
ADV
ci
2-1
30-38
commence
VERcjg
VERB
comencier
2-2
39-41
le
DETdef
DET
le
2-3
42-49
premier
ADJord
ADJ
premier
2-4
50-59
traictier
NOMcom
NOUN
traitier2
2-5
60-62
de
PRE
ADP
de
2-6
63-68
ceste
DETdem
DET
cest
2-7
69-74
oevre
NOMcom
NOUN
uevre
2-8
75-78
qui
PROrel
PRON
qui
2-9
79-84
parle
VERcjg
VERB
parler
2-10
85-87
de
PRE
ADP
de
2-11
88-89
l
DETdef
DET
le
2-12
89-90
PONpxx
PUNCT
null
2-13
90-99
anathomie
NOMcom
NOUN
anatomie
2-14
100-102
et
CONcoo
CCONJ
et
2-15
103-111
contient
VERcjg
VERB
contenir
2-16
112-116
deux
ADJcar
ADJ
deus
2-17
117-126
doctrines
NOMcom
NOUN
doctrine
2-18
126-127
:
PONfbl
PUNCT
null
2-19
128-130
la
DETdef
DET
le
2-20
131-139
premiere
ADJord
ADJ
premier
2-21
140-148
doctrine
NOMcom
NOUN
doctrine
2-22
149-154
parle
VERcjg
VERB
parler
2-23
155-157
de
PRE
ADP
de
2-24
158-159
l
DETdef
DET
le
2-25
159-160
PONpxx
PUNCT
null
2-26
160-169
anathomie
NOMcom
NOUN
anatomie
2-27
170-173
des
PRE.DETdef
ADP
de + les
2-28
174-181
membres
NOMcom
NOUN
membre
2-29
182-189
communs
ADJqua
ADJ
comun
2-30
189-190
,
PONfbl
PUNCT
null
2-31
191-201
universelz
ADJqua
ADJ
universel
2-32
202-204
et
CONcoo
CCONJ
et
2-33
205-212
simples
ADJqua
ADJ
simple
2-34
212-213
.
PONfrt
PUNCT
null
2-35
null
null
null
null
null
null
null
null
null
null
null
#Text=La seconde sera des membres propres, particuliers et compost.
214-216
La
DETdef
DET
le
3-1
217-224
seconde
PROord
PRON
second
3-2
225-229
sera
VERcjg
VERB
estre1
3-3
230-233
des
PRE.DETdef
ADP
de + les
3-4
234-241
membres
NOMcom
NOUN
membre
3-5
242-249
propres
ADJqua
ADJ
propre
3-6
249-250
,
PONfbl
PUNCT
null
3-7
251-263
particuliers
ADJqua
ADJ
particulier
3-8
264-266
et
CONcoo
CCONJ
et
3-9
267-274
compost
VERppe
VERB
compondre
3-10
274-275
.
PONfrt
PUNCT
null
3-11
null
null
null
null
null
null
null
null
null
null
null
#Text=La premiere doctrine contient .v. chappitres: le premier, c’est ung chappitre universel qui parle de l’anathomie et de la nature des membres du corps.
276-278
La
DETdef
DET
le
4-1
279-287
premiere
ADJord
ADJ
premier
4-2
288-296
doctrine
NOMcom
NOUN
doctrine
4-3
297-305
contient
VERcjg
VERB
contenir
4-4
306-307
.
PONfrt
PUNCT
null
4-5
307-308
v
ADJord
NUM
cinc
4-6
308-309
.
PONfrt
PUNCT
null
4-7
310-320
chappitres
NOMcom
NOUN
chapitre
4-8
320-321
:
PONfbl
PUNCT
null
4-9
322-324
le
DETdef
DET
le
4-10
325-332
premier
ADJord
ADJ
premier
4-11
332-333
,
PONfbl
PUNCT
null
4-12
334-335
c
PROdem
PRON
ce
4-13
335-336
PONpxx
PUNCT
null
4-14
336-339
est
VERcjg
VERB
estre1
4-15
340-343
ung
DETind
DET
un
4-16
344-353
chappitre
NOMcom
NOUN
chapitre
4-17
354-363
universel
ADJqua
ADJ
universel
4-18
364-367
qui
PROrel
PRON
qui
4-19
368-373
parle
VERcjg
VERB
parler
4-20
374-376
de
PRE
ADP
de
4-21
377-378
l
DETdef
DET
le
4-22
378-379
PONpxx
PUNCT
null
4-23
379-388
anathomie
NOMcom
NOUN
anatomie
4-24
389-391
et
CONcoo
CCONJ
et
4-25
392-394
de
PRE
ADP
de
4-26
395-397
la
DETdef
DET
le
4-27
398-404
nature
NOMcom
NOUN
nature
4-28
405-408
des
PRE.DETdef
ADJ
de + les
4-29
409-416
membres
NOMcom
NOUN
membre
4-30
417-419
du
PRE
ADP
de + le
4-31
420-425
corps
NOMcom
NOUN
cors1
4-32
425-426
.
PONfrt
PUNCT
null
4-33
null
null
null
null
null
null
null
null
null
null
null
#Text=POUR CE QUE, selon Galien, lumiere des medicins, ou .xvij.ᵉ livre qui se intitule ‘De utilité des parties’, ou penultime chappitre, y sont quatre utilités de la science de anathomie: l’une, qui est la tres grande, pour amiracion de la puissance de Dieu; la seconde, pour cognoistre les parties des paciens; la tier...
428-432
POUR
PRE
ADJ
por2
5-1
433-435
CE
PROrel
PRON
ce
5-2
436-439
QUE
PROrel
PRON
que4
5-3
439-440
,
PONfbl
PUNCT
null
5-4
441-446
selon
PRE
ADJ
selonc
5-5
447-453
Galien
NOMpro
NOUN
null
5-6
453-454
,
PONfbl
PUNCT
null
5-7
End of preview.

ALMeD: A domAin-specific goLd-standard for MeDieval French

almedlogo

ALMeD is a gold-standard corpus of medieval medical and surgical texts produced in Medieval French, designed for linguistic analysis and NLP applications. The dataset was developed within the framework of the Knowledge Networks in Medieval Romance-Speaking Europe (ALMA) project at the Heidelberg Academy of Sciences, which researches the development of knowledge networks and concepts in Medieval Romance languages (French, Occitan, Gascon and Italian). You can read more at https://alma.hadw-bw.de/tools/almed.

ALMeD has been annotated for:

  1. UPOS and XPOS (CATTEX)
  2. Lemma (including main lemma) from the Dictionnaire de l'ancien Français (DEAF) and where necessary, from the Tobler-Lommatzsch: Altfranzösisches Wörterbuch and the Französisches Etymologisches Wörterbuch (FEW).

Dictionary definitions in modern French and modern English will be added at a later point.

almed_pipeline

ALMeD is a work-in-progress!

Texts available (so far):

  1. The first treatise (on anatomy) of the Grande Chirurgie by Gui de Chauliac (in Middle French, edition by Sabine Tittel) - in progress
  2. Lettre d’Hippocrate à César, (Anglo-Norman scripta, edition by Tony Hunt) - completed

Scripts related to the ALMeD pipeline can be found on our GitLab at: https://gitlab.hadw-bw.de/alma/alma/-/tree/develop/text_factory/python

Questions? Please contact Ragini Menon at ragini.menon@hadw-bw.de

Contributors

ALMA:

Ragini Menon, Sabine Tittel, Gloria de Meleghy, Valentin Jablonowski, Leo Reitmaier, Sara Aakrout, Gustavo Campedelli (Heidelberg)

Matthias Schöffel (Munich)

Much-Needed Supporters:

ALMA: Maria Selig (Regensburg), Gergely Pethő (Debrecen/Regensburg), Yasmine Posillipo (Saarbrücken)

HCDH: Jonathan Gaede (Heidelberg)

Our Happy Helpers:

Hao Nguyen Ngoc Nhu, Andrea Hönig, Mohammed Çopuroglu, Fatih Sevinç, Hoda Rai, Fatine Bouchbouch, Rija Aziz, Agnese Ughetti, Reshma Verghese, Alfred Bentum, Amine Boudchich, Büsra Koç, Umid Maharramli, Mohammed Frikel (TU Darmstadt)

Downloads last month
101