Fix compile error

This commit is contained in:
Matthew Honnibal 2019-03-07 14:34:54 +01:00
parent b9ade7d4e0
commit 932d7dde1c
2 changed files with 6 additions and 17 deletions

View File

@ -56,6 +56,7 @@ MOD_NAMES = [
"spacy.tokens.doc",
"spacy.tokens.span",
"spacy.tokens.token",
"spacy.tokens.morphanalysis",
"spacy.tokens._retokenize",
"spacy.matcher.matcher",
"spacy.matcher.phrasematcher",

View File

@ -2,7 +2,7 @@ from ..vocab cimport Vocab
from ..typedefs cimport hash_t
cdef class Morphanalysis:
cdef class MorphAnalysis:
"""Control access to morphological features for a token."""
def __init__(self, Vocab vocab, features=tuple()):
self.vocab = vocab
@ -118,14 +118,6 @@ cdef class Morphanalysis:
def __get__(self):
pass
property name_type:
def __get__(self):
pass
property negative:
def __get__(self):
pass
property mood:
def __get__(self):
pass
@ -138,6 +130,10 @@ cdef class Morphanalysis:
def __get__(self):
pass
property noun_type:
def __get__(self):
pass
property number:
def __get__(self):
pass
@ -306,14 +302,6 @@ cdef class Morphanalysis:
def __get__(self):
pass
property name_type_:
def __get__(self):
pass
property negative_:
def __get__(self):
pass
property number_:
def __get__(self):
pass