diff --git a/spacy/pipeline/_parser_internals/nonproj.pyx b/spacy/pipeline/_parser_internals/nonproj.pyx index f36e248be..5dac8589e 100644 --- a/spacy/pipeline/_parser_internals/nonproj.pyx +++ b/spacy/pipeline/_parser_internals/nonproj.pyx @@ -4,6 +4,7 @@ for doing pseudo-projective parsing implementation uses the HEAD decoration scheme. """ from copy import copy +from pathlib import Path import json from ...tokens.doc cimport Doc, set_children_from_heads