mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Fix import
This commit is contained in:
parent
e59ecb12c0
commit
af282ae732
|
@ -1,7 +1,8 @@
|
||||||
from typing import List, Union, Callable, Tuple
|
from typing import List, Union, Callable, Tuple
|
||||||
from thinc.types import Ints2d, Doc
|
from thinc.types import Ints2d
|
||||||
from thinc.api import Model, registry
|
from thinc.api import Model, registry
|
||||||
|
|
||||||
|
from ..tokens import Doc
|
||||||
|
|
||||||
|
|
||||||
@registry.layers("spacy.FeatureExtractor.v1")
|
@registry.layers("spacy.FeatureExtractor.v1")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user