Readers¶
transcript_indexer.readers
¶
transcript_indexer.readers.otter
¶
Reader for Otter-format speaker-turn transcripts.
Filename: YYYYMMDD HHMM - title.txt
Otter has shipped several distinct turn-header layouts over the years, so the parser detects which one a file uses by counting candidate matches per format, then re-parses with the winner.
Supported formats:
timestamped—<speaker> <[H:]MM:SS>(one or more spaces, optional trailing colon). Body on subsequent lines, terminated by a blank line.name_only—<speaker>alone on a line, body on the following lines, terminated by a blank line.inline—<speaker>: <body>all on one line; one line per turn.