Update glosas_etiquetadas.py
Browse files- glosas_etiquetadas.py +1 -1
glosas_etiquetadas.py
CHANGED
@@ -31,7 +31,7 @@ class GlosasEtiquetadas(datasets.GeneratorBasedBuilder):
|
|
31 |
|
32 |
def _generate_examples(self, filepath, is_test, test_size = 0.3):
|
33 |
"""Generate Glosas Etiquetadas examples."""
|
34 |
-
with open(filepath, 'r', encoding='
|
35 |
train_threshold = 40001
|
36 |
csv_reader = csv.reader(
|
37 |
csv_file
|
|
|
31 |
|
32 |
def _generate_examples(self, filepath, is_test, test_size = 0.3):
|
33 |
"""Generate Glosas Etiquetadas examples."""
|
34 |
+
with open(filepath, 'r', encoding='latin-1') as csv_file:
|
35 |
train_threshold = 40001
|
36 |
csv_reader = csv.reader(
|
37 |
csv_file
|