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.doc",
"spacy.tokens.span", "spacy.tokens.span",
"spacy.tokens.token", "spacy.tokens.token",
"spacy.tokens.morphanalysis",
"spacy.tokens._retokenize", "spacy.tokens._retokenize",
"spacy.matcher.matcher", "spacy.matcher.matcher",
"spacy.matcher.phrasematcher", "spacy.matcher.phrasematcher",

View File

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