Datasets:
Tasks:
Translation
Multilinguality:
translation
Size Categories:
n<1K
Language Creators:
expert-generated
Annotations Creators:
expert-generated
Source Datasets:
original
Tags:
License:
Update files from the datasets library (from 1.10.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.10.0
ncslgr.py
CHANGED
@@ -19,8 +19,6 @@ import os
|
|
19 |
import re
|
20 |
from dataclasses import dataclass
|
21 |
|
22 |
-
from tqdm import tqdm
|
23 |
-
|
24 |
import datasets
|
25 |
|
26 |
|
@@ -128,7 +126,7 @@ class NCSLGR(datasets.GeneratorBasedBuilder):
|
|
128 |
def _generate_examples(self, eaf_path: str, videos_path: str):
|
129 |
"""Yields examples."""
|
130 |
|
131 |
-
for i, eaf_file in enumerate(
|
132 |
eaf_file_path = os.path.join(eaf_path, eaf_file)
|
133 |
videos = []
|
134 |
with open(eaf_file_path, "r", encoding="utf-8") as f:
|
19 |
import re
|
20 |
from dataclasses import dataclass
|
21 |
|
|
|
|
|
22 |
import datasets
|
23 |
|
24 |
|
126 |
def _generate_examples(self, eaf_path: str, videos_path: str):
|
127 |
"""Yields examples."""
|
128 |
|
129 |
+
for i, eaf_file in enumerate(os.listdir(eaf_path)):
|
130 |
eaf_file_path = os.path.join(eaf_path, eaf_file)
|
131 |
videos = []
|
132 |
with open(eaf_file_path, "r", encoding="utf-8") as f:
|