| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| # There could be multiple results in each response. | ||
| # The `results` list is consecutive. For streaming, we only care about | ||
| # the first result being considered, since once it's `is_final`, it | ||
| # moves on to considering the next utterance. |
There was a problem hiding this comment.
Does this mean that there is always only one result in each response of streaming_recognize?
Sorry, something went wrong.
There was a problem hiding this comment.
a) What're you doing doing a code review on a holiday?? tsk tsk
b) Mm... if interim_results is False, then yes - there will only be one result. But if interim_results is True, then there can be 0 or one is_final result, followed by 0 to many interim (is_final=False) results. I believe different results correspond to consecutive parts of the audio stream. See here
Sorry, something went wrong.
There was a problem hiding this comment.
I see - thanks for the clarification.
Sorry, something went wrong.
There was a problem hiding this comment.
Looks good to me 👍
Sorry, something went wrong.
| # There could be multiple results in each response. | ||
| # The `results` list is consecutive. For streaming, we only care about | ||
| # the first result being considered, since once it's `is_final`, it | ||
| # moves on to considering the next utterance. |
There was a problem hiding this comment.
I see - thanks for the clarification.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
No description provided.