* Remove en/pos.pyx, as the tagger code now lives in spacy/tagger.pyx

This commit is contained in:
Matthew Honnibal 2015-10-06 10:12:08 +11:00
parent e4ba8a4b5a
commit ecc5281b36
2 changed files with 0 additions and 16 deletions

View File

@ -1,5 +0,0 @@
from ..tagger cimport Tagger
cdef class EnPosTagger(Tagger):
pass

View File

@ -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)