blob: 91c1a76a00a6cc34575fc8849d4a8c76676f13f6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
class TTS(object):
'''TextToSpeech facade.
'''
def speak(self, message=''):
'''Use text to speech capabilities to speak the message.
:param message: What to speak
:type message: str
'''
self._speak(message=message)
# private
def _speak(self, **kwargs):
raise NotImplementedError()
|