import spacy
nlp = spacy.blank("en")
nlp.add_pipe(nlp.create_pipe("sentencizer"))
s = [u"This is a sentence. This is another sentence."*500] * 10000
from time import monotonic as m
start = m()
for x in nlp.pipe(s, n_threads=-1):
c = [c for c in x]
print(m()-start)
Почему в этом примере кода spacy не использует многопоточность или обработку?