From 0a0b1087b0067259b774b91809a166d74c8c695c Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Mon, 1 Apr 2019 11:46:51 +0200 Subject: [PATCH] Make tag map available in Indonesian defaults --- spacy/lang/id/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spacy/lang/id/__init__.py b/spacy/lang/id/__init__.py index d3c47d4b4..08e2d8ec2 100644 --- a/spacy/lang/id/__init__.py +++ b/spacy/lang/id/__init__.py @@ -8,6 +8,7 @@ from .norm_exceptions import NORM_EXCEPTIONS from .lemmatizer import LOOKUP from .lex_attrs import LEX_ATTRS from .syntax_iterators import SYNTAX_ITERATORS +from .tag_map import TAG_MAP from ..tokenizer_exceptions import BASE_EXCEPTIONS from ..norm_exceptions import BASE_NORMS @@ -30,6 +31,7 @@ class IndonesianDefaults(Language.Defaults): infixes = TOKENIZER_INFIXES syntax_iterators = SYNTAX_ITERATORS lemma_lookup = LOOKUP + tag_map = TAG_MAP class Indonesian(Language):