Skip to content

SyncItem

Source code in docs_src/capo_transcribe/types/sync_item.py
class SyncItem(TypedDict, closed=True):
    id: NotRequired["capo_transcribe.types.item_id.ItemId"]
    """<p>The position of this item in the transcript, starting at 0.</p>"""
    content: NotRequired["capo_transcribe.types.string.String"]
    """<p>The word or punctuation mark. In <code>RedactedResults</code>, Amazon Transcribe replaces redacted words with <code>[PII]</code>.</p>"""
    start_time: NotRequired["capo_transcribe.types.double.Double"]
    """<p>The time, in seconds from the start of your audio, when this item starts.</p>"""
    end_time: NotRequired["capo_transcribe.types.double.Double"]
    """<p>The time, in seconds from the start of your audio, when this item ends.</p>"""
    language_code: NotRequired[
        "capo_transcribe.types.sync_language_code.SyncLanguageCode"
    ]
    """<p>The language of this item, as a locale (for example, <code>en-US</code>).</p>"""
    channel_label: NotRequired["capo_transcribe.types.string.String"]
    """<p>The audio channel this item came from (<code>ch_0</code> or <code>ch_1</code>). Present if you enabled <code>ChannelIdentification</code>.</p> <p>Item start and end times are measured from the start of the audio, separately for each channel.</p>"""
    speaker_label: NotRequired["capo_transcribe.types.string.String"]
    """<p>The speaker of this item (for example, <code>spk_0</code>). Present if you enabled <code>ShowSpeakerLabels</code>.</p>"""
    vocabulary_filter_match: NotRequired["capo_transcribe.types.boolean.Boolean"]
    """<p>Indicates whether this item matched a word in your custom vocabulary filter. Present if you included <code>VocabularyFilterSettings</code>.</p>"""
    redactions: NotRequired[
        "capo_transcribe.types.sync_redaction_list.SyncRedactionList"
    ]
    """<p>The types of personally identifiable information (PII) that Amazon Transcribe redacted from this item. Present only on redacted items in <code>RedactedResults</code>.</p>"""

channel_label instance-attribute

channel_label: NotRequired[String]

The audio channel this item came from (ch_0 or ch_1). Present if you enabled ChannelIdentification.

Item start and end times are measured from the start of the audio, separately for each channel.

content instance-attribute

content: NotRequired[String]

The word or punctuation mark. In RedactedResults, Amazon Transcribe replaces redacted words with [PII].

end_time instance-attribute

end_time: NotRequired[Double]

The time, in seconds from the start of your audio, when this item ends.

id instance-attribute

id: NotRequired[ItemId]

The position of this item in the transcript, starting at 0.

language_code instance-attribute

language_code: NotRequired[SyncLanguageCode]

The language of this item, as a locale (for example, en-US).

redactions instance-attribute

redactions: NotRequired[SyncRedactionList]

The types of personally identifiable information (PII) that Amazon Transcribe redacted from this item. Present only on redacted items in RedactedResults.

speaker_label instance-attribute

speaker_label: NotRequired[String]

The speaker of this item (for example, spk_0). Present if you enabled ShowSpeakerLabels.

start_time instance-attribute

start_time: NotRequired[Double]

The time, in seconds from the start of your audio, when this item starts.

vocabulary_filter_match instance-attribute

vocabulary_filter_match: NotRequired[Boolean]

Indicates whether this item matched a word in your custom vocabulary filter. Present if you included VocabularyFilterSettings.