correctors.de#
Module Contents#
Classes#
Correct typical German typos. Currently one rule is implemented |
- class correctors.de.GermanCorrector#
Bases:
correctors.base.CorrectorBase,correctors.universal.UniversalCorrector,correctors.universal.NoSpaceBeforePunctuationCorrectorCorrect typical German typos. Currently one rule is implemented * German quotations start with „ and end with “ („Beispiel“)
- correct_quotes(self, text: str) str#
Ensure correct German quotes (example: „korrekt“)