Single and paired orth variants for English

This commit is contained in:
Adriane Boyd 2019-08-28 09:16:40 +02:00
parent aae05ff16b
commit 56c38484a1

View File

@ -38,6 +38,10 @@ class EnglishDefaults(Language.Defaults):
"lemma_index": "lemmatizer/lemma_index.json",
"lemma_exc": "lemmatizer/lemma_exc.json",
}
single_orth_variants = [{"tags": ["NFP"], "variants": ["", "..."]},
{"tags": [":"], "variants": ["-", "", "", "--", "---", "——"]}]
paired_orth_variants = [{"tags": ["``", "''"], "variants": [("'", "'"), ("", "")]},
{"tags": ["``", "''"], "variants": [('"', '"'), ("", "")]}]
class English(Language):