278c7a91b77448236af73d6942da425a5d5a2e34,datasets/preprocess.py,,mozilla,#Any#Any#,44
Before Change
// "wavs_no_processing", cols[1].strip())
wav_file = os.path.join(folder, "wavs_no_processing",
cols[1].strip())
if os.path.isfile(wav_file):
text = cols[0].strip()
items.append([text, wav_file])
else:
print(" > Error: {}".format(wav_file))
continue
return items
def mailabs(root_path, meta_files):
After Change
with open(txt_file, "r") as ttf:
for line in ttf:
cols = line.split("|")
batch_no = int(cols[1].strip().split("_")[0])
wav_folder = "batch{}".format(batch_no)
wav_file = os.path.join(root_path, wav_folder, "wavs_no_processing", cols[1].strip())
text = cols[0].strip()
items.append([text, wav_file])
return items
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: mozilla/TTS
Commit Name: 278c7a91b77448236af73d6942da425a5d5a2e34
Time: 2019-04-28
Author: egolge@mozilla.com
File Name: datasets/preprocess.py
Class Name:
Method Name: mozilla
Project Name: biolab/orange3
Commit Name: 331f4cc7c7b81de8c618c1372ea822e15bda2c90
Time: 2019-11-08
Author: p.godec9@gmail.com
File Name: Orange/statistics/contingency.py
Class Name: Discrete
Method Name: from_data
Project Name: akkana/scripts
Commit Name: 9a88eac5a23150345337d62e83621316cf2d986f
Time: 2019-09-21
Author: akkana@shallowsky.com
File Name: censusdata.py
Class Name:
Method Name: codesFromZipFile