Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
8.19k
142k
id
stringlengths
9
13
page_id
int64
36
909k
title
stringlengths
3
40
url
stringlengths
33
74
version
int64
11M
12.1M
start_end_sentence_character_indexes
listlengths
65
1.14k
tokens
listlengths
65
1.14k
tags
listlengths
65
1.14k
other_tags
listlengths
65
1.14k
mwes
listlengths
65
1.14k
In Flames In Flames er et melodisk dødsmetal-band, som blev dannet af guitaristen Jesper Strömblad i 1990 i Göteborg, Sverige. Sammen med bandene At the Gates og Dark Tranquillity var In Flames med til at udvikle genren, der senere blev kendt som melodisk dødsmetal eller Göteborg-lyden. På de første tre albums havde b...
dawiki/114987
114,987
In Flames
https://da.wikipedia.org/wiki/In_Flames
11,980,422
[ [ 0, 127 ], [ 128, 288 ], [ 289, 402 ], [ 402, 485 ], [ 486, 702 ], [ 703, 783 ], [ 784, 944 ], [ 945, 1082 ], [ 1083, 1218 ], [ 1219, 1227 ], [ 1227, 1228 ], [ 1229, 1268 ],...
[ [ "In", "Flames", "\n\n", "In", "Flames", "er", "et", "melodisk", "dødsmetal-band", ",", "som", "blev", "dannet", "af", "guitaristen", "Jesper", "Strömblad", "i", "1990", "i", "Göteborg", ",", "Sverige", "." ], [ ...
[ [ [], [], [], [], [], [ "A3" ], [ "Z5" ], [ "K2" ], [], [], [ "A13" ], [ "M8" ], [ "S7.1" ], [ "Z5" ], [ "K2", "S2" ], [], [], [ "Z5" ], [ ...
[ [ [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [] ], [ [], [], [], [], [], [], [], [], [], [], [], [], [], [], ...
[ [ [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [], [] ], [ [], [], [], [], [], [], [], [], [], [], [], [], [], [], ...
"Mary Wollstonecraft\n\nMary Wollstonecraft (født 27. april 1759, død 10. september 1797) var en b(...TRUNCATED)
dawiki/241425
241,425
Mary Wollstonecraft
https://da.wikipedia.org/wiki/Mary_Wollstonecraft
11,328,017
[[0,144],[145,289],[290,398],[399,528],[529,672],[673,768],[769,897],[898,1095],[1096,1270],[1271,13(...TRUNCATED)
[["Mary","Wollstonecraft","\n\n","Mary","Wollstonecraft","(","født","27.","april","1759",",","død"(...TRUNCATED)
[[["Z1"],[],[],["Z1"],[],[],[],[],[],["N1"],[],["L1"],[],["T1.3"],["N1"],[],["A3"],["Z5"],["Z2"],[],(...TRUNCATED)
[[[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]],[[],[],[],[],[],[],[],(...TRUNCATED)
[[[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[1],[1],[1],[]],[[],[1],[1],[],[],[(...TRUNCATED)
"My Dying Bride\n\nMy Dying Bride er et britisk death/doom metal-band, dannet i West Yorkshire, Engl(...TRUNCATED)
dawiki/232498
232,498
My Dying Bride
https://da.wikipedia.org/wiki/My_Dying_Bride
11,891,039
[[0,51],[51,220],[221,373],[374,475],[476,593],[594,747],[748,843],[844,952],[953,1173],[1174,1309],(...TRUNCATED)
[["My","Dying","Bride","\n\n","My","Dying","Bride","er","et","britisk","death/"],["doom","metal-band(...TRUNCATED)
[[[],[],[],[],[],[],[],["A3"],["Z5"],["Z2"],[]],[[],[],[],["S7.1"],["Z5"],[],["Z2"],[],["Z2"],["Z5"](...TRUNCATED)
[[[],[],[],[],[],[],[],[],[],[],[]],[[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],(...TRUNCATED)
[[[],[],[],[],[],[],[],[],[],[],[]],[[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],(...TRUNCATED)
"Slayer\n\nSlayer er et amerikansk thrash metal-band, stiftet i 1981 af Kerry King og Jeff Hanneman.(...TRUNCATED)
dawiki/77499
77,499
Slayer
https://da.wikipedia.org/wiki/Slayer
11,889,476
[[0,97],[98,302],[303,549],[550,775],[776,896],[897,1076],[1076,1088],[1088,1189],[1190,1218],[1218,(...TRUNCATED)
[["Slayer","\n\n","Slayer","er","et","amerikansk","thrash","metal-band",",","stiftet","i","1981","af(...TRUNCATED)
[[[],[],[],["A3"],["Z5"],["Z2"],["M1"],[],[],[],["Z5"],["N1"],["Z5"],["Z2"],[],["Z5"],["Z1"],[],[]],(...TRUNCATED)
[[[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]],[[],[],[],[],[],[],[],[],[],[],[],[],[],(...TRUNCATED)
[[[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]],[[],[],[],[],[],[],[],[],[],[],[],[],[],(...TRUNCATED)
"Islands Brygge\n\nFor alternative betydninger, se Islands Brygge (flertydig). (Se også artikler, s(...TRUNCATED)
dawiki/79587
79,587
Islands Brygge
https://da.wikipedia.org/wiki/Islands_Brygge
11,944,793
[[0,75],[76,202],[203,286],[287,412],[413,528],[529,734],[735,877],[878,1019],[1020,1295],[1296,1341(...TRUNCATED)
[["Islands","Brygge","\n\n","For","alternative","betydninger",",","se","Islands","Brygge","(","flert(...TRUNCATED)
[[["Z2"],["F2"],[],[],["A6.1"],["A11.1"],[],["X3.4"],["Z2"],["F2"],[],[],[],[]],[[],["X3.4"],["N5"],(...TRUNCATED)
[[[],[],[],[],[],[],[],[],[],[],[],[],[],[]],[[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],(...TRUNCATED)
[[[],[],[],[],[],[],[],[],[],[],[],[],[],[]],[[],[],[],[],[],[],[1],[1],[],[],[],[],[],[],[],[],[],[(...TRUNCATED)
"Follow the Reaper\n\nFollow the Reaper er det tredje album fra det finske metalband Children of Bod(...TRUNCATED)
dawiki/194582
194,582
Follow the Reaper
https://da.wikipedia.org/wiki/Follow_the_Reaper
11,834,284
[[0,100],[101,215],[216,535],[536,721],[721,733],[733,946],[947,1142],[1143,1287],[1288,1313],[1314,(...TRUNCATED)
[["Follow","the","Reaper","\n\n","Follow","the","Reaper","er","det","tredje","album","fra","det","fi(...TRUNCATED)
[[[],[],[],[],[],[],[],["A3"],["Z5"],["N4"],["K2"],["Z5"],["Z5"],["Z2"],[],[],[],[],[]],[["K2"],["M8(...TRUNCATED)
[[[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]],[[],[],[],[],[],[],[],[],[],[],[],[],[],(...TRUNCATED)
[[[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]],[[],[],[],[],[],[],[],[],[],[],[],[],[],(...TRUNCATED)
"DNA\n\nFor alternative betydninger, se DNA (flertydig). (Se også artikler, som begynder med DNA) D(...TRUNCATED)
dawiki/4518
4,518
DNA
https://da.wikipedia.org/wiki/DNA
11,917,515
[[0,53],[54,94],[95,342],[343,522],[523,620],[621,724],[725,840],[841,901],[902,1091],[1092,1167],[1(...TRUNCATED)
[["DNA","\n\n","For","alternative","betydninger",",","se","DNA","(","flertydig",")","."],["(","Se","(...TRUNCATED)
[[["B1"],[],[],["A6.1"],["A11.1"],[],["X3.4"],["B1"],[],[],[],[]],[[],["X3.4"],["N5"],["Q4.2"],[],["(...TRUNCATED)
[[[],[],[],[],[],[],[],[],[],[],[],[]],[[],[],[],[],[],[],[],[],[],[]],[[],[],[],[],[],[],[],[],[],[(...TRUNCATED)
[[[],[],[],[],[],[],[],[],[],[],[],[]],[[],[],[],[],[],[],[1],[1],[],[]],[[],[],[],[],[],[],[],[],[](...TRUNCATED)
"Dyreret\n\n| | Denne artikel omhandler dyrs rettigheder. For dyrevelfærd, se dyrevelfærd. | Dyre(...TRUNCATED)
dawiki/174376
174,376
Dyreret
https://da.wikipedia.org/wiki/Dyreret
11,523,134
[[0,12],[12,13],[14,55],[56,88],[89,143],[144,228],[229,471],[472,614],[615,706],[707,827],[828,963](...TRUNCATED)
[["Dyreret","\n\n","|"],["|"],["Denne","artikel","omhandler","dyrs","rettigheder","."],["For","dyrev(...TRUNCATED)
[[[],[],[]],[[]],[[],["Q4.2"],[],["Z4"],["Z4"],[]],[[],[],[],["X3.4"],[],[]],[[],[],["Z5"],["Z4"],["(...TRUNCATED)
[[[],[],[]],[[]],[[],[],[],[],[],[]],[[],[],[],[],[],[]],[[],[],[],[],[],[],[],[],[],[]],[[],[],[],[(...TRUNCATED)
[[[],[],[]],[[]],[[],[],[],[1],[1],[]],[[],[],[],[],[],[]],[[],[],[],[1],[1],[],[],[],[],[]],[[],[],(...TRUNCATED)
"Eurovision Song Contest 2014\n\nEurovision Song Contest 2014 var den 59. udgave af Eurovision Song (...TRUNCATED)
dawiki/639225
639,225
Eurovision Song Contest 2014
https://da.wikipedia.org/wiki/Eurovision_Song_Contest_2014
11,992,526
[[0,70],[71,105],[106,242],[243,359],[360,398],[399,472],[473,574],[575,645],[646,739],[740,831],[83(...TRUNCATED)
[["Eurovision","Song","Contest","2014","\n\n","Eurovision","Song","Contest","2014","var","den","59",(...TRUNCATED)
[[["Z3"],[],[],["N1"],[],["Z3"],[],[],["N1"],["A3"],[],["N1"],[]],[["Q4"],["Z5"],["Z3"],[],[],[]],[[(...TRUNCATED)
[[[],[],[],[],[],[],[],[],[],[],[],[],[]],[[],[],[],[],[],[]],[[],[],[],[],[],[],[],[],[],[],[],[],[(...TRUNCATED)
[[[],[],[],[],[],[],[],[],[],[],[],[],[]],[[],[],[],[],[],[]],[[],[],[],[],[],[],[],[],[],[],[],[],[(...TRUNCATED)
"Kultur i København\n\nKultur i København dækker et bredt spektrum af kulturoplevelser i Københa(...TRUNCATED)
dawiki/427116
427,116
Kultur i København
https://da.wikipedia.org/wiki/Kultur_i_K%C3%B8benhavn
11,868,924
[[0,198],[199,288],[289,401],[402,564],[565,642],[643,769],[770,909],[910,1026],[1027,1130],[1130,11(...TRUNCATED)
[["Kultur","i","København","\n\n","Kultur","i","København","dækker","et","bredt","spektrum","af",(...TRUNCATED)
[[["C1"],["Z5"],["Z2"],[],["C1"],["Z5"],["Z2"],[],["Z5"],["A4.2"],["A6.3"],["Z5"],[],["Z5"],["Z2"],[(...TRUNCATED)
[[[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]],[(...TRUNCATED)
[[[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[1],[1],[1],[],[2],[2],[2],[](...TRUNCATED)
End of preview. Expand in Data Studio

Multilingual USAS Silver Labelled Wikipedia Articles

Silver-labelled Wikipedia article text for training USAS semantic taggers and Multi-Word Expression (MWE) identifiers, covering 8 Wikipedia language sites. The source text comes from the HuggingFace HuggingFaceFW/finewiki dataset, restricted to articles rated Good (GA) or Featured (FA) — using the article ID list from ucrelnlp/wikipedia-ga-fa-ids — and then sentence split and automatically tagged with USAS semantic tags and MWEs using PyMUSAS rule-based taggers. For more information on how the dataset was generated, including the full filtering/processing pipeline, see https://github.com/UCREL/wikipedia-USAS-processing.

Uses

It can be used to train USAS semantic taggers and MWE identifiers.

Filtering and Processing

Each Wikipedia article goes through the following pipeline before being included in this dataset:

  • The article ID and title must match an article rated as Good (GA) or Featured (FA) (taken from ucrelnlp/wikipedia-ga-fa-ids).
  • Articles that are part of a manually curated test set (by URL) are excluded.
  • Wikipedia family-tree tables, mathematical equations, and other tables are removed from the article text.
  • Markdown formatting (e.g. headers like # but not the header text) is stripped from the article text.
  • Articles with fewer than 50 tokens, based on a language-specific tokenizer, are removed.
  • Exact and then MinHash de-duplication is applied.
  • Remaining articles are sentence split using language-specific spaCy sentence splitters.
  • Each sentence is tagged with USAS semantic tags and, where the tagger supports it, MWEs, using PyMUSAS Rule Based language-specific taggers.

Dataset Structure

Each row is a single article, unique per id/page_id within a language config. The data is split per language into train and validation subsets (see below).

  • text - the processed article text.
  • id - unique identifier for the article, e.g. dawiki/1171348.
  • page_id - the Wikipedia page ID, e.g. 1171348.
  • title - the article title.
  • url - the article URL, e.g. https://da.wikipedia.org/wiki/El_Salvador_ved_sommer-OL_2024.
  • version (int|string) - revision/version identifier of the page, as provided by HuggingFaceFW/finewiki, e.g. 1167219203.
  • start_end_sentence_character_indexes - list of [start, end] character offsets for each sentence, e.g. [[0, 10], [11, 15]] — the first sentence is text[0:10].
  • tokens - list of a list of tokens, where the inner list is the tokens for a given sentence, e.g. tokens[0] contains all tokens in the first sentence.
  • tags - list of a list of a list of USAS tags predicted by the PyMUSAS rule-based tagger. The innermost list holds the most likely USAS tag(s) for a given token, e.g. tags[0][0] is the most likely USAS tag(s) for the first token of the first sentence — usually a single tag, but more than one when the token's meaning is a combination of the predicted tags. Some tokens have no USAS tags, as the rule-based tagger cannot make a prediction for every token.
  • other_tags - list of a list of a list of USAS tags, same shape as tags, containing every other valid USAS tag for a token that was not among its most likely tag(s), e.g. other_tags[0][0]. Most tokens have no other tags, in which case the inner list is empty.
  • mwes - list of a list of MWE labels predicted by the PyMUSAS rule-based tagger, relating to the most likely USAS tags. Labels denote, at the sentence level, which tokens form an MWE, e.g. if mwes[0][0] and mwes[0][1] both contain 1, the first and second tokens of the first sentence are part of the same MWE. MWEs can be discontinuous but should not overlap. MWE label indexes start at 1 and reset per sentence — MWEs cannot span sentence boundaries.

The data is stored as zstd-compressed Parquet files.

Example of a record (shown as JSON for readability):

{
  "text": "El Salvador deltog i sommer-OL 2024 i Paris.",
  "id": "dawiki/1171348",
  "page_id": 1171348,
  "title": "El Salvador ved sommer-OL 2024",
  "url": "https://da.wikipedia.org/wiki/El_Salvador_ved_sommer-OL_2024",
  "version": 1167219203,
  "start_end_sentence_character_indexes": [[0, 45]],
  "tokens": [["El", "Salvador", "deltog", "i", "sommer-OL", "2024", "i", "Paris", "."]],
  "tags": [[["Z2"], ["Z2"], ["M6"], ["Z5"], ["K5.1"], ["T1.3"], ["Z5"], ["Z2"], ["Z9"]]],
  "other_tags": [[[], [], [], [], [], [], [], [], []]],
  "mwes": [[1, 1, 0, 0, 0, 0, 0, 0, 0]]
}

Train/validation split

Each language's documents are split into train and validation subsets, written to separate train/validation subfolders. The validation split is capped at whichever is reached first: a percentage of the language's documents, or a fixed maximum number of documents — this keeps under-resourced languages (some have as few as ~200 articles) at a sensible percentage-based split, while bounding well-resourced languages' validation set to a sane absolute size. The split assignment is deterministic (hashed from each document's page ID), so re-running the pipeline reproduces the same split.

Dataset Statistics

The table below shows per language the number of entries/articles that are either Good or Featured (Total), Good, or Featured:

License

This dataset contains text from Wikipedia, licensed under Creative Commons Attribution-ShareAlike 4.0 (CC BY-SA 4.0) and also available under GFDL. See Wikipedia’s licensing and Terms of Use: https://dumps.wikimedia.org/legal.html

We release this data under the same license; Creative Commons Attribution-ShareAlike 4.0 (CC BY-SA 4.0) and also available under GFDL.

Dataset Card Authors

Dataset Card Contact

Downloads last month
98