mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +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.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",
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user