diff --git a/spacy/syntax/parser.pxd b/spacy/syntax/parser.pxd index 6fe9fc58c..224ea490b 100644 --- a/spacy/syntax/parser.pxd +++ b/spacy/syntax/parser.pxd @@ -3,8 +3,7 @@ from thinc.learner cimport LinearModel from .arc_eager cimport TransitionSystem -from ..structs cimport TokenC -from ..tokens cimport Tokens +from ..tokens cimport Tokens, TokenC cdef class GreedyParser: