From 4e95737c6cfb64c2dd4f24f2ab0ba3c030051090 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Sun, 18 Dec 2016 16:54:28 +0100 Subject: [PATCH] Add base tag map --- spacy/language_data/tag_map.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 spacy/language_data/tag_map.py diff --git a/spacy/language_data/tag_map.py b/spacy/language_data/tag_map.py new file mode 100644 index 000000000..f5b6b5040 --- /dev/null +++ b/spacy/language_data/tag_map.py @@ -0,0 +1,24 @@ +# encoding: utf8 +from __future__ import unicode_literals + +from ..symbols import * + + +TAG_MAP = { + "ADV": {POS: ADV}, + "NOUN": {POS: NOUN}, + "ADP": {POS: ADP}, + "PRON": {POS: PRON}, + "SCONJ": {POS: SCONJ}, + "PROPN": {POS: PROPN}, + "DET": {POS: DET}, + "SYM": {POS: SYM}, + "INTJ": {POS: INTJ}, + "PUNCT": {POS: PUNCT}, + "NUM": {POS: NUM}, + "AUX": {POS: AUX}, + "X": {POS: X}, + "CONJ": {POS: CONJ}, + "ADJ": {POS: ADJ}, + "VERB": {POS: VERB} +}