TenshiTranslator.OutputFormat.OutputFormat module¶
- class TenshiTranslator.OutputFormat.OutputFormat.OutputFormat¶
Bases:
ABC
Abstract class that defines the interface for output formats
- abstract writeFile(japaneseLines: list[str], englishLines: list[str])¶
Writes the translated lines to a file. file will be overwritten if it already exists
- Parameters:
outputFilePath – path to the output file.
japaneseLines – list of japanese lines
englishLines – list of translated lines