Class WordInfo (2.8.3)

WordInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Word-specific information for recognized words. Word information is only included in the response when certain request parameters are set, such as enable_word_time_offsets.

Attributes

NameDescription
start_time google.protobuf.duration_pb2.Duration
Output only. Time offset relative to the beginning of the audio, and corresponding to the start of the spoken word. This field is only set if enable_word_time_offsets=true and only in the top hypothesis. This is an experimental feature and the accuracy of the time offset can vary.
end_time google.protobuf.duration_pb2.Duration
Output only. Time offset relative to the beginning of the audio, and corresponding to the end of the spoken word. This field is only set if enable_word_time_offsets=true and only in the top hypothesis. This is an experimental feature and the accuracy of the time offset can vary.
word str
Output only. The word corresponding to this set of information.