def __init__(self, cfg): super(SpeechtechTTS, self).__init__(cfg) self.preprocessing = TTSPreprocessing( self.cfg, self.cfg['TTS']['SpeechTech']['preprocessing'])
def __init__(self, cfg): super(FliteTTS, self).__init__(cfg) self.preprocessing = TTSPreprocessing( self.cfg, self.cfg['TTS']['Flite']['preprocessing'])
def __init__(self, cfg): """Intitialize: just remember the configuration.""" self.cfg = cfg super(VoiceRssTTS, self).__init__(cfg) self.preprocessing = TTSPreprocessing(self.cfg, self.cfg['TTS']['VoiceRss']['preprocessing'])