correctors.de#

Module Contents#

Classes#

GermanCorrector

Correct typical German typos. Currently one rule is implemented

class correctors.de.GermanCorrector#

Bases: correctors.base.CorrectorBase, correctors.universal.UniversalCorrector, correctors.universal.NoSpaceBeforePunctuationCorrector

Correct 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“)