mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-27 09:44:36 +03:00
* Remove en/pos.pyx, as the tagger code now lives in spacy/tagger.pyx
This commit is contained in:
parent
e4ba8a4b5a
commit
ecc5281b36
|
@ -1,5 +0,0 @@
|
||||||
from ..tagger cimport Tagger
|
|
||||||
|
|
||||||
|
|
||||||
cdef class EnPosTagger(Tagger):
|
|
||||||
pass
|
|
|
@ -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)
|
|
Loading…
Reference in New Issue
Block a user