Review record RC-028 (Go, autonomous mode, not independent). Task: MIL-006#1 Task: MIL-006#2 Task: MIL-006#3 Task: MIL-006#4 Task: MIL-006#5
19 lines
405 B
Python
19 lines
405 B
Python
"""Silent speech adapter.
|
|
|
|
@file null_speech.py
|
|
@brief NullSpeech, the SpeechPort used when speech is off or unavailable.
|
|
"""
|
|
|
|
|
|
class NullSpeech:
|
|
"""Speaks nothing."""
|
|
|
|
def speak(self, text: str, language_code: str) -> None:
|
|
"""Do nothing.
|
|
|
|
@param text The text, ignored.
|
|
@param language_code The language, ignored.
|
|
@return Nothing.
|
|
"""
|
|
return None
|