springheel.parsetranscript module¶
Parse transcript files.
- springheel.parsetranscript.jsonTranscript(file_name: str) → str¶
Parse a JSON transcript file.
- Parameters
- file_namestr
Path to the JSON file to load.
- Returns
- str
The converted transcript, in HTML format.
- springheel.parsetranscript.makeTranscript(file_name: str, json_mode: bool) → str¶
Create a format transcript from a transcript file.
- Parameters
- file_namestr
The path to the transcript file.
- json_modebool
If True, parse the transcript as a JSON file. Otherwise, expect the normal syntax.
- Returns
- str
The converted transcript, in HTML format.
- springheel.parsetranscript.readTranscript(file_name: str) → List[str]¶
Retrieve the contents of the transcript file.
- Parameters
- file_namestr
The path to the transcript file.
- Returns
- list of str
Lines from the transcript file.