Datasets:

Modalities:
Text
Formats:
json
Languages:
Serbian
Size:
< 1K
Libraries:
Datasets
pandas
License:
procesaur commited on
Commit
6f5267f
·
verified ·
1 Parent(s): 16f4475

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +26 -5
README.md CHANGED
@@ -2,21 +2,42 @@
2
  license: cc-by-4.0
3
  language:
4
  - sr
5
- field: "sents"
6
  pretty_name: Serbian Literary Text Collection
7
  size_categories:
8
  - 1M<n<10M
 
 
 
 
9
  ---
10
 
11
  SrpELTeC is a corpus of old Serbian novels for the first time published in the period 1840-1920. years of digitized within COST ACTION CO16204: Distant Reading for European Literary History, 2018-2022.
12
 
13
  The corpus includes 120 novels with 5,263.071 words, 22700 pages, 2557 chapters, 158,317 passages, 567 songs, 2972 verses, 803 segments in foreign language and 949 mentioned works.
14
 
15
- Dataset is constituted of JSON files, where the textual sentences are located in the "sents" attribute of the object root and can be obtianed via:
16
 
17
  ```python
18
- from json import load
 
 
 
 
19
 
20
- with open("ELTeC.json") as jf:
21
- sentences = load(jf)["sents"]
 
22
  ```
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  license: cc-by-4.0
3
  language:
4
  - sr
5
+ field: sents
6
  pretty_name: Serbian Literary Text Collection
7
  size_categories:
8
  - 1M<n<10M
9
+ task_categories:
10
+ - text-generation
11
+ tags:
12
+ - literary
13
  ---
14
 
15
  SrpELTeC is a corpus of old Serbian novels for the first time published in the period 1840-1920. years of digitized within COST ACTION CO16204: Distant Reading for European Literary History, 2018-2022.
16
 
17
  The corpus includes 120 novels with 5,263.071 words, 22700 pages, 2557 chapters, 158,317 passages, 567 songs, 2972 verses, 803 segments in foreign language and 949 mentioned works.
18
 
19
+ Dataset is constituted of two text files that can be loaded via:
20
 
21
  ```python
22
+ from datasets import load_dataset
23
+ dataset = load_dataset("jerteh/SrpELTeC")
24
+ ```
25
+
26
+ Preview:
27
 
28
+ ```python
29
+ print(dataset["train"][100])
30
+ {'text': '„Mi besmo dobre gazde u selu, otac moj imao je kuću i sesiju zemlje, imali smo četiri vola, lepa četiri krstaša, rogovi u njih behu kao u jelena, ali još više u šire nego u jelena, a vrhovi behu bačeni natrag, dlaku na glavi imaše belu i kovrčavu, koja je skoro do očiju popadala bila na glavi, — pa posle sva ova četiri vola behu tako jednaka i u hodu i u veličini i debljini, da je to divota bilo pogledati — e ta divna ti je to stoka bila.'}
31
  ```
32
+
33
+ Citation:
34
+
35
+ ```bibtex
36
+ @inproceedings{stankovic2022distant,
37
+ title={Distant Reading in Digital Humanities: Case Study on the Serbian Part of the ELTeC Collection},
38
+ author={Stankovi{\'c}, Ranka and Krstev, Cvetana and Todorovi{\'c}, Branislava {\v{S}}andrih and Vitas, Du{\v{s}}ko and {\v{S}}kori{\'c}, Mihailo and Ne{\v{s}}i{\'c}, Milica Ikoni{\'c}},
39
+ booktitle={Proceedings of the Thirteenth Language Resources and Evaluation Conference},
40
+ pages={3337--3345},
41
+ year={2022}
42
+ }
43
+ ```