598d2b54295bdb2b741b1bcf1f794eabbdf3200b,data/ted.py,,main,#,82
Before Change
target_unpacked_dir = os.path.join( target_dl_dir, "TEDLIUM_release2" )
if not os.path.exists( target_file ):
print("Downloading corpus...")
subprocess.call(["wget {} -P {}".format( TED_LIUM_V2_DL_URL, target_dl_dir )], shell=True)
if not os.path.exists( target_unpacked_dir ):
print("Unpacking courpus...")
os.makedirs( target_unpacked_dir )
subprocess.call(["tar zxvf {} -C {}".format( target_file, target_dl_dir )], shell = True)
After Change
if not os.path.exists(target_unpacked_dir):
print("Unpacking corpus...")
tar = tarfile.open(target_file)
tar.extractall(target_dl_dir)
tar.close()
else:
print("Found TEDLIUM directory, skipping unpacking of tar files")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: SeanNaren/deepspeech.pytorch
Commit Name: 598d2b54295bdb2b741b1bcf1f794eabbdf3200b
Time: 2017-04-23
Author: seannaren@hotmail.com
File Name: data/ted.py
Class Name:
Method Name: main
Project Name: chainer/chainercv
Commit Name: 93fde518ce45a1373c4b635c15e25312b2cc3a0f
Time: 2017-03-10
Author: yuyuniitani@gmail.com
File Name: chainercv/datasets/cub/cub_utils.py
Class Name:
Method Name: get_cub
Project Name: SeanNaren/deepspeech.pytorch
Commit Name: b939fb220086f1e3c70727902a69a25d3011948a
Time: 2017-04-24
Author: seannaren@hotmail.com
File Name: data/an4.py
Class Name:
Method Name: main