8313fc48f53c75cbd9d344ef4836dd7783ab8cb4,data/ted.py,,,#,11

Before Change


parser = argparse.ArgumentParser(description="Processes and downloads TED-LIUMv2 dataset.")
parser.add_argument("--target-dir", default="TEDLIUM_dataset/", type=str, help="Directory to store the dataset.")
parser.add_argument("--tar-path", type=str, help="Path to the TEDLIUM_release tar if downloaded (Optional).")
parser.add_argument("--sample-rate", default=16000, type=int, help="Sample rate")
parser.add_argument("--min-duration", default=1, type=int,
                    help="Prunes training samples shorter than the min duration (given in seconds, default 1)")
parser.add_argument("--max-duration", default=15, type=int,
                    help="Prunes training samples longer than the max duration (given in seconds, default 15)")
args = parser.parse_args()

TED_LIUM_V2_DL_URL = "http://www.openslr.org/resources/19/TEDLIUM_release2.tar.gz"

After Change


from deepspeech_pytorch.data.utils import create_manifest

parser = argparse.ArgumentParser(description="Processes and downloads TED-LIUMv2 dataset.")
parser = add_data_opts(parser)
parser.add_argument("--target-dir", default="TEDLIUM_dataset/", type=str, help="Directory to store the dataset.")
parser.add_argument("--tar-path", type=str, help="Path to the TEDLIUM_release tar if downloaded (Optional).")
args = parser.parse_args()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 14

Instances


Project Name: SeanNaren/deepspeech.pytorch
Commit Name: 8313fc48f53c75cbd9d344ef4836dd7783ab8cb4
Time: 2020-06-29
Author: sean.narenthiran@digitalreasoning.com
File Name: data/ted.py
Class Name:
Method Name:


Project Name: SeanNaren/deepspeech.pytorch
Commit Name: 8313fc48f53c75cbd9d344ef4836dd7783ab8cb4
Time: 2020-06-29
Author: sean.narenthiran@digitalreasoning.com
File Name: data/common_voice.py
Class Name:
Method Name:


Project Name: SeanNaren/deepspeech.pytorch
Commit Name: 8313fc48f53c75cbd9d344ef4836dd7783ab8cb4
Time: 2020-06-29
Author: sean.narenthiran@digitalreasoning.com
File Name: data/librispeech.py
Class Name:
Method Name:


Project Name: SeanNaren/deepspeech.pytorch
Commit Name: 8313fc48f53c75cbd9d344ef4836dd7783ab8cb4
Time: 2020-06-29
Author: sean.narenthiran@digitalreasoning.com
File Name: data/voxforge.py
Class Name:
Method Name: