transcript_file_format.structs.sentence package#
Submodules#
transcript_file_format.structs.sentence.sentence module#
- class transcript_file_format.structs.sentence.sentence.Sentence(start_time: float, end_time: float, text: str, words: list[Word] | None = None, annotations: SentenceAnnotations | None = None)[source]#
Bases:
Struct
- annotations: SentenceAnnotations | None#
- end_time: float#
- start_time: float#
- text: str#
transcript_file_format.structs.sentence.sentence_annotations module#
- class transcript_file_format.structs.sentence.sentence_annotations.SentenceAnnotations(speaker: SpeakerAnnotation | None = None, meta: dict[str, str | int | float | bool | dict | list | None] | None = None, custom: dict[str, str | int | float | bool | dict | list | None] | None = None)[source]#
Bases:
Struct
- custom: dict[str, str | int | float | bool | dict | list | None] | None#
- meta: dict[str, str | int | float | bool | dict | list | None] | None#
- speaker: SpeakerAnnotation | None#
transcript_file_format.structs.sentence.speaker_annotation module#
Module contents#
Sentence structures package for transcript_file_format.