words
stringlengths
3
27
annotated_splits
stringlengths
4
30
splits
sequencelengths
1
7
source
stringclasses
2 values
A-aktie
A|-|aktie
[ [ "A" ], [ "-" ], [ "aktie" ] ]
wiktionary
A3-format
A3|-|format
[ [ "A3" ], [ "-" ], [ "format" ] ]
wiktionary
A4-format
A4|-|format
[ [ "A4" ], [ "-" ], [ "format" ] ]
wiktionary
A5-format
A5|-|format
[ [ "A5" ], [ "-" ], [ "format" ] ]
wiktionary
abebur
abe|bur
[ [ "abe" ], [ "bur" ] ]
wiktionary
abefest
abe|fest
[ [ "abe" ], [ "fest" ] ]
wiktionary
abekat
abe|kat
[ [ "abe" ], [ "kat" ] ]
wiktionary
abekattestreg
abe|katte&streg
[ [ "abe" ], [ "katte", "streg" ] ]
wiktionary
abemenneske
abe|menneske
[ [ "abe" ], [ "menneske" ] ]
wiktionary
abetræ
abe|træ
[ [ "abe" ], [ "træ" ] ]
wiktionary
abortklinik
abort|klinik
[ [ "abort" ], [ "klinik" ] ]
wiktionary
abortlovgivning
abort|lovgivning
[ [ "abort" ], [ "lovgivning" ] ]
wiktionary
abortmodstander
abort|modstander
[ [ "abort" ], [ "modstander" ] ]
wiktionary
aborttilhænger
abort|tilhænger
[ [ "abort" ], [ "tilhænger" ] ]
wiktionary
absorptionslyddæmper
absorptions|lyd&dæmper
[ [ "absorptions" ], [ "lyd", "dæmper" ] ]
wiktionary
absorptionsvarmepumpe
absorptions|varme&pumpe
[ [ "absorptions" ], [ "varme", "pumpe" ] ]
wiktionary
acontobetaling
aconto|betaling
[ [ "aconto" ], [ "betaling" ] ]
wiktionary
adresseændring
adresse|ændring
[ [ "adresse" ], [ "ændring" ] ]
wiktionary
adventskrans
advent|s|krans
[ [ "advent" ], [ "s" ], [ "krans" ] ]
wiktionary
affaldssæk
affald|s|sæk
[ [ "affald" ], [ "s" ], [ "sæk" ] ]
wiktionary
afløvningsmiddel
afløvning|s|middel
[ [ "afløvning" ], [ "s" ], [ "middel" ] ]
wiktionary
afskedsbrev
afsked|s|brev
[ [ "afsked" ], [ "s" ], [ "brev" ] ]
wiktionary
afskedsgave
afsked|s|gave
[ [ "afsked" ], [ "s" ], [ "gave" ] ]
wiktionary
aftenfalk
aften|falk
[ [ "aften" ], [ "falk" ] ]
wiktionary
aftensmad
aften|s|mad
[ [ "aften" ], [ "s" ], [ "mad" ] ]
wiktionary
agerhøne
ager|høne
[ [ "ager" ], [ "høne" ] ]
wiktionary
agerugle
ager|ugle
[ [ "ager" ], [ "ugle" ] ]
wiktionary
akvariefisk
akvarie|fisk
[ [ "akvarie" ], [ "fisk" ] ]
wiktionary
aldersbestemmelse
alder|s|bestemmelse
[ [ "alder" ], [ "s" ], [ "bestemmelse" ] ]
wiktionary
aldersforskel
alder|s|forskel
[ [ "alder" ], [ "s" ], [ "forskel" ] ]
wiktionary
almennyttig
almen|nyttig
[ [ "almen" ], [ "nyttig" ] ]
wiktionary
altandør
altan|dør
[ [ "altan" ], [ "dør" ] ]
wiktionary
andetsprog
andet|sprog
[ [ "andet" ], [ "sprog" ] ]
wiktionary
ansættelseskontrakt
ansættelses|kontrakt
[ [ "ansættelses" ], [ "kontrakt" ] ]
wiktionary
ansøgningsfrist
ansøgnings|frist
[ [ "ansøgnings" ], [ "frist" ] ]
wiktionary
anæstesilæge
anæstesi|læge
[ [ "anæstesi" ], [ "læge" ] ]
wiktionary
appelsinjuice
appelsin|juice
[ [ "appelsin" ], [ "juice" ] ]
wiktionary
appelsinsaft
appelsin|saft
[ [ "appelsin" ], [ "saft" ] ]
wiktionary
aprilsnar
april|s|nar
[ [ "april" ], [ "s" ], [ "nar" ] ]
wiktionary
arbejdshandske
arbejd|s|handske
[ [ "arbejd" ], [ "s" ], [ "handske" ] ]
wiktionary
armbånd
arm|bånd
[ [ "arm" ], [ "bånd" ] ]
wiktionary
armbåndsur
arm|bånd&s&ur
[ [ "arm" ], [ "bånd", "s", "ur" ] ]
wiktionary
armhule
arm|hule
[ [ "arm" ], [ "hule" ] ]
wiktionary
armsved
arm|sved
[ [ "arm" ], [ "sved" ] ]
wiktionary
asylret
asyl|ret
[ [ "asyl" ], [ "ret" ] ]
wiktionary
atomaffald
atom|affald
[ [ "atom" ], [ "affald" ] ]
wiktionary
atombombe
atom|bombe
[ [ "atom" ], [ "bombe" ] ]
wiktionary
atomfysik
atom|fysik
[ [ "atom" ], [ "fysik" ] ]
wiktionary
atomkraft
atom|kraft
[ [ "atom" ], [ "kraft" ] ]
wiktionary
atomkraftværk
atom|kraft&værk
[ [ "atom" ], [ "kraft", "værk" ] ]
wiktionary
avisand
avis|and
[ [ "avis" ], [ "and" ] ]
wiktionary
aviskiosk
avis|kiosk
[ [ "avis" ], [ "kiosk" ] ]
wiktionary
badebukser
bade|bukser
[ [ "bade" ], [ "bukser" ] ]
wiktionary
badeferie
bade|ferie
[ [ "bade" ], [ "ferie" ] ]
wiktionary
badeforhæng
bade|for&hæng
[ [ "bade" ], [ "for", "hæng" ] ]
wiktionary
badekar
bade|kar
[ [ "bade" ], [ "kar" ] ]
wiktionary
badeværelse
bade|værelse
[ [ "bade" ], [ "værelse" ] ]
wiktionary
badeværelsesdør
bade&værelse|s|dør
[ [ "bade", "værelse" ], [ "s" ], [ "dør" ] ]
wiktionary
badmintonbane
badminton|bane
[ [ "badminton" ], [ "bane" ] ]
wiktionary
badmintonketsjer
badminton|ketsjer
[ [ "badminton" ], [ "ketsjer" ] ]
wiktionary
badmintonnet
badminton|net
[ [ "badminton" ], [ "net" ] ]
wiktionary
badmintonspiller
badminton|spiller
[ [ "badminton" ], [ "spiller" ] ]
wiktionary
bagben
bag|ben
[ [ "bag" ], [ "ben" ] ]
wiktionary
bagdør
bag|dør
[ [ "bag" ], [ "dør" ] ]
wiktionary
baggrundsmusik
baggrund|s|musik
[ [ "baggrund" ], [ "s" ], [ "musik" ] ]
wiktionary
baghus
bag|hus
[ [ "bag" ], [ "hus" ] ]
wiktionary
baglomme
bag|lomme
[ [ "bag" ], [ "lomme" ] ]
wiktionary
baglår
bag|lår
[ [ "bag" ], [ "lår" ] ]
wiktionary
bakketop
bakke|top
[ [ "bakke" ], [ "top" ] ]
wiktionary
bakterieinfektion
bakterie|infektion
[ [ "bakterie" ], [ "infektion" ] ]
wiktionary
bananblad
banan|blad
[ [ "banan" ], [ "blad" ] ]
wiktionary
bananflue
banan|flue
[ [ "banan" ], [ "flue" ] ]
wiktionary
bananpalme
banan|palme
[ [ "banan" ], [ "palme" ] ]
wiktionary
bananplantage
banan|plantage
[ [ "banan" ], [ "plantage" ] ]
wiktionary
bananskræl
banan|skræl
[ [ "banan" ], [ "skræl" ] ]
wiktionary
bankdirektør
bank|direktør
[ [ "bank" ], [ "direktør" ] ]
wiktionary
bankkonto
bank|konto
[ [ "bank" ], [ "konto" ] ]
wiktionary
barberkniv
barber|kniv
[ [ "barber" ], [ "kniv" ] ]
wiktionary
barberskum
barber|skum
[ [ "barber" ], [ "skum" ] ]
wiktionary
barnebarn
barne|barn
[ [ "barne" ], [ "barn" ] ]
wiktionary
barnedåb
barne|dåb
[ [ "barne" ], [ "dåb" ] ]
wiktionary
barnevogn
barne|vogn
[ [ "barne" ], [ "vogn" ] ]
wiktionary
barselsorlov
barsel|s|orlov
[ [ "barsel" ], [ "s" ], [ "orlov" ] ]
wiktionary
basketballkamp
basketball|kamp
[ [ "basketball" ], [ "kamp" ] ]
wiktionary
basketballklub
basketball|klub
[ [ "basketball" ], [ "klub" ] ]
wiktionary
basketballspiller
basketball|spiller
[ [ "basketball" ], [ "spiller" ] ]
wiktionary
bedstemor
bedste|mor
[ [ "bedste" ], [ "mor" ] ]
wiktionary
begyndelsesbogstav
begyndelse|s|bogstav
[ [ "begyndelse" ], [ "s" ], [ "bogstav" ] ]
wiktionary
beklædningsgenstand
beklædning|s|genstand
[ [ "beklædning" ], [ "s" ], [ "genstand" ] ]
wiktionary
benvæv
ben|væv
[ [ "ben" ], [ "væv" ] ]
wiktionary
benzinafgift
benzin|afgift
[ [ "benzin" ], [ "afgift" ] ]
wiktionary
benzinbil
benzin|bil
[ [ "benzin" ], [ "bil" ] ]
wiktionary
benzindunk
benzin|dunk
[ [ "benzin" ], [ "dunk" ] ]
wiktionary
benzinmotor
benzin|motor
[ [ "benzin" ], [ "motor" ] ]
wiktionary
benzinselskab
benzin|selskab
[ [ "benzin" ], [ "selskab" ] ]
wiktionary
beskyttelsesbriller
beskyttelse|s|briller
[ [ "beskyttelse" ], [ "s" ], [ "briller" ] ]
wiktionary
betalingsmiddel
betaling|s|middel
[ [ "betaling" ], [ "s" ], [ "middel" ] ]
wiktionary
biavler
bi|avler
[ [ "bi" ], [ "avler" ] ]
wiktionary
bibelfigur
bibel|figur
[ [ "bibel" ], [ "figur" ] ]
wiktionary
bidragsyder
bidrag|s|yder
[ [ "bidrag" ], [ "s" ], [ "yder" ] ]
wiktionary

Danish Compounds

Danish Compounds consists of a list of Danish compound words annotated for constituent words and interfixes. This can be used to evaluate how close a model can obtain similar splits.

Loading the dataset

To load the dataset simply run:

from datasets import load_dataset

ds = load_dataset("KennethEnevoldsen/danish-compounds", split="train")

Sample

A sample from the dataset looks as follows:

{
    "words": "A-aktie",
    "annotated_splits": "A|-|aktie",
    "splits": [["A"], ["-"], ["aktie"]],
    "source": "wiktionary",
}

Where:

  • words: The word as a string
  • annotated_splits: The annotated splits, including primary and secondary splits
  • splits: The words.
  • source Where the word was found.

Dataset Source

The dataset is derived from two source Wiktionary and sproget.dk.

Annotation Creator

The word splits were manually annotated by Kenneth Enevoldsen.

Annotation Scheme

Words that the annotator did not understand (e.g. some Icelandic words) were removed.

  • "|" indicates primary split (into compound words)
  • "&" indicates secondary split (used in case of compound word existing of a multiple compounds) e.g. blindtarmsbetændelse consist of two compounds "blindtarm" "betændelse" with a 'lim-s' ("s"), but blindtarm is itself a compound, namely "blind", "tarm".

Reason for annotation

This dataset was initially annotated to get a gist of how well BPE, Unigram, and similar tokenizers obtain tokens similar to conventional splits.

image/png

The Jaccard index, also sometimes called the Jaccard similarity, can be seen as a similarity metric between the labeled splits and the splits of the model.

It was annotated as a part of Kenneth Enevoldsen's master thesis.

Citation

If you use this work please cite:

@mastersthesis{Enevoldsen2022,
  title     = {Representation Learning for Decision-Support in Clinical Psychiatry},
  author    = {Kenneth Enevoldsen},
  year      = {2022},
  school    = {Aarhus University},
  note      = {Master's Thesis}
}
Downloads last month
21