mirror of https://github.com/explosion/spaCy.git
* Import attrs from spacy.attrs, not spacy.typedefs
This commit is contained in:
parent
6c99e5f4aa
commit
30be4f15da
|
@ -1,6 +1,6 @@
|
|||
from ..vocab cimport Vocab
|
||||
from ..structs cimport TokenC
|
||||
from ..typedefs cimport attr_id_t
|
||||
from ..attrs cimport attr_id_t
|
||||
from .doc cimport Doc
|
||||
|
||||
|
||||
|
|
|
@ -11,9 +11,9 @@ import numpy
|
|||
|
||||
from ..parts_of_speech import UNIV_POS_NAMES
|
||||
|
||||
from ..typedefs cimport LEMMA
|
||||
from ..typedefs cimport ID, ORTH, NORM, LOWER, SHAPE, PREFIX, SUFFIX, LENGTH, CLUSTER
|
||||
from ..typedefs cimport POS, LEMMA, TAG, DEP
|
||||
from ..attrs cimport LEMMA
|
||||
from ..attrs cimport ID, ORTH, NORM, LOWER, SHAPE, PREFIX, SUFFIX, LENGTH, CLUSTER
|
||||
from ..attrs cimport POS, LEMMA, TAG, DEP
|
||||
from ..parts_of_speech cimport CONJ, PUNCT
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue