def main():
    args = get_preprocess_args()
    if ('librilight' in args.input_path.lower()):
        SETS = ['small', 'medium', 'large']
    elif ('librispeech' in args.input_path.lower()):
        SETS = ['train-clean-100', 'train-clean-360', 'train-other-500', 'dev-clean', 'dev-other', 'test-clean', 'test-other']
    elif ('timit' in args.input_path.lower()):
        SETS = ['TRAIN', 'TEST']
    else:
        raise NotImplementedError
    for (idx, s) in enumerate(SETS):
        print('\t', idx, ':', s)
    tr_set = input('Please enter the index of splits you wish to use preprocess. (seperate with space): ')
    tr_set = [SETS[int(t)] for t in tr_set.split(' ')]
    generate_splits(args, tr_set, args.audio_extension)
def main():
    args = get_preprocess_args()
    if ('librilight' in args.input_path.lower()):
        SETS = ['small', 'medium', 'large']
    elif ('librispeech' in args.input_path.lower()):
        SETS = ['train-clean-100', 'train-clean-360', 'train-other-500', 'dev-clean', 'dev-other', 'test-clean', 'test-other']
    elif ('timit' in args.input_path.lower()):
        SETS = ['TRAIN', 'TEST']
    else:
        raise NotImplementedError
    for (idx, s) in enumerate(SETS):
        print('\t', idx, ':', s)
    tr_set = input('Please enter the index of splits you wish to use preprocess. (seperate with space): ')
    tr_set = [SETS[int(t)] for t in tr_set.split(' ')]
    generate_splits(args, tr_set, args.audio_extension)