diff --git a/brancheneinstufung.py b/brancheneinstufung.py index fcfa9b46..43ba867f 100644 --- a/brancheneinstufung.py +++ b/brancheneinstufung.py @@ -67,7 +67,7 @@ def normalize_company_name(name): ] pattern = r'\b(' + '|'.join(forms) + r')\b' normalized = re.sub(pattern, '', name, flags=re.IGNORECASE) - normalized = re.sub(r'[\-–]', ' ', normalized) + normalized = re.sub(r'[\-–]', ' ', normalized) normalized = re.sub(r'\s+', ' ', normalized).strip() return normalized.lower()