Item¶
Structure Class¶
Item
dataclass
¶
A word, phrase, or punctuation mark in your transcription output, along with various associated attributes, such as confidence score, type, and start and end times.
Attributes¶
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_time
class-attribute
instance-attribute
¶
end_time: float = 0
The end time of the transcribed item in seconds, with millisecond precision (e.g., 1.056)
speaker
class-attribute
instance-attribute
¶
speaker: str | None = None
If speaker partitioning is enabled, Speaker labels the speaker of the
specified 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).
start_time
class-attribute
instance-attribute
¶
start_time: float = 0
The start time of the transcribed item in seconds, with millisecond precision (e.g., 1.056)
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 request. If true, there is a vocabulary filter
match.