浏览代码

remove TTSLaucher class

nico 8 年之前
父节点
当前提交
08503d2828
共有 1 个文件被更改,包括 0 次插入27 次删除
  1. 0 27
      kalliope/core/TTS/TTSLauncher.py

+ 0 - 27
kalliope/core/TTS/TTSLauncher.py

@@ -1,27 +0,0 @@
-import logging
-
-from kalliope.core import Utils
-
-logging.basicConfig()
-logger = logging.getLogger("kalliope")
-
-
-class TTSLauncher(object):
-    def __init__(self):
-        pass
-
-    @classmethod
-    def get_tts(cls, tts):
-        """
-        Return an instance of a TTS module from the name of this module
-        :param tts: TTS model
-        :type tts: Tts
-        :return: TTS module instance
-
-        .. seealso::  TTS
-        .. warnings:: Class Method and Public
-        """
-        logger.debug("get TTS module \"%s\" with parameters %s" % (tts.name, tts.parameters))
-        return Utils.get_dynamic_class_instantiation(package_name="tts",
-                                                     module_name=tts.name,
-                                                     parameters=tts.parameters)