diff --git a/spacy/strings.pyx b/spacy/strings.pyx index cf9c224e6..760d9bea1 100644 --- a/spacy/strings.pyx +++ b/spacy/strings.pyx @@ -17,10 +17,7 @@ try: except ImportError: import io -try: - import ujson as json -except ImportError: - import json +import ujson as json cpdef hash_t hash_string(unicode string) except 0: