Update fdRE.py
Browse files
fdRE.py
CHANGED
@@ -92,7 +92,7 @@ class SemEval2010Task8(datasets.GeneratorBasedBuilder):
|
|
92 |
|
93 |
def _generate_examples(self, filepath):
|
94 |
"""Yields examples."""
|
95 |
-
with open(filepath, "r", encoding="
|
96 |
lines = file.readlines()
|
97 |
num_lines_per_sample = 4
|
98 |
|
|
|
92 |
|
93 |
def _generate_examples(self, filepath):
|
94 |
"""Yields examples."""
|
95 |
+
with open(filepath, "r", encoding="utf-8") as file:
|
96 |
lines = file.readlines()
|
97 |
num_lines_per_sample = 4
|
98 |
|