From 507ecb67af20c6c8572aa6665098920b46f409af Mon Sep 17 00:00:00 2001 From: ines Date: Sun, 5 Nov 2017 19:23:34 +0100 Subject: [PATCH] Fix Spanish tag map --- spacy/lang/es/tag_map.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacy/lang/es/tag_map.py b/spacy/lang/es/tag_map.py index 60e6839fa..abc8e9f68 100644 --- a/spacy/lang/es/tag_map.py +++ b/spacy/lang/es/tag_map.py @@ -29,7 +29,7 @@ TAG_MAP = { "ADP__AdpType=Preppron|Gender=Fem|Number=Sing": {"morph": "AdpType=Preppron|Gender=Fem|Number=Sing", POS: ADP}, "ADP__AdpType=Preppron|Gender=Masc|Number=Plur": {"morph": "AdpType=Preppron|Gender=Masc|Number=Plur", POS: ADP}, "ADP__AdpType=Preppron|Gender=Masc|Number=Sing": {"morph": "AdpType=Preppron|Gender=Masc|Number=Sing", POS: ADP}, - ADP: { POS: ADP}, + "ADP": { POS: ADP}, "ADV___": {"morph": "_", POS: ADV}, "ADV__AdpType=Prep": {"morph": "AdpType=Prep", POS: ADV}, "ADV__AdpType=Preppron|Gender=Masc|Number=Sing": {"morph": "AdpType=Preppron|Gender=Masc|Number=Sing", POS: ADV}, @@ -135,7 +135,7 @@ TAG_MAP = { "DET__Number=Sing|PronType=Ind": {"morph": "Number=Sing|PronType=Ind", POS: DET}, "DET__PronType=Int": {"morph": "PronType=Int", POS: DET}, "DET__PronType=Rel": {"morph": "PronType=Rel", POS: DET}, - DET: { POS: DET}, + "DET": { POS: DET}, "INTJ___": {"morph": "_", POS: INTJ}, "NOUN___": {"morph": "_", POS: NOUN}, "NOUN__AdvType=Tim": {"morph": "AdvType=Tim", POS: NOUN},