906771bf319aa1c5c680638d566b352c63cf6ab2,data/utils.py,,create_manifest,#Any#Any#Any#,16
Before Change
)
return float(output)
file_paths.sort(key=func)
with io.FileIO(manifest_path, "w") as file:
for wav_path in file_paths:
transcript_path = wav_path.replace("/wav/", "/txt/").replace(".wav", ".txt")
sample = os.path.abspath(wav_path) + "," + os.path.abspath(transcript_path) + "\n"
After Change
file_paths = []
wav_files = [os.path.join(dirpath, f)
for dirpath, dirnames, files in os.walk(data_path)
for f in fnmatch.filter(files, "*.wav")]
size = len(wav_files)
counter = 0
for file_path in wav_files:
file_paths.append(file_path.strip())
counter += 1

In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: SeanNaren/deepspeech.pytorch
Commit Name: 906771bf319aa1c5c680638d566b352c63cf6ab2
Time: 2017-02-16
Author: seannaren@hotmail.com
File Name: data/utils.py
Class Name:
Method Name: create_manifest
Project Name: mlflow/mlflow
Commit Name: 8d4fffee617758e1c3fc9308b52528e72b568094
Time: 2019-11-16
Author: j.cuquemelle@criteo.com
File Name: mlflow/store/tracking/sqlalchemy_store.py
Class Name: SqlAlchemyStore
Method Name: _search_runs
Project Name: nilmtk/nilmtk
Commit Name: 0ac7cecce4f147011037fcb79dfd57867b8329a8
Time: 2014-12-19
Author: jack-list@xlk.org.uk
File Name: nilmtk/metergroup.py
Class Name: MeterGroup
Method Name: plot_good_sections
Project Name: nipy/dipy
Commit Name: 1515fa64e1c94bca111980ed71b0423b891c5189
Time: 2015-11-13
Author: garyfallidis@gmail.com
File Name: dipy/reconst/dsi.py
Class Name:
Method Name: create_qtable