Contact Center AI Insights V1 API - Class Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::WordInfo (v0.12.0)

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

#end_offset=

def end_offset=(value) -> ::Google::Protobuf::Duration
Parameter
Returns

#start_offset

def start_offset() -> ::Google::Protobuf::Duration
Returns

#start_offset=

def start_offset=(value) -> ::Google::Protobuf::Duration
Parameter
Returns

#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.