Reference documentation and code samples for the Contact Center AI Insights V1 API class Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo.
Word-level info for words in a transcript.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#confidence
def confidence() -> ::Float
Returns
- (::Float) — A confidence estimate between 0.0 and 1.0 of the fidelity of this word. A default value of 0.0 indicates that the value is unset.
#confidence=
def confidence=(value) -> ::Float
Parameter
- value (::Float) — A confidence estimate between 0.0 and 1.0 of the fidelity of this word. A default value of 0.0 indicates that the value is unset.
Returns
- (::Float) — A confidence estimate between 0.0 and 1.0 of the fidelity of this word. A default value of 0.0 indicates that the value is unset.
#end_offset
def end_offset() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — Time offset of the end of this word relative to the beginning of the total conversation.
#end_offset=
def end_offset=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — Time offset of the end of this word relative to the beginning of the total conversation.
Returns
- (::Google::Protobuf::Duration) — Time offset of the end of this word relative to the beginning of the total conversation.
#start_offset
def start_offset() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — Time offset of the start of this word relative to the beginning of the total conversation.
#start_offset=
def start_offset=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — Time offset of the start of this word relative to the beginning of the total conversation.
Returns
- (::Google::Protobuf::Duration) — Time offset of the start of this word relative to the beginning of the total conversation.
#word
def word() -> ::String
Returns
- (::String) — The word itself. Includes punctuation marks that surround the word.
#word=
def word=(value) -> ::String
Parameter
- value (::String) — The word itself. Includes punctuation marks that surround the word.
Returns
- (::String) — The word itself. Includes punctuation marks that surround the word.