Single and paired orth variants for German

This commit is contained in:
Adriane Boyd 2019-08-28 09:16:54 +02:00
parent 56c38484a1
commit 47af3f676e
1 changed files with 4 additions and 0 deletions

View File

@ -27,6 +27,10 @@ class GermanDefaults(Language.Defaults):
stop_words = STOP_WORDS
syntax_iterators = SYNTAX_ITERATORS
resources = {"lemma_lookup": "lemma_lookup.json"}
single_orth_variants = [{"tags": ["$("], "variants": ["", "..."]},
{"tags": ["$("], "variants": ["-", "", "", "--", "---", "——"]}]
paired_orth_variants = [{"tags": ["$("], "variants": [("'", "'"), (",", "'"), ("", "")]},
{"tags": ["$("], "variants": [("``", "''"), ('"', '"'), ("", "")]}]
class German(Language):