SiddiqueAkhonda
commited on
Commit
•
422bc15
1
Parent(s):
6efaab1
Update msynth.py
Browse files
msynth.py
CHANGED
@@ -347,7 +347,8 @@ class msynth(datasets.GeneratorBasedBuilder):
|
|
347 |
tmp_dir = []
|
348 |
tmp_dir = self.get_all_file_paths(os.path.join(folder, DATA_DIR[name]))
|
349 |
data_dir = data_dir + tmp_dir
|
350 |
-
|
|
|
351 |
for path in data_dir:
|
352 |
res_dic = {}
|
353 |
for word in _DENSITY:
|
|
|
347 |
tmp_dir = []
|
348 |
tmp_dir = self.get_all_file_paths(os.path.join(folder, DATA_DIR[name]))
|
349 |
data_dir = data_dir + tmp_dir
|
350 |
+
|
351 |
+
data_dir = self.sort_file_paths(data_dir)
|
352 |
for path in data_dir:
|
353 |
res_dic = {}
|
354 |
for word in _DENSITY:
|