From ecc5281b36667a9f411eea0ca21acfc9366c5f79 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Tue, 6 Oct 2015 10:12:08 +1100 Subject: [PATCH] * Remove en/pos.pyx, as the tagger code now lives in spacy/tagger.pyx --- spacy/en/pos.pxd | 5 ----- spacy/en/pos.pyx | 11 ----------- 2 files changed, 16 deletions(-) delete mode 100644 spacy/en/pos.pxd delete mode 100644 spacy/en/pos.pyx diff --git a/spacy/en/pos.pxd b/spacy/en/pos.pxd deleted file mode 100644 index 213752cf5..000000000 --- a/spacy/en/pos.pxd +++ /dev/null @@ -1,5 +0,0 @@ -from ..tagger cimport Tagger - - -cdef class EnPosTagger(Tagger): - pass diff --git a/spacy/en/pos.pyx b/spacy/en/pos.pyx deleted file mode 100644 index 8e034eadf..000000000 --- a/spacy/en/pos.pyx +++ /dev/null @@ -1,11 +0,0 @@ -from os import path - -from ..parts_of_speech cimport NOUN, VERB, ADJ - -from ..lemmatizer import Lemmatizer - - -cdef class EnPosTagger(Tagger): - """A part-of-speech tagger for English""" - def make_lemmatizer(self, data_dir): - return Lemmatizer(path.join(data_dir, 'wordnet'), NOUN, VERB, ADJ)