tacotron cleaners: remove quotation marks

these don't really have relevance for tts or asr
This commit is contained in:
James Betker 2021-08-11 16:18:44 -06:00
parent 20586a8edc
commit f5a9b88ef6
2 changed files with 2 additions and 1 deletions

View File

@ -87,4 +87,5 @@ def english_cleaners(text):
text = expand_numbers(text) text = expand_numbers(text)
text = expand_abbreviations(text) text = expand_abbreviations(text)
text = collapse_whitespace(text) text = collapse_whitespace(text)
text = text.replace('"', '')
return text return text

View File

@ -282,7 +282,7 @@ class Trainer:
if __name__ == '__main__': if __name__ == '__main__':
parser = argparse.ArgumentParser() parser = argparse.ArgumentParser()
parser.add_argument('-opt', type=str, help='Path to option YAML file.', default='../options/train_gpt_tts_lj.yml') parser.add_argument('-opt', type=str, help='Path to option YAML file.', default='../options/train_lrdvae_audio_mozcv.yml')
parser.add_argument('--launcher', choices=['none', 'pytorch'], default='none', help='job launcher') parser.add_argument('--launcher', choices=['none', 'pytorch'], default='none', help='job launcher')
parser.add_argument('--local_rank', type=int, default=0) parser.add_argument('--local_rank', type=int, default=0)
args = parser.parse_args() args = parser.parse_args()