Matej Klemen commited on
Commit
89f6522
2 Parent(s): 2a252da 484bbae

Merge branch 'main' of https://huggingface.co/datasets/cjvt/cc_gigafida into main

Browse files
Files changed (1) hide show
  1. README.md +142 -1
README.md CHANGED
@@ -1,3 +1,144 @@
1
  ---
2
- license: cc-by-nc-sa-4.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ annotations_creators:
3
+ - no-annotation
4
+ language:
5
+ - sl
6
+ language_creators:
7
+ - found
8
+ license:
9
+ - cc-by-nc-sa-4.0
10
+ multilinguality:
11
+ - monolingual
12
+ pretty_name: Written corpus ccGigafida 1.0
13
+ size_categories:
14
+ - 10K<n<100K
15
+ - 100M<n<1B
16
+ source_datasets: []
17
+ tags:
18
+ - gigafida
19
+ - gigafida2
20
+ - kres
21
+ - cckres
22
+ - reference corpus
23
+ task_categories:
24
+ - fill-mask
25
+ - text-generation
26
+ task_ids:
27
+ - masked-language-modeling
28
+ - language-modeling
29
  ---
30
+
31
+ # Dataset Card for ccGigafida
32
+
33
+ This repository by default loads the publicly available dataset ccGigafida, which contains a small subset of the Gigafida/Gigafida2 corpus.
34
+ The full datasets are private due to copyright. **If you happen to have access to the full datasets, the script will also work with those.**
35
+ Instead of `datasets.load_dataset("cjvt/cc_gigafida")` please use `datasets.load_dataset("cjvt/cc_gigafida", data_dir="<directory-containing-gigafida(2)-TEI-files>", ignore_verifications=True)`.
36
+ **IMPORTANT:** The script will process all `.xml` files in the provided directory and its subdirectories - make sure there are no schema or metadata files in there!
37
+
38
+
39
+ ### Dataset Summary
40
+
41
+ ccGigafida is a reference corpus of Slovene texts. It is a publicly available subsample of an even larger reference corpus, Gigafida (and its successor Gigafida 2).
42
+ The Gigafida corpus is an extensive collection of Slovene text of various genres, from daily newspapers, magazines, all kinds of books (fiction, non-fiction, textbooks),
43
+ web pages, transcriptions of parliamentary debates and similar.
44
+
45
+ ### Supported Tasks and Leaderboards
46
+
47
+ Language modeling.
48
+
49
+ ### Languages
50
+
51
+ Slovenian.
52
+
53
+ ## Dataset Structure
54
+
55
+ ### Data Instances
56
+
57
+ The data is loaded at document-level, i.e. one instance is one document.
58
+ ```
59
+ {
60
+ 'id_doc': 'F0000123',
61
+ 'doc_title': 'Novi tednik NT&RC',
62
+ 'authors': ['neznani novinar'],
63
+ 'publish_date': '1998-03-27',
64
+ 'publisher': 'Novi tednik',
65
+ 'genres': ['tisk/periodično/časopis'],
66
+ 'doc_tokenized': [
67
+ [
68
+ ['Po', 'nekajletnem', 'počitku', 'pa', 'se', 'vračajo', 'tudi', 'kralji', 'dark', 'rock', 'godbe', 'JESUS', 'AND', 'THE', 'MARY', 'CHAIN', '.'],
69
+ ['Brata', 'Reid', 'bosta', 'svojo', 'najnovejšo', 'kreacijo', '»', 'Cracking', 'Up', '«', 'objavila', 'v', 'ponedeljek', 'pri', 'trenutno', 'najuspešnejši', 'neodvisni', 'založbi', 'Creation', '(', 'vodi', 'jo', 'njun', 'nekdanji', 'menager', 'Alan', 'McGee', ',', 'zanjo', 'pa', 'poleg', 'Oasis', 'snema', 'še', 'cel', 'kup', 'popularnih', 'brit', '-', 'popovcev', ')', ',', 'tej', 'pa', 'bo', 'kmalu', 'sledil', 'tudi', 'album', '»', 'Munki', '«', '.']
70
+ ],
71
+ [
72
+ ['Kultni', 'ameriški', 'tehno', 'freak', 'PLASTIKMAN', 'že', 'vrsto', 'let', 'velja', 'za', 'enega', 'izmed', 'najbolj', 'inovativnih', 'in', 'produktivnih', 'ustvarjalcev', 'sodobne', 'elektronske', 'glasbe', '.'],
73
+ ['Za', 'založbo', 'Nova', 'Mute', 'je', 'v', 'preteklih', 'nekaj', 'letih', 'posnel', 'cel', 'kup', 'izvrstnih', 'underground', 'dance', 'glasbenih', 'izdelkov', ',', 'pred', 'nedavnim', 'pa', 'je', 'ljubitelje', 'tovrstne', 'godbe', 'presenetil', 'z', 'ambientalnimi', 'odisejadami', ',', 'zbranimi', 'na', 'LP-ju', '»', 'Refused', '«', ',', 'ki', 'ga', 'lahko', 'od', 'prejšnjega', 'ponedeljka', 'kupite', 'tudi', 'v', 'bolje', 'založenih', 'trgovinah', 'z', 'nosilci', 'zvoka', 'na', 'sončni', 'strani', 'Alp', '.']
74
+ ],
75
+ [
76
+ ['STANE', 'ŠPEGEL']
77
+ ]
78
+ ],
79
+ 'doc_string': [
80
+ [
81
+ 'Po nekajletnem počitku pa se vračajo tudi kralji dark rock godbe JESUS AND THE MARY CHAIN. ',
82
+ 'Brata Reid bosta svojo najnovejšo kreacijo »Cracking Up« objavila v ponedeljek pri trenutno najuspešnejši neodvisni založbi Creation (vodi jo njun nekdanji menager Alan McGee, zanjo pa poleg Oasis snema še cel kup popularnih brit-popovcev), tej pa bo kmalu sledil tudi album »Munki«.'
83
+ ],
84
+ [
85
+ 'Kultni ameriški tehno freak PLASTIKMAN že vrsto let velja za enega izmed najbolj inovativnih in produktivnih ustvarjalcev sodobne elektronske glasbe. ',
86
+ 'Za založbo Nova Mute je v preteklih nekaj letih posnel cel kup izvrstnih underground dance glasbenih izdelkov, pred nedavnim pa je ljubitelje tovrstne godbe presenetil z ambientalnimi odisejadami, zbranimi na LP-ju »Refused«, ki ga lahko od prejšnjega ponedeljka kupite tudi v bolje založenih trgovinah z nosilci zvoka na sončni strani Alp.'
87
+ ],
88
+ [
89
+ 'STANE ŠPEGEL'
90
+ ]
91
+ ],
92
+ 'id_sents': [['F0000123.000005.0', 'F0000123.000005.1'], ['F0000123.000013.0', 'F0000123.000013.1'], ['F0000123.000020.0']]
93
+ }
94
+ ```
95
+
96
+
97
+ ### Data Fields
98
+
99
+ - `id_doc`: the document ID (string);
100
+ - `doc_title`: the document title (string);
101
+ - `authors`: author(s) of the document (list of string): "neznani novinar" (sl) = ("unknown/unspecified journalist");
102
+ - `publish_date`: publish date (string);
103
+ - `publisher`: publisher, e.g., the name of a news agency (string);
104
+ - `genres`: genre(s) of the document (list of string) - possible genres: `['tisk', 'tisk/knjižno', 'tisk/knji��no/leposlovno', 'tisk/knjižno/strokovno', 'tisk/periodično', 'tisk/periodično/časopis', 'tisk/periodično/revija', 'tisk/drugo', 'internet']`;
105
+ - `doc_tokenized`: tokenized document - the top level lists represent paragraphs, the lists in the level deeper represent sentences, and each sentence contains tokens;
106
+ - `doc_string`: same as `doc_tokenized` but with properly placed spaces in sentences;
107
+ - `id_sents`: IDs of sentences contained inside paragraphs of the document.
108
+
109
+ ## Dataset Creation
110
+
111
+ Gigafida consists of texts which were published between 1990 and 2011. The texts come from printed sources and from the web.
112
+ Printed part contains fiction, non-fiction and textbooks, and periodicals such as daily newspapers and magazines.
113
+ Texts originating from the web were published on news portals, pages of big Slovene companies and more important governmental,
114
+ educational, research, cultural and similar institutions.
115
+
116
+ For more information, please check http://eng.slovenscina.eu/korpusi/gigafida.
117
+
118
+ ## Additional Information
119
+
120
+ ### Dataset Curators
121
+
122
+ Nataša Logar; et al. (please see http://hdl.handle.net/11356/1035 for the full list)
123
+
124
+ ### Licensing Information
125
+
126
+ CC BY-NC-SA 4.0.
127
+
128
+ ### Citation Information
129
+
130
+ ```
131
+ @misc{ccGigafida,
132
+ title = {Written corpus {ccGigafida} 1.0},
133
+ author = {Logar, Nata{\v s}a and Erjavec, Toma{\v z} and Krek, Simon and Gr{\v c}ar, Miha and Holozan, Peter},
134
+ url = {http://hdl.handle.net/11356/1035},
135
+ note = {Slovenian language resource repository {CLARIN}.{SI}},
136
+ copyright = {Creative Commons - Attribution-{NonCommercial}-{ShareAlike} 4.0 International ({CC} {BY}-{NC}-{SA} 4.0)},
137
+ issn = {2820-4042},
138
+ year = {2013}
139
+ }
140
+ ```
141
+
142
+ ### Contributions
143
+
144
+ Thanks to [@matejklemen](https://github.com/matejklemen) for adding this dataset.