diff --git a/spacy/syntax/parser.pyx b/spacy/syntax/parser.pyx index 15097e784..59eb1f859 100644 --- a/spacy/syntax/parser.pyx +++ b/spacy/syntax/parser.pyx @@ -1,13 +1,11 @@ # cython: infer_types=True # cython: profile=True # coding: utf-8 -from __future__ import unicode_literals +from __future__ import unicode_literals, print_function from collections import Counter import ujson -from chainer.functions.activation.softmax import Softmax as ChainerSoftmax - from cupy.cuda.stream import Stream import cupy