StreamingRecognitionResult
A streaming speech recognition result corresponding to a portion of the audio that is currently being processed.
Fields
#alternatives
#channel_tag
alternatives[] |
May contain one or more recognition hypotheses (up to the maximum specified in max_alternatives). These alternatives are ordered in terms of accuracy, with the top (first) alternative being the most probable, as ranked by the recognizer. |
is_final |
bool If false, this StreamingRecognitionResult represents an interim result that may change. If true, this is the final time the speech service will return this particular StreamingRecognitionResult, the recognizer will not return any further hypotheses for this portion of the transcript and corresponding audio. |
stability |
float An estimate of the likelihood that the recognizer will not change its guess about this interim result. Values range from 0.0 (completely unstable) to 1.0 (completely stable). This field is only provided for interim results (is_final=false). The default of 0.0 is a sentinel value indicating stability was not set. |
result_end_time |
Time offset of the end of this result relative to the beginning of the audio. |
channel_tag |
int32 For multi-channel audio, this is the channel number corresponding to the recognized result for the audio from that channel. For audio_channel_count = N, its output values can range from '1' to 'N'. |
'프로그래밍 > Python' 카테고리의 다른 글
python, pandas, numpy, Matplotlib (0) | 2020.11.27 |
---|---|
[python] pandas 설치 후 import 했는데 오류날때 (0) | 2020.11.26 |
[python] Package google.cloud.speech.v1 (0) | 2020.11.13 |
[python] 현재 시간, 일시 (0) | 2020.11.13 |
[google cloud] 여러 채널로 오디오 스크립트 작성 - transcribe_multichannel.py (0) | 2020.11.13 |