Datasets:
Update files from the datasets library (from 1.6.1)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.6.1
- senti_lex.py +1 -1
senti_lex.py
CHANGED
@@ -197,7 +197,7 @@ class SentiLex(datasets.GeneratorBasedBuilder):
|
|
197 |
]
|
198 |
|
199 |
def _generate_examples(self, data_dir):
|
200 |
-
"""
|
201 |
|
202 |
filepaths = [
|
203 |
os.path.join(data_dir, "sentiment-lexicons", "negative_words_" + self.config.name + ".txt"),
|
|
|
197 |
]
|
198 |
|
199 |
def _generate_examples(self, data_dir):
|
200 |
+
"""Yields examples."""
|
201 |
|
202 |
filepaths = [
|
203 |
os.path.join(data_dir, "sentiment-lexicons", "negative_words_" + self.config.name + ".txt"),
|