【发布时间】:2021-09-10 11:09:01
【问题描述】:
我正在使用 Python 和 Spacy 进行编码。
我想跟踪nlp.pipe(sentences) 的执行进度,因为它持续了很多时间。
该怎么做?
nlp = spacy.load('en_core_web_sm')
sentences = [...]
docs = nlp.pipe(sentences, n_process=8)
【问题讨论】:
标签: python nlp pipe spacy tracking