From af282ae73259dc966bc741de632ee5cab41633a9 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Fri, 2 Oct 2020 01:12:34 +0200 Subject: [PATCH] Fix import --- spacy/ml/featureextractor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spacy/ml/featureextractor.py b/spacy/ml/featureextractor.py index 3d189008a..ed2918f02 100644 --- a/spacy/ml/featureextractor.py +++ b/spacy/ml/featureextractor.py @@ -1,7 +1,8 @@ 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 ..tokens import Doc @registry.layers("spacy.FeatureExtractor.v1")