mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-19 20:52:23 +03:00
Add extract spans import
This commit is contained in:
parent
e9626e38c1
commit
9b63cbb775
|
@ -8,6 +8,7 @@ from thinc.types import Floats2d, Floats1d, Ints2d, Ragged
|
||||||
from typing import List, Callable, Tuple, Any
|
from typing import List, Callable, Tuple, Any
|
||||||
from ...tokens import Doc
|
from ...tokens import Doc
|
||||||
from ...util import registry
|
from ...util import registry
|
||||||
|
from ..extract_spans import extract_spans
|
||||||
|
|
||||||
from .coref_util import get_candidate_mentions, select_non_crossing_spans, topk
|
from .coref_util import get_candidate_mentions, select_non_crossing_spans, topk
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user