From 5049d4c2e622020e965466431ec810f82a01289d Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 25 Jan 2015 16:32:26 +1100 Subject: [PATCH] * Add parts_of_speech.pyx --- spacy/parts_of_speech.pyx | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 spacy/parts_of_speech.pyx diff --git a/spacy/parts_of_speech.pyx b/spacy/parts_of_speech.pyx new file mode 100644 index 000000000..7316752c3 --- /dev/null +++ b/spacy/parts_of_speech.pyx @@ -0,0 +1,19 @@ +from __future__ import unicode_literals + + +UNIV_POS_NAMES = { + "NO_TAG": NO_TAG, + "ADJ": ADJ, + "ADV": ADV, + "ADP": ADP, + "CONJ": CONJ, + "DET": DET, + "NOUN": NOUN, + "NUM": NUM, + "PRON": PRON, + "PRT": PRT, + "VERB": VERB, + "X": X, + "PUNCT": PUNCT, + "EOL": EOL +}