Class TranscriptSegment (0.3.1)

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

A segment of a full transcript. .. attribute:: text

The text of this segment.

:type: str

Attributes

NameDescription
confidence float
A confidence estimate between 0.0 and 1.0 of the fidelity of this segment. A default value of 0.0 indicates that the value is unset.
words Sequence[google.cloud.contact_center_insights_v1.types.Conversation.Transcript.TranscriptSegment.WordInfo]
A list of the word-specific information for each word in the segment.
language_code str
The language code of this segment as a BCP-47 __ language tag. Example: "en-US".
channel_tag int
For conversations derived from multi-channel audio, this is the channel number corresponding to the audio from that channel. For audioChannelCount = N, its output values can range from '1' to 'N'. A channel tag of 0 indicates that the audio is mono.
segment_participant google.cloud.contact_center_insights_v1.types.ConversationParticipant
The participant of this segment.

Classes

WordInfo

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

Word-level info for words in a transcript. .. attribute:: start_offset

Time offset of the start of this word relative to the beginning of the total conversation.

:type: google.protobuf.duration_pb2.Duration