Datasets:

Languages:
Spanish
License:
Blanca commited on
Commit
b76556c
1 Parent(s): a69af83

Update UD_Spanish-AnCora.py

Browse files
Files changed (1) hide show
  1. UD_Spanish-AnCora.py +7 -7
UD_Spanish-AnCora.py CHANGED
@@ -21,18 +21,18 @@ Universal Dependencies is a project that seeks to develop cross-linguistically c
21
  """
22
 
23
  _NAMES = [
24
- "ca_ancora",
25
  ]
26
 
27
  _DESCRIPTIONS = {
28
- "ca_ancora": "Catalan data from the AnCora corpus.",
29
  }
30
  _PREFIX = "./"
31
  _UD_DATASETS = {
32
- "ca_ancora": {
33
- "train": "ca_ancora-ud-train.conllu",
34
- "dev": "ca_ancora-ud-dev.conllu",
35
- "test": "ca_ancora-ud-test.conllu",
36
  },
37
  }
38
 
@@ -107,7 +107,7 @@ class UniversalDependencies(datasets.GeneratorBasedBuilder):
107
  def _split_generators(self, dl_manager):
108
  """Returns SplitGenerators."""
109
  urls_to_download = {}
110
- for split, address in _UD_DATASETS["ca_ancora"].items():
111
  urls_to_download[split] = []
112
  if isinstance(address, list):
113
  for add in address:
 
21
  """
22
 
23
  _NAMES = [
24
+ "es_ancora",
25
  ]
26
 
27
  _DESCRIPTIONS = {
28
+ "es_ancora": "Spanish data from the AnCora corpus.",
29
  }
30
  _PREFIX = "./"
31
  _UD_DATASETS = {
32
+ "es_ancora": {
33
+ "train": "es_ancora-ud-train.conllu",
34
+ "dev": "es_ancora-ud-dev.conllu",
35
+ "test": "es_ancora-ud-test.conllu",
36
  },
37
  }
38
 
 
107
  def _split_generators(self, dl_manager):
108
  """Returns SplitGenerators."""
109
  urls_to_download = {}
110
+ for split, address in _UD_DATASETS["es_ancora"].items():
111
  urls_to_download[split] = []
112
  if isinstance(address, list):
113
  for add in address: