Datasets:
cointegrated
commited on
Commit
•
981f4aa
1
Parent(s):
c57d7e4
Update README.md
Browse files
README.md
CHANGED
@@ -27,7 +27,172 @@ dataset_info:
|
|
27 |
num_examples: 76400
|
28 |
download_size: 15646643
|
29 |
dataset_size: 39447584
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
---
|
31 |
-
# Dataset Card for "e-mordovia-articles-2023"
|
32 |
|
33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
num_examples: 76400
|
28 |
download_size: 15646643
|
29 |
dataset_size: 39447584
|
30 |
+
license: cc-by-4.0
|
31 |
+
task_categories:
|
32 |
+
- translation
|
33 |
+
language:
|
34 |
+
- ru
|
35 |
+
- myv
|
36 |
+
size_categories:
|
37 |
+
- 10K<n<100K
|
38 |
---
|
|
|
39 |
|
40 |
+
# "e-mordovia-articles-2023": a parallel Russian-Erzya news dataset
|
41 |
+
|
42 |
+
This is a semi-aligned dataset of Erzya and Russian news articles, crawled from https://www.e-mordovia.ru.
|
43 |
+
|
44 |
+
## Dataset Description
|
45 |
+
|
46 |
+
### Dataset Summary
|
47 |
+
|
48 |
+
This is a dataset of news arcticles collected from https://www.e-mordovia.ru, the official portal of the state authorities of the Republic of Mordovia.
|
49 |
+
|
50 |
+
The Russian and Erzya articles have been paired using heuristics, then split into sentences and automatically aligned on the sentence level.
|
51 |
+
|
52 |
+
The dataset contains unaligned sentences and sentnces that were aligned poorly.
|
53 |
+
To extract a relatively high-quality parallel part, it is recommended to filter the sentence pairs by `sim>=0.5`.
|
54 |
+
|
55 |
+
### Supported Tasks and Leaderboards
|
56 |
+
|
57 |
+
The dataset is intended to be used as training data for machine translation models.
|
58 |
+
|
59 |
+
### Languages
|
60 |
+
|
61 |
+
The languages are Erzya (`myv`) and Russian (`rus`).
|
62 |
+
Erzya, a language from the Mordvinic branch of the Uralic family, is one of the three official languages in Mordovia, alongside with Russian and Moksha.
|
63 |
+
|
64 |
+
Both languages are written in the Cyrillic script.
|
65 |
+
|
66 |
+
## Dataset Structure
|
67 |
+
|
68 |
+
### Data Instances
|
69 |
+
|
70 |
+
A typical datapoint is a pair of Erzya and Russian sentences (if they were aligned) or a single sentence in one of the languages (if the algorithm failed to align them).
|
71 |
+
|
72 |
+
Each sentence is associated with a document (a news article).
|
73 |
+
|
74 |
+
A typical aligned instance may look like
|
75 |
+
```Python
|
76 |
+
{'src_sent_id': 0.0,
|
77 |
+
'src_sent': 'Мордовиянь Прявтось Артём Здунов таштамковонь 30-це чистэ важоди Пятигорскойсэ, косо неть читнестэ юты «Больше, чем путешествие» Весероссиянь туристической промксось.',
|
78 |
+
'tgt_sent_id': 0.0,
|
79 |
+
'tgt_sent': 'Глава Мордовии Артем Здунов 30 сентября работает в Пятигорске, где в эти дни проходит Всероссийский туристический слёт «Больше, чем путешествие» .',
|
80 |
+
'sim': 0.8276803313967693,
|
81 |
+
'sim_pnlz': 0.4310691599466438,
|
82 |
+
'src_doc_hash': '31c1ff1900eb69d9',
|
83 |
+
'tgt_doc_hash': 'c3270fd2c8ccdfa9',
|
84 |
+
'docs_sim': 0.762437117256569,
|
85 |
+
'src_id': 0}
|
86 |
+
```
|
87 |
+
An unaligned instance may look like
|
88 |
+
```Python
|
89 |
+
{'src_sent_id': None,
|
90 |
+
'src_sent': None,
|
91 |
+
'tgt_sent_id': 14.0,
|
92 |
+
'tgt_sent': 'Только в такой связке работа будет эффективной.',
|
93 |
+
'sim': None,
|
94 |
+
'sim_pnlz': None,
|
95 |
+
'src_doc_hash': '31c1ff1900eb69d9',
|
96 |
+
'tgt_doc_hash': 'c3270fd2c8ccdfa9',
|
97 |
+
'docs_sim': 0.762437117256569,
|
98 |
+
'src_id': 0}
|
99 |
+
```
|
100 |
+
|
101 |
+
### Data Fields
|
102 |
+
|
103 |
+
- `src_sent_id`: id of the sentence in the Erzya article (or empty)
|
104 |
+
- `src_sent`: the Erzya sentence (or empty)
|
105 |
+
- `tgt_sent_id': id of the sentence in the Russian article (or empty)
|
106 |
+
- `tgt_sent`: the Russian sentence (or empty)
|
107 |
+
- `sim`: similarity of the Russian and Erzya sentences (or empty): a product of their LaBSE cosine similarities and their shortest-to-longest ratio of character lengths.
|
108 |
+
- `sim_pnlz`: a penalized similarity of the Russian and Erzya sentences (or empty); based on whether this number is positive, the decision was made to align the sentences or not.
|
109 |
+
- `src_doc_hash`: unique identifier of the Erzya article
|
110 |
+
- `tgt_doc_hash`: unique identifier of the Russian article
|
111 |
+
- `docs_sim`: the similiarity between the documents, computed as the aggregated similarity of the individual sentences in them.
|
112 |
+
- `src_id`: numeric id of the document pair
|
113 |
+
|
114 |
+
### Data Splits
|
115 |
+
|
116 |
+
The whole dataset is a train split.
|
117 |
+
In the future, we may create an additional dev split out of the articles published after the current data has been collected.
|
118 |
+
|
119 |
+
## Dataset Creation
|
120 |
+
|
121 |
+
### Curation Rationale
|
122 |
+
|
123 |
+
The dataset has been curated in order to boost the quality of machine translation for Erzya.
|
124 |
+
|
125 |
+
### Source Data
|
126 |
+
|
127 |
+
#### Initial Data Collection and Normalization
|
128 |
+
|
129 |
+
The data has been scraped from the https://www.e-mordovia.ru website.
|
130 |
+
|
131 |
+
The Erzya and Russian articles were considered as a possible pair if their included the same image.
|
132 |
+
Then each candidate pair of articles was split into sentences with the [razdel](https://github.com/natasha/razdel) Python package
|
133 |
+
and aligned using the [slone_nmt](https://github.com/slone-nlp/myv-nmt) package
|
134 |
+
and the [slone/LaBSE-en-ru-myv-v2](https://huggingface.co/slone/LaBSE-en-ru-myv-v2) sentence encoder.
|
135 |
+
|
136 |
+
No other text preprocessing has been performed.
|
137 |
+
|
138 |
+
#### Who are the source language producers?
|
139 |
+
|
140 |
+
The language producers are the writers and the editors of the e-mordovia.ru portal, typically anonymous.
|
141 |
+
|
142 |
+
### Annotations
|
143 |
+
|
144 |
+
The dataset does not contain any additional annotations.
|
145 |
+
|
146 |
+
### Personal and Sensitive Information
|
147 |
+
|
148 |
+
The dataset may contain personal names of the people figurating in the news.
|
149 |
+
However, as all these news are public anyway, we do not see any additional risks in using this data for training NLP models.
|
150 |
+
|
151 |
+
## Considerations for Using the Data
|
152 |
+
|
153 |
+
### Social Impact of Dataset
|
154 |
+
|
155 |
+
We hope that by enabling better machine translation from and to Erzya, this dataset would contribute to improve the digital presence and overall prestige of the Erzya language.
|
156 |
+
|
157 |
+
### Discussion of Biases
|
158 |
+
|
159 |
+
As a portal of a public authority in Russian Federation, a country not very famous for its freedom of speech,
|
160 |
+
*e-mordovia* may be presenting its own particular coverage and interpretation of some internal, federal and international events.
|
161 |
+
Therefore, while we recommend using the collected dataset for teaching the Erzya language to models (and maybe even to humans),
|
162 |
+
its usage as a source of non-linguistic knowledge should be approached with extreme caution.
|
163 |
+
|
164 |
+
### Other Known Limitations
|
165 |
+
|
166 |
+
The original articles were not originally intended to serve as parallel texts, and the writers who translated them between Erzya and Russian might have altered the content someitmes.
|
167 |
+
Our automatic metrics of sentence similarity were designed to filter out such cases, these metrics are error-prone themseles.
|
168 |
+
Therefore, whereas the aligned part of the dataset seems to be highly parallel, the translations should be treated as noisy rather than 100% accurate.
|
169 |
+
Filtering by the `sim` and `doc_sim` fields is recommended for obtaining a highly parallel subset.
|
170 |
+
|
171 |
+
## Additional Information
|
172 |
+
|
173 |
+
### Dataset Curators
|
174 |
+
|
175 |
+
The dataset was collected and aligned by Sergey Kuldin, Isai Gordeev and David Dale.
|
176 |
+
|
177 |
+
### Licensing Information
|
178 |
+
|
179 |
+
According to the note on the source website (https://www.e-mordovia.ru/podderzhka-portala/ob-ispolzovanii-informatsii-sayta/):
|
180 |
+
|
181 |
+
> All materials of the official website of the state authorities of the Republic of Mordovia can be reproduced in any media, on Internet servers or on any other media without any restrictions on the volume and timing of publication.
|
182 |
+
> This permission applies equally to newspapers, magazines, radio stations, TV channels, websites and Internet pages.
|
183 |
+
> The only condition for reprinting and retransmission is a link to the original source. No prior consent to reprint is required from the editorial board of the official website of the state authorities of the Republic of Mordovia.
|
184 |
+
|
185 |
+
Here is the original note in Russian:
|
186 |
+
|
187 |
+
> Все материалы официального сайта органов государственной власти Республики Мордовия могут быть воспроизведены в любых средствах массовой информации, на серверах сети Интернет или на любых иных носителях без каких-либо ограничений по объему и срокам публикации.
|
188 |
+
> Это разрешение в равной степени распространяется на газеты, журналы, радиостанции, телеканалы, сайты и страницы сети Интернет.
|
189 |
+
> Единственным условием перепечатки и ретрансляции является ссылка на первоисточник. Никакого предварительного согласия на перепечатку со стороны редакции официального сайта органов государственной власти Республики Мордовия не требуется.
|
190 |
+
|
191 |
+
In short, you can use and even redistribute the data, but when redistributing, you must give a reference to the original website, https://www.e-mordovia.ru.
|
192 |
+
|
193 |
+
Based on this note, we concluded that a CC-BY license would be appropritate for this dataset.
|
194 |
+
|
195 |
+
### Citation Information
|
196 |
+
|
197 |
+
[TBD]
|
198 |
+
|