New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi-utterance extension of speech_recognizer.recognize_once() API #397
Comments
Thanks for the information, the sample code seems to work fine with multiple utterances. However in this continuous recognition mode, I can't seem to delete the audio file immediately after the recognition is complete. Is there something I have to do in order to close the audio file used for recognition? |
I have tried deleting both |
Hi @larschristensen, could you share the code that shows the problem you are having? Also, could you check the discussion in #352 to see whether it might be related? Thanks! |
@chlandsi Thanks for the input. The issue identified in #352 indeed seems to be the same as I'm having: If I do |
@larschristensen Good to know that this is the underlying issue. You should then also be able to solve the problem by calling I'll proceed to close the issue, please reopen if you continue to have problems. Thanks! |
I'm using the speech_recognizer.recognize_once() method for synchronous/blocking transcription of audio files. However, this method only does recognition of a single utterance, but the files I wish to transcribe can contain multiple utterances.
What is the recommended approach for synchronous/blocking multi-utterance transcription of audio files? Would it be possible to extend the speech_recognizer.recognize_once() API to also accept multi-utterance audio files?
The text was updated successfully, but these errors were encountered: