mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
Fix compile error
This commit is contained in:
parent
b9ade7d4e0
commit
932d7dde1c
1
setup.py
1
setup.py
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user