File size: 10,289 Bytes
f32df64
 
 
 
 
 
3498f1b
75ac7eb
 
f32df64
 
 
 
 
 
a903a35
43fcc35
5de3b4b
fc3cc14
43fcc35
e0ee763
fc3cc14
43fcc35
a903a35
fc3cc14
43fcc35
 
 
 
 
 
 
 
 
 
 
 
 
5c58cee
43fcc35
5c58cee
43fcc35
 
 
f32df64
 
 
382db1e
f32df64
 
 
 
 
 
 
 
 
 
174a7c3
0f43fa4
174a7c3
 
f32df64
 
174a7c3
 
f32df64
 
174a7c3
0f43fa4
174a7c3
 
 
 
 
 
f32df64
 
382db1e
 
 
 
 
b925b40
 
 
 
 
 
 
 
382db1e
 
 
174a7c3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
382db1e
 
 
174a7c3
 
 
 
 
 
 
382db1e
 
174a7c3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
382db1e
174a7c3
 
 
 
 
 
382db1e
b925b40
 
 
 
 
 
 
 
382db1e
 
174a7c3
 
 
 
 
 
 
 
382db1e
7b5db83
174a7c3
 
 
 
 
 
 
 
7b5db83
382db1e
174a7c3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
382db1e
 
 
 
f32df64
 
 
 
 
174a7c3
a37fad4
174a7c3
f32df64
 
174a7c3
 
1f2fb52
174a7c3
00a4b14
174a7c3
a37fad4
174a7c3
 
 
1f2fb52
174a7c3
f32df64
 
1f2fb52
 
 
 
 
 
 
 
 
 
f32df64
0893b4e
 
 
 
 
 
 
 
 
 
 
 
 
f32df64
 
 
 
 
 
 
 
 
 
 
 
 
174a7c3
f32df64
 
 
 
 
174a7c3
c198944
 
 
382db1e
 
 
 
 
 
 
 
 
 
f32df64
174a7c3
f32df64
 
174a7c3
f32df64
 
174a7c3
f32df64
 
174a7c3
f32df64
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3498f1b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
---
license: cc-by-sa-3.0
task_categories:
- text-generation
language:
- sr
- hr
- bs
pretty_name: Vikipedija
size_categories:
- 100M<n<1B
configs:
- config_name: default
  data_files:
  - split: train
    path:
    - '*.jsonl'
  - split: sr
    path:
    - 'sr_*.jsonl'
  - split: sh
    path:
    - 'sh_*.jsonl'
  - split: hr
    path:
    - 'hr_*.jsonl'
  - split: bs
    path:
    - 'bs_*.jsonl'
  - split: wikipedia
    path:
    - '*_wiki_*.jsonl'
  - split: wikisource
    path:
    - '*_wikisource_*.jsonl'
  - split: wikibooks
    path:
    - '*_wikibooks_*.jsonl'
  - split: wikiquote
    path:
    - '*_wikiquote_*.jsonl'
  - split: wikinews
    path:
    - '*_wikinews_*.jsonl'
---




<table style="width:100%;height:100%">
  <!--tr style="width:100%;height:30px">

  <td colspan=2 align=center>
    
  </td>
  <tr-->
  <tr style="width:100%;height:100%">
    <td width=50%>
      <h2>Viki korpusi na srpskom i hrvatskom jeziku</h2>
      <p>Sveža verzija, <span class="highlight-container"><span class="highlight">1. maj 2026</span></span>!</p>
      <p>Očišćen i filtriran skup pet projekata: Vikipedija, Vikizvornik, Vikiknjige, Vikivesti i Vikicitati.</p>
      <p>Preko 670.000 očišćenih članaka, sa <span class="highlight-container"><span class="highlight">preko 310 miliona reči</span></span>.</p>
      <p></p>
      <p>Svaki dokument je u zasebnoj JSON liniji.</p>
      <p>Novi metapodaci! Kategorije, broj reči i postotak ćiriličnog teksta</p>
      <p>Moguće filtiranje skupa po jeziku ili projektu.</p>
    </td>
    <td>
      <h2>Wiki corpora in Serbian and Croatian language</h2> 
      <p>Fresh version, <span class="highlight-container"><span class="highlight">May 1<sup>st</sup> 2026</span></span>!</p> 
      <p>Cleaned and filtered set of five projects: Wikipedia, Wikisource, Wikibooks, Wikinews and Wikiquotes.</p> 
      <p>Over 670,000 cleaned articles, with <span class="highlight-container"><span class="highlight">over 310 million words</span></span>.</p> 
      <p></p> 
      <p>Each document is in a separate JSON line.</p> 
      <p>New Metadata! Categories, word count and percentage of Cyrillic text</p> 
      <p>Possible to filter the set by language or project.</p>
    </td>
  </tr>
</tr>
  <tr>
    <td colspan=2>
      <table style='width:100%;font-size:12pt;text-align:right'>
        <tr>
          <th style='width:16%'><b>Broj dokumenata<br/>Doc. count</b></th>
          <th style='width:12%'><b>Vikipedija<br/>Wikipedia</b></th>
          <th style='width:12%'><b>Vikizvornik<br/>Wikisource</b></th>
          <th style='width:12%'><b>Vikivesti<br/>Wikinews</b></th>
          <th style='width:12%'><b>Vikicitati<br/>Wikiquotes</b></th>
          <th style='width:12%'><b>Vikiknjige<br/>Wikibooks</b></th>
          <th style='width:12%'><b>Ukupno<br/>Total</b></th>
          <th style='width:12%'><b>Udeo<br/>Share</b></th>
        </tr>
        <tr>
          <td>Srpski 🇷🇸</td>
          <td>237,255</td>
          <td>36,992</td>
          <td>53,012</td>
          <td>5,101</td>
          <td>648</td>
          <td>333,008</td>
          <td>49.2%</td>
        </tr>
        <tr>
          <td>Hrvatski 🇭🇷</td>
          <td>152,894</td>
          <td>9,392</td>
          <td></td>
          <td>18</td>
          <td>1,117</td>
          <td>163,421</td>
          <td>24.1%</td>
        </tr>
        <tr>
          <td>Srpskohrvatski 🇷🇸🇭🇷</td>
          <td>130,299</td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td>130,299</td>
          <td>19.2%</td>
        </tr>
        <tr>
          <td>Bosanski 🇧🇦</td>
          <td>47,610</td>
          <td>1,890</td>
          <td>343</td>
          <td>527</td>
          <td>45</td>
          <td>50,415</td>
          <td>7.4%</td>
        </tr>
        <tr>
          <td><b>Ukupno / Total</b></td>
          <td>568,058</td>
          <td>48,274</td>
          <td>53,355</td>
          <td>5,646</td>
          <td>1,810</td>
          <td>677,143</td>
          <td>100%</td>
        </tr>
      </table>
    </td>
  </tr>   
    <tr>
    <td colspan=2>
      <table style='width:100%;font-size:12pt;text-align:right'>
        <tr>
          <th style='width:16%'><b>Broj reči<br/>Word count</b></th>
          <th style='width:12%'><b>Vikipedija<br/>Wikipedia</b></th>
          <th style='width:12%'><b>Vikizvornik<br/>Wikisource</b></th>
          <th style='width:12%'><b>Vikivesti<br/>Wikinews</b></th>
          <th style='width:12%'><b>Vikicitati<br/>Wikiquotes</b></th>
          <th style='width:12%'><b>Vikiknjige<br/>Wikibooks</b></th>
          <th style='width:12%'><b>Ukupno<br/>Total</b></th>
          <th style='width:12%'><b>Udeo<br/>Share</b></th>
        </tr>
        <tr>
          <td>Srpski 🇷🇸</td>
          <td>134,515,581</td>
          <td>22,210,921</td>
          <td>7,577,930</td>
          <td>1,036,743</td>
          <td>712,395</td>
          <td>166,053,570</td>
          <td>53.4%</td>
        </tr>
        <tr>
          <td>Hrvatski 🇭🇷</td>
          <td>57,985,132</td>
          <td>9,674,234</td>
          <td></td>
          <td>5,035</td>
          <td>303,226</td>
          <td>67,967,627</td>
          <td>21.8%</td>
        </tr>
        <tr>
          <td>Srpskohrvatski 🇷🇸🇭🇷</td>
          <td>50,153,319</td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td>50,153,319</td>
          <td>16.1%</td>
        </tr>
        <tr>
          <td>Bosanski 🇧🇦</td>
          <td>24,479,558</td>
          <td>2,264,631</td>
          <td>46,735</td>
          <td>147,015</td>
          <td>29,389</td>
          <td>26,967,328</td>
          <td>8.7%</td>
        </tr>
        <tr>
          <td><b>Ukupno / Total</b></td>
          <td>267,133,590</td>
          <td>34,149,786</td>
          <td>7,624,665</td>
          <td>1,188,793</td>
          <td>1,045,010</td>
          <td>311,141,844</td>
          <td>100%</td>
        </tr>
      </table>
    </td>
  </tr>   
</table>


```python
from datasets import load_dataset
# Učitavanje samo srpskog dela
dataset = load_dataset("procesaur/WikiViki", split="sr")
print(dataset[6]["text"])
```
```python
Хоби је име за активност која се обавља због личног задовољства, а не због новчаних награда или примања...
```

```python
from datasets import load_dataset
# Učitavanje samo vikicitata
dataset = load_dataset("procesaur/WikiViki", split="wikiquote")
print(dataset[5]["text"])
```
```python
1 Citati
Čovjek je, Senada, teški hajvan. I ono malo duše što ima, šejtan mu je dao da mu bude teže...
```

```python
# Filtriranje prema metapodacima
filtered = dataset.filter(lambda example: example["subject"] == "J.R.R. Tolkin")
print(f"{filtered[0]["title"]}\n{filtered[0]["text"]} )
```
```python
Gospodar prstenova: Povratak kralja
1 Citati
*Gandalf: "Sutra će biti veći jad nego što je bio danas i tako će biti još dugo...
```

## Cite
```bibtex
@misc{škorić2026wikidumpstrainingcorpora,
      title={Wiki Dumps to Training Corpora: South Slavic Case}, 
      author={Mihailo Škorić},
      year={2026},
      eprint={2604.25384},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2604.25384}, 
}
```

<div class="inline-flex flex-col" style="line-height: 1.5;padding-right:50px">
  <div style="text-align: center; margin-top: 3px; font-size: 16px; font-weight: 800">Editor</div>
    <a href="https://huggingface.co/procesaur">  
      <div class="flex">
          <div
  			style="display:DISPLAY_1; margin-left: auto; margin-right: auto; width: 92px; height:92px; border-radius: 50%; 
            background-size: cover; background-image: url(&#39;https://cdn-uploads.huggingface.co/production/uploads/1673534533167-63bc254fb8c61b8aa496a39b.jpeg?w=200&h=200&f=face&#39;)">
          </div>
      </div>
    </a>
    <div style="text-align: center; font-size: 16px; font-weight: 800">Mihailo Škorić</div>
    <div>  
      <a href="https://huggingface.co/procesaur">
      	<div style="text-align: center; font-size: 14px;">@procesaur</div>
      </a>
    </div>
  </div>
</div>


<img src="cover.png" class="cover">


<div id="zastava">
  <div class="grb">
    <img src="https://www.ai.gov.rs/img/logo_60x120-2.png" style="position:relative; left:30px; z-index:10; height:85px">
  </div>
  <table width=100% style="border:0px">
    <tr style="background-color:#C6363C;width:100%;border:0px;height:30px"><td style="width:100vw"></td></tr>
    <tr style="background-color:#0C4076;width:100%;border:0px;height:30px"><td></td></tr>
    <tr style="background-color:#ffffff;width:100%;border:0px;height:30px"><td></td></tr>
  </table>
</div>

<!--table style="width:100%;height:100%">
  <tr style="width:100%;height:100%">
    <td width=50%>
       <p>Истраживање jе спроведено уз подршку Фонда за науку Републике Србиjе, #7276, Text Embeddings – Serbian Language Applications – TESLA</p>
    </td>
    <td>
      <p>This research was supported by the Science Fund of the Republic of Serbia, #7276, Text Embeddings - Serbian Language Applications - TESLA</p>
    </td>
  </tr>
</table-->



<style>
  .ffeat: {
  color:red
  }
  
  .cover {
    width: 100%;
    margin-bottom: 5pt
  }
  
.highlight-container, .highlight {
  position: relative;
  text-decoration:none
}

.highlight-container {
  display: inline-block;
  
}

.highlight{
  color:white;
  text-transform:uppercase;
  font-size: 16pt;
}

  .highlight-container{
    padding:5px 10px
  }

.highlight-container:before {
  content: " ";
  display: block;
  height: 100%;
  width: 100%;
  margin-left: 0px;
  margin-right: 0px;
  position: absolute;
  background: #e80909;
  transform: rotate(2deg);
  top: -1px;
  left: -1px;
  border-radius: 20% 25% 20% 24%;
  padding: 10px 18px 18px 10px;
}

div.grb, #zastava>table {
  position:absolute;
  top:0px;
  left: 0px;
  margin:0px
}

  div.grb>img, #zastava>table{
    margin:0px
  }
  
#zastava {
  position: relative;
  margin-bottom:120px
}

  p {
    font-size:14pt
  }
</style>