vi37/VoiceInterface.py
def listen(self, delay=None, show_all=False) -> Union[str, List[str]]:
        """
            This method listen to the user microphone and map the audio input to a corresponding text output
            :return: Text extracted from the user's record
            :raise:
                AudioToTextError:
                - When the speech is unintelligible.
                - When the speech recognition operation failed, if the key isn't valid
                - When there is no internet connection.
                - When the listener raise WaitTimeoutError while listening
        """

        audio = self._listen_audio(delay or self.time_limit)

        text = self._listen_parse(audio, show_all)

        return text

            This method listen to the user microphone and map the audio input to a corresponding text output
            :return: Text extracted from the user's record
            :raise:
                AudioToTextError:
                - When the speech is unintelligible.
                - When the speech recognition operation failed, if the key isn't valid
                - When there is no internet connection.
                - When the listener raise WaitTimeoutError while listening
        
This method listen to the user microphone and map the audio input to a corresponding text output
This method listen to the user microphone and map the audio input to a corresponding text output
def listen(self, delay=None, show_all=False) -> Union[str, List[str]]:
        audio = self._listen_audio(delay or self.time_limit)
        text = self._listen_parse(audio, show_all)
        return text
def listen ( self , delay = None , show_all = False ) -> Union [ str , List [ str ] ] : audio = self . _listen_audio ( delay or self . time_limit ) text = self . _listen_parse ( audio , show_all ) return text
This method listen to the user microphone and map the audio input to a corresponding text output
This method listen to the user microphone and map the audio input to a corresponding text output
"""
            This method listen to the user microphone and map the audio input to a corresponding text output
            :return: Text extracted from the user's record
            :raise:
                AudioToTextError:
                - When the speech is unintelligible.
                - When the speech recognition operation failed, if the key isn't valid
                - When there is no internet connection.
                - When the listener raise WaitTimeoutError while listening
        """
Text extracted from the user's record
Text extracted from the user ' s record
When the speech is unintelligible.
When the speech recognition operation failed, if the key isn't valid
When there is no internet connection.
When the listener raise WaitTimeoutError while listening
When the speech is unintelligible . When the speech recognition operation failed if the key isn ' t valid When there is no internet connection . When the listener raise WaitTimeoutError while listening
self
delay
show_all