mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Merge pull request #4237 from adrianeboyd/feature/gold-train-orth-variants
Add guillemets/chevrons to German orth variants
This commit is contained in:
commit
d039ed2267
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user