public interface SpeechWordInfoOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
float |
getConfidence()
The Speech confidence between 0.0 and 1.0 for this word.
|
Duration |
getEndOffset()
Time offset relative to the beginning of the audio that corresponds to the
end of the spoken word.
|
DurationOrBuilder |
getEndOffsetOrBuilder()
Time offset relative to the beginning of the audio that corresponds to the
end of the spoken word.
|
Duration |
getStartOffset()
Time offset relative to the beginning of the audio that corresponds to the
start of the spoken word.
|
DurationOrBuilder |
getStartOffsetOrBuilder()
Time offset relative to the beginning of the audio that corresponds to the
start of the spoken word.
|
String |
getWord()
The word this info is for.
|
ByteString |
getWordBytes()
The word this info is for.
|
boolean |
hasEndOffset()
Time offset relative to the beginning of the audio that corresponds to the
end of the spoken word.
|
boolean |
hasStartOffset()
Time offset relative to the beginning of the audio that corresponds to the
start of the spoken word.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getWord()
The word this info is for.
string word = 3;
ByteString getWordBytes()
The word this info is for.
string word = 3;
boolean hasStartOffset()
Time offset relative to the beginning of the audio that corresponds to the start of the spoken word. This is an experimental feature and the accuracy of the time offset can vary.
.google.protobuf.Duration start_offset = 1;
Duration getStartOffset()
Time offset relative to the beginning of the audio that corresponds to the start of the spoken word. This is an experimental feature and the accuracy of the time offset can vary.
.google.protobuf.Duration start_offset = 1;
DurationOrBuilder getStartOffsetOrBuilder()
Time offset relative to the beginning of the audio that corresponds to the start of the spoken word. This is an experimental feature and the accuracy of the time offset can vary.
.google.protobuf.Duration start_offset = 1;
boolean hasEndOffset()
Time offset relative to the beginning of the audio that corresponds to the end of the spoken word. This is an experimental feature and the accuracy of the time offset can vary.
.google.protobuf.Duration end_offset = 2;
Duration getEndOffset()
Time offset relative to the beginning of the audio that corresponds to the end of the spoken word. This is an experimental feature and the accuracy of the time offset can vary.
.google.protobuf.Duration end_offset = 2;
DurationOrBuilder getEndOffsetOrBuilder()
Time offset relative to the beginning of the audio that corresponds to the end of the spoken word. This is an experimental feature and the accuracy of the time offset can vary.
.google.protobuf.Duration end_offset = 2;
float getConfidence()
The Speech confidence between 0.0 and 1.0 for this word. A higher number indicates an estimated greater likelihood that the recognized word is correct. The default of 0.0 is a sentinel value indicating that confidence was not set. This field is not guaranteed to be fully stable over time for the same audio input. Users should also not rely on it to always be provided.
float confidence = 4;
Copyright © 2022 Google LLC. All rights reserved.