    def transcribe_audiofile(self, audio_path: str, lower=True) -> str:
        """
        Transcribe the audio into string

        Args:
            audio_path: the input audio waveform
            lower: the case of the transcriptions with lowercase as the default

        Returns:
            hypo: the transcription result
        """

        asr_input = self.load_audiofile(audio_path)
        emissions = self.compute_emissions(asr_input)
        hypo = self.decode_emissions(emissions)

        return hypo.strip().lower() if lower else hypo.strip()
Transcribe the audio into string

Args:
audio_path: the input audio waveform
lower: the case of the transcriptions with lowercase as the default

Returns:
hypo: the transcription result
examples/speech_to_speech/asr_bleu/utils.py