diff --git a/sources/text_to_speech.py b/sources/text_to_speech.py index 310bfee..993ce28 100644 --- a/sources/text_to_speech.py +++ b/sources/text_to_speech.py @@ -114,7 +114,7 @@ class Speech(): def shorten_paragraph(self, sentence): #TODO find a better way, we would like to have the TTS not be annoying, speak only useful informations """ - Find long paragraph like **explaination**: by keeping only the first sentence. + Find long paragraph like **explanation**: by keeping only the first sentence. Args: sentence (str): The sentence to shorten Returns: @@ -186,4 +186,4 @@ if __name__ == "__main__": spk = Speech(enable=True, language="en", voice_idx=2) for i in range(0, 5): print(f"Speaking english with voice {i}") - spk.speak(tosay_en, voice_idx=i) \ No newline at end of file + spk.speak(tosay_en, voice_idx=i)