public sealed class WordInfo : IMessage<WordInfo>, IEquatable<WordInfo>, IDeepCloneable<WordInfo>, IBufferMessage, IMessage
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.
Output only. The confidence estimate between 0.0 and 1.0. A higher number
indicates an estimated greater likelihood that the recognized words are
correct. This field is set only for the top alternative.
This field is not guaranteed to be accurate and users should not rely on it
to be always provided.
The default of 0.0 is a sentinel value indicating confidence was not set.
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.
Output only. A distinct integer value is assigned for every speaker within
the audio. This field specifies which one of those speakers was detected to
have spoken this word. Value ranges from 1 up to diarization_speaker_count,
and is only set if speaker diarization is enabled.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eWordInfo\u003c/code\u003e class provides detailed information about recognized words in audio, including time offsets and speaker identification, when specific request parameters are set.\u003c/p\u003e\n"],["\u003cp\u003eThis class includes properties such as \u003ccode\u003eConfidence\u003c/code\u003e, \u003ccode\u003eEndTime\u003c/code\u003e, \u003ccode\u003eSpeakerTag\u003c/code\u003e, \u003ccode\u003eStartTime\u003c/code\u003e, and \u003ccode\u003eWord\u003c/code\u003e, each providing specific details about the recognized word.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eWordInfo\u003c/code\u003e is \u003ccode\u003e3.4.0\u003c/code\u003e, but this page focuses on version \u003ccode\u003e2.3.0\u003c/code\u003e of the class, and earlier versions are also available, from \u003ccode\u003e3.3.0\u003c/code\u003e to \u003ccode\u003e2.2.0\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eWordInfo\u003c/code\u003e inherits from \u003ccode\u003eObject\u003c/code\u003e and implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, to ensure the proper functionalities.\u003c/p\u003e\n"],["\u003cp\u003eConstructors are available for creating new instances of \u003ccode\u003eWordInfo\u003c/code\u003e, including a default constructor and a constructor that accepts another \u003ccode\u003eWordInfo\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]