hooks.add_entity: Add name prefixes: der, la

This commit is contained in:
Brett Smith 2017-12-27 11:50:58 -05:00
parent 56cba1456f
commit 82e4bf5bd8

View file

@ -5,6 +5,8 @@ class AddEntityHook:
NAME_PREFIXES = frozenset([ NAME_PREFIXES = frozenset([
'da', 'da',
'de', 'de',
'der',
'la',
'van', 'van',
]) ])
NONASCII_RE = re.compile(r'[^-A-Za-z0-9]') NONASCII_RE = re.compile(r'[^-A-Za-z0-9]')