mirror of
https://github.com/explosion/spaCy.git
synced 2025-03-12 07:15:48 +03:00
Fix imports
This commit is contained in:
parent
53b00991fd
commit
6e87ca1f45
|
@ -16,7 +16,7 @@ from thinc.api import Linear, Model, CupyOps, NumpyOps, use_ops, noop
|
||||||
|
|
||||||
from ..typedefs cimport weight_t, class_t, hash_t
|
from ..typedefs cimport weight_t, class_t, hash_t
|
||||||
from ..tokens.doc cimport Doc
|
from ..tokens.doc cimport Doc
|
||||||
from ..gold cimport GoldParse
|
from .gold_parse cimport GoldParse
|
||||||
from .stateclass cimport StateClass
|
from .stateclass cimport StateClass
|
||||||
from .transition_system cimport Transition
|
from .transition_system cimport Transition
|
||||||
|
|
||||||
|
|
|
@ -10,11 +10,12 @@ import srsly
|
||||||
import warnings
|
import warnings
|
||||||
|
|
||||||
from .. import util
|
from .. import util
|
||||||
from ..syntax import nonproj
|
from . import nonproj
|
||||||
from ..tokens import Doc, Span
|
from ..tokens import Doc, Span
|
||||||
from ..errors import Errors, AlignmentError, Warnings
|
from ..errors import Errors, AlignmentError, Warnings
|
||||||
from .iob_utils import offsets_from_biluo_tags
|
from ..gold.annotation import TokenAnnotation
|
||||||
from .align import align
|
from ..gold.iob_utils import offsets_from_biluo_tags, biluo_tags_from_offsets
|
||||||
|
from ..gold.align import align
|
||||||
|
|
||||||
|
|
||||||
punct_re = re.compile(r"\W")
|
punct_re = re.compile(r"\W")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user