From a741bed7a7f4993ff9544609c2147a1b1a23b9dd Mon Sep 17 00:00:00 2001 From: jeannefukumaru Date: Mon, 1 Apr 2019 16:21:06 +0800 Subject: [PATCH] added symbols import --- spacy/lang/id/{tag_map.txt => tag_map.py} | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) rename spacy/lang/id/{tag_map.txt => tag_map.py} (69%) diff --git a/spacy/lang/id/tag_map.txt b/spacy/lang/id/tag_map.py similarity index 69% rename from spacy/lang/id/tag_map.txt rename to spacy/lang/id/tag_map.py index 93d6cadcc..a729dfea8 100644 --- a/spacy/lang/id/tag_map.txt +++ b/spacy/lang/id/tag_map.py @@ -1,8 +1,12 @@ # coding: utf8 +from __future__ import unicode_literals + +from ...symbols import POS, PUNCT, SYM, ADJ, CCONJ, NUM, DET, ADV, ADP, X, VERB +from ...symbols import NOUN, PROPN, PART, INTJ, SPACE, PRON, AUX + + +# POS explanations for indonesian available from https://www.aclweb.org/anthology/Y12-1014 -''' -POS explanations for indonesian available from https://www.aclweb.org/anthology/Y12-1014 -''' TAG_MAP = { "NSD" : {POS: NOUN},