Files changed (3) hide show
  1. README.md +111 -111
  2. dataset_infos.json +0 -0
  3. universal_morphologies.py +14 -14
README.md CHANGED
@@ -132,6 +132,117 @@ task_ids:
132
  - multi-label-classification
133
  paperswithcode_id: null
134
  pretty_name: UniversalMorphologies
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
135
  tags:
136
  - morphology
137
  dataset_info:
@@ -47574,117 +47685,6 @@ dataset_info:
47574
  num_examples: 566
47575
  download_size: 1581402
47576
  dataset_size: 7152507
47577
- config_names:
47578
- - ady
47579
- - ang
47580
- - ara
47581
- - arn
47582
- - ast
47583
- - aze
47584
- - bak
47585
- - bel
47586
- - ben
47587
- - bod
47588
- - bre
47589
- - bul
47590
- - cat
47591
- - ces
47592
- - chu
47593
- - ckb
47594
- - cor
47595
- - crh
47596
- - csb
47597
- - cym
47598
- - dan
47599
- - deu
47600
- - dsb
47601
- - ell
47602
- - eng
47603
- - est
47604
- - eus
47605
- - fao
47606
- - fas
47607
- - fin
47608
- - fra
47609
- - frm
47610
- - fro
47611
- - frr
47612
- - fry
47613
- - fur
47614
- - gal
47615
- - gla
47616
- - gle
47617
- - glv
47618
- - gmh
47619
- - gml
47620
- - got
47621
- - grc
47622
- - hai
47623
- - hbs
47624
- - heb
47625
- - hin
47626
- - hun
47627
- - hye
47628
- - isl
47629
- - ita
47630
- - izh
47631
- - kal
47632
- - kan
47633
- - kat
47634
- - kaz
47635
- - kbd
47636
- - kjh
47637
- - klr
47638
- - kmr
47639
- - krl
47640
- - lat
47641
- - lav
47642
- - lit
47643
- - liv
47644
- - lld
47645
- - lud
47646
- - mkd
47647
- - mlt
47648
- - mwf
47649
- - nap
47650
- - nav
47651
- - nds
47652
- - nld
47653
- - nno
47654
- - nob
47655
- - oci
47656
- - olo
47657
- - osx
47658
- - pol
47659
- - por
47660
- - pus
47661
- - que
47662
- - ron
47663
- - rus
47664
- - san
47665
- - sga
47666
- - slv
47667
- - sme
47668
- - spa
47669
- - sqi
47670
- - swc
47671
- - swe
47672
- - syc
47673
- - tat
47674
- - tel
47675
- - tgk
47676
- - tuk
47677
- - tur
47678
- - ukr
47679
- - urd
47680
- - uzb
47681
- - vec
47682
- - vep
47683
- - vot
47684
- - xcl
47685
- - xno
47686
- - yid
47687
- - zul
47688
  ---
47689
 
47690
  # Dataset Card for [Dataset Name]
 
132
  - multi-label-classification
133
  paperswithcode_id: null
134
  pretty_name: UniversalMorphologies
135
+ configs:
136
+ - ady
137
+ - ang
138
+ - ara
139
+ - arn
140
+ - ast
141
+ - aze
142
+ - bak
143
+ - bel
144
+ - ben
145
+ - bod
146
+ - bre
147
+ - bul
148
+ - cat
149
+ - ces
150
+ - chu
151
+ - ckb
152
+ - cor
153
+ - crh
154
+ - csb
155
+ - cym
156
+ - dan
157
+ - deu
158
+ - dsb
159
+ - ell
160
+ - eng
161
+ - est
162
+ - eus
163
+ - fao
164
+ - fas
165
+ - fin
166
+ - fra
167
+ - frm
168
+ - fro
169
+ - frr
170
+ - fry
171
+ - fur
172
+ - gal
173
+ - gla
174
+ - gle
175
+ - glv
176
+ - gmh
177
+ - gml
178
+ - got
179
+ - grc
180
+ - hai
181
+ - hbs
182
+ - heb
183
+ - hin
184
+ - hun
185
+ - hye
186
+ - isl
187
+ - ita
188
+ - izh
189
+ - kal
190
+ - kan
191
+ - kat
192
+ - kaz
193
+ - kbd
194
+ - kjh
195
+ - klr
196
+ - kmr
197
+ - krl
198
+ - lat
199
+ - lav
200
+ - lit
201
+ - liv
202
+ - lld
203
+ - lud
204
+ - mkd
205
+ - mlt
206
+ - mwf
207
+ - nap
208
+ - nav
209
+ - nds
210
+ - nld
211
+ - nno
212
+ - nob
213
+ - oci
214
+ - olo
215
+ - osx
216
+ - pol
217
+ - por
218
+ - pus
219
+ - que
220
+ - ron
221
+ - rus
222
+ - san
223
+ - sga
224
+ - slv
225
+ - sme
226
+ - spa
227
+ - sqi
228
+ - swc
229
+ - swe
230
+ - syc
231
+ - tat
232
+ - tel
233
+ - tgk
234
+ - tuk
235
+ - tur
236
+ - ukr
237
+ - urd
238
+ - uzb
239
+ - vec
240
+ - vep
241
+ - vot
242
+ - xcl
243
+ - xno
244
+ - yid
245
+ - zul
246
  tags:
247
  - morphology
248
  dataset_info:
 
47685
  num_examples: 566
47686
  download_size: 1581402
47687
  dataset_size: 7152507
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47688
  ---
47689
 
47690
  # Dataset Card for [Dataset Name]
dataset_infos.json ADDED
The diff for this file is too large to render. See raw diff
 
universal_morphologies.py CHANGED
@@ -145,19 +145,19 @@ _URLs = {
145
  "urd": "https://raw.githubusercontent.com/unimorph/urd/master/urd",
146
  "cym": "https://raw.githubusercontent.com/unimorph/cym/master/cym",
147
  "yid": "https://raw.githubusercontent.com/unimorph/yid/master/yid",
148
- "lud|mikhailovskoye": "https://raw.githubusercontent.com/unimorph/lud/e23186327c595be1c6e7f1a761a76f21106c1621/lud-mikhailovskoye-dialect.txt",
149
- "lud|new_written": "https://raw.githubusercontent.com/unimorph/lud/e23186327c595be1c6e7f1a761a76f21106c1621/lud-new-written-ludian-dialect.txt",
150
- "lud|southern_ludian_svjatozero": "https://raw.githubusercontent.com/unimorph/lud/e23186327c595be1c6e7f1a761a76f21106c1621/lud-southern-ludian-svjatozero-dialect.txt",
151
- "olo|kotkozero": "https://raw.githubusercontent.com/unimorph/olo/2e0798b40dd1e40770c39e4a5791b8dfd4a2c6ef/olo-kotkozero-dialect.txt",
152
- "olo|new_written": "https://raw.githubusercontent.com/unimorph/olo/2e0798b40dd1e40770c39e4a5791b8dfd4a2c6ef/olo-new-written-livvic-dialect.txt",
153
- "olo|syamozero": "https://raw.githubusercontent.com/unimorph/olo/2e0798b40dd1e40770c39e4a5791b8dfd4a2c6ef/olo-syamozero-dialect.txt",
154
- "olo|vedlozero": "https://raw.githubusercontent.com/unimorph/olo/2e0798b40dd1e40770c39e4a5791b8dfd4a2c6ef/olo-vedlozero-dialect.txt",
155
- "olo|vidlitsa": "https://raw.githubusercontent.com/unimorph/olo/2e0798b40dd1e40770c39e4a5791b8dfd4a2c6ef/olo-vidlitsa-dialect.txt",
156
- "vep|central_eastern": "https://raw.githubusercontent.com/unimorph/vep/7f9b0934b8831793929e219baa7d6f0cbc06e32f/vep-central-eastern-veps.txt",
157
- "vep|central_western": "https://raw.githubusercontent.com/unimorph/vep/7f9b0934b8831793929e219baa7d6f0cbc06e32f/vep-central-western-veps.txt",
158
- "vep|new_written": "https://raw.githubusercontent.com/unimorph/vep/7f9b0934b8831793929e219baa7d6f0cbc06e32f/vep-new-written-veps.txt",
159
- "vep|northern": "https://raw.githubusercontent.com/unimorph/vep/7f9b0934b8831793929e219baa7d6f0cbc06e32f/vep-northern-veps.txt",
160
- "vep|southern": "https://raw.githubusercontent.com/unimorph/vep/7f9b0934b8831793929e219baa7d6f0cbc06e32f/vep-southern-veps.txt",
161
  }
162
 
163
  _LANGUAGES = sorted(set([ln.split("|")[0] for ln in _URLs]))
@@ -449,7 +449,7 @@ class UniversalMorphologies(datasets.GeneratorBasedBuilder):
449
  def _split_generators(self, dl_manager):
450
  """Returns SplitGenerators."""
451
  config_urls = dict([(ln, f_url) for ln, f_url in _URLs.items() if ln.split("|")[0] == self.config.name])
452
- data_dir = dl_manager.download(config_urls)
453
  if self.config.name in _SPLITS:
454
  return [
455
  datasets.SplitGenerator(
 
145
  "urd": "https://raw.githubusercontent.com/unimorph/urd/master/urd",
146
  "cym": "https://raw.githubusercontent.com/unimorph/cym/master/cym",
147
  "yid": "https://raw.githubusercontent.com/unimorph/yid/master/yid",
148
+ "lud|mikhailovskoye": "https://raw.githubusercontent.com/unimorph/lud/master/lud-mikhailovskoye-dialect.txt",
149
+ "lud|new_written": "https://raw.githubusercontent.com/unimorph/lud/master/lud-new-written-ludian-dialect.txt",
150
+ "lud|southern_ludian_svjatozero": "https://raw.githubusercontent.com/unimorph/lud/master/lud-southern-ludian-svjatozero-dialect.txt",
151
+ "olo|kotkozero": "https://raw.githubusercontent.com/unimorph/olo/master/olo-kotkozero-dialect.txt",
152
+ "olo|new_written": "https://raw.githubusercontent.com/unimorph/olo/master/olo-new-written-livvic-dialect.txt",
153
+ "olo|syamozero": "https://raw.githubusercontent.com/unimorph/olo/master/olo-syamozero-dialect.txt",
154
+ "olo|vedlozero": "https://raw.githubusercontent.com/unimorph/olo/master/olo-vedlozero-dialect.txt",
155
+ "olo|vidlitsa": "https://raw.githubusercontent.com/unimorph/olo/master/olo-vidlitsa-dialect.txt",
156
+ "vep|central_eastern": "https://raw.githubusercontent.com/unimorph/vep/master/vep-central-eastern-veps.txt",
157
+ "vep|central_western": "https://raw.githubusercontent.com/unimorph/vep/master/vep-central-western-veps.txt",
158
+ "vep|new_written": "https://raw.githubusercontent.com/unimorph/vep/master/vep-new-written-veps.txt",
159
+ "vep|northern": "https://raw.githubusercontent.com/unimorph/vep/master/vep-northern-veps.txt",
160
+ "vep|southern": "https://raw.githubusercontent.com/unimorph/vep/master/vep-southern-veps.txt",
161
  }
162
 
163
  _LANGUAGES = sorted(set([ln.split("|")[0] for ln in _URLs]))
 
449
  def _split_generators(self, dl_manager):
450
  """Returns SplitGenerators."""
451
  config_urls = dict([(ln, f_url) for ln, f_url in _URLs.items() if ln.split("|")[0] == self.config.name])
452
+ data_dir = dl_manager.download_and_extract(config_urls)
453
  if self.config.name in _SPLITS:
454
  return [
455
  datasets.SplitGenerator(