From 7ba74f175fba5e27d4b5a2c86bd2cc439a1f58ed Mon Sep 17 00:00:00 2001 From: "david.95" Date: Wed, 10 Aug 2022 10:35:16 +0800 Subject: [PATCH] remove comment --- paddlespeech/t2s/frontend/phonectic.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/paddlespeech/t2s/frontend/phonectic.py b/paddlespeech/t2s/frontend/phonectic.py index a9d04f3e..b55c5b5c 100644 --- a/paddlespeech/t2s/frontend/phonectic.py +++ b/paddlespeech/t2s/frontend/phonectic.py @@ -99,8 +99,6 @@ class English(Phonetics): if (phn in self.vocab_phones and phn not in self.punc) else "sp" for phn in phones ] - # when sentences have double punctuations in the end, like "!\"",or "?\"", will get null list like [] - # add a condition to filter it if len(phones) != 0: # replace unk phone with sp phones_list.append(phones) -- GitLab