We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
min_text
1 parent 960fa53 commit fb288bbCopy full SHA for fb288bb
ljspeech.py
@@ -29,6 +29,8 @@ def build_from_path(in_dir, out_dir, num_workers=1, tqdm=lambda x: x):
29
parts = line.strip().split('|')
30
wav_path = os.path.join(in_dir, 'wavs', '%s.wav' % parts[0])
31
text = parts[2]
32
+ if len(text) < hparams.min_text:
33
+ continue
34
futures.append(executor.submit(
35
partial(_process_utterance, out_dir, index, wav_path, text)))
36
index += 1
0 commit comments