I am using below configuration to identify my voice input stream (Hindi language) :
Have you confirmed whether changing the set_interim_results() property to `false` changes the output result? Based on the documentation, using false as the argument will only return results with is_final=true.
Thanks for your response.
I do not get any results if I change set_interim_results() property to false.
I did get some interim results when the property was set to true and
hlpr_start_stream() ----> !!!!!!!!!!!!!! Vaibhav :: single_utternace : ======== : 0
2022-10-11 09:24:15:824114 [INFO] hlpr_start_stream() --> printing results : 0.900000
2022-10-11 09:24:15:824126 [INFO] hlpr_start_stream() ---> !!!!!!!!!!!!!! inside 2nd if -------------------------------------
2022-10-11 09:24:15:824132 [INFO] ########## hlpr_start_stream() printing interim results transcript #####: इस
2022-10-11 09:24:15:824139 [INFO] hlpr_start_stream() -----Vaibhav :: time_since_epoch() = 0
2022-10-11 09:24:18:257357 [INFO] hlpr_start_stream() ----> !!!!!!!!!!!!!! Vaibhav :: single_utternace : ======== : 1
My application keeps on waiting for response till I close the stream.
As your application remains waiting until you close the stream, have you verified that the final result of the transcription is not merely taking additional time? As an example, this issue shows similar behavior involving not receiving the final transcription quickly, depending on the language. Are you experiencing the same behavior even when using a different language?
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |