TenshiTranslator.Glossary.Glossary module¶
- class TenshiTranslator.Glossary.Glossary.Glossary¶
Bases:
ABC
High level glossary that allows you to specify translations for specific phrases and also apply corrections to the translated text.
This is commonly used for names and other jargons that may not be translated correctly.
- process(line: str) str ¶
Process corrections to a line
- Parameters:
line – line to be modified
- Returns:
process line