diff --git a/server/lesbar/rules/de_DE/__init__.py b/server/lesbar/rules/de_DE/__init__.py index 64b0221..d79799a 100644 --- a/server/lesbar/rules/de_DE/__init__.py +++ b/server/lesbar/rules/de_DE/__init__.py @@ -4,4 +4,4 @@ long_sentence = 9 long_word = 3 -abbreviations = r"\b[A-Z][a-zA-Z\.]*[A-Z]\b\.?|.\.." +abbreviations = r"\b[A-Z][a-zA-Z\.]*[A-Z]\b\.?|.+\..?" diff --git a/server/lesbar/rules/default.py b/server/lesbar/rules/default.py index f54d76b..dd7b1d8 100644 --- a/server/lesbar/rules/default.py +++ b/server/lesbar/rules/default.py @@ -3,4 +3,4 @@ fillers = [] passive_indicators = [] tagger = None -abbreviations = r"\b[A-Z][a-zA-Z\.]*[A-Z]\b\.?|.\.." +abbreviations = r"\b[A-Z][a-zA-Z\.]*[A-Z]\b\.?|.+\..?"