Merge pull request #4237 from adrianeboyd/feature/gold-train-orth-variants

Add guillemets/chevrons to German orth variants
This commit is contained in:
Matthew Honnibal 2019-09-04 23:10:49 +02:00 committed by GitHub
commit d039ed2267
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,8 +29,8 @@ class GermanDefaults(Language.Defaults):
resources = {"lemma_lookup": "lemma_lookup.json"}
single_orth_variants = [{"tags": ["$("], "variants": ["", "..."]},
{"tags": ["$("], "variants": ["-", "", "", "--", "---", "——"]}]
paired_orth_variants = [{"tags": ["$("], "variants": [("'", "'"), (",", "'"), ("", "")]},
{"tags": ["$("], "variants": [("``", "''"), ('"', '"'), ("", "")]}]
paired_orth_variants = [{"tags": ["$("], "variants": [("'", "'"), (",", "'"), ("", ""), ("", ""), ("", "")]},
{"tags": ["$("], "variants": [("``", "''"), ('"', '"'), ("", ""), ("»", "«"), ("«", "»")]}]
class German(Language):