CallAnalyticsItem¶
Structure Class¶
CallAnalyticsItem
dataclass
¶
A word, phrase, or punctuation mark in your Call Analytics transcription output, along with various associated attributes, such as confidence score, type, and start and end times.
Attributes¶
begin_offset_millis
class-attribute
instance-attribute
¶
begin_offset_millis: int | None = None
The time, in milliseconds, from the beginning of the audio stream to the start of the identified item.
confidence
class-attribute
instance-attribute
¶
confidence: float | None = None
The confidence score associated with a word or phrase in your transcript.
Confidence scores are values between 0 and 1. A larger value indicates a higher probability that the identified item correctly matches the item spoken in your media.
content
class-attribute
instance-attribute
¶
content: str | None = None
The word or punctuation that was transcribed.
end_offset_millis
class-attribute
instance-attribute
¶
end_offset_millis: int | None = None
The time, in milliseconds, from the beginning of the audio stream to the end of the identified item.
stable
class-attribute
instance-attribute
¶
stable: bool | None = None
If partial result stabilization is enabled, Stable indicates whether
the specified item is stable (true) or if it may change when the
segment is complete (false).
type
class-attribute
instance-attribute
¶
type: ItemType | None = None
The type of item identified. Options are: PRONUNCIATION (spoken words)
and PUNCTUATION.
vocabulary_filter_match
class-attribute
instance-attribute
¶
vocabulary_filter_match: bool = False
Indicates whether the specified item matches a word in the vocabulary
filter included in your Call Analytics request. If true, there is a
vocabulary filter match.