答:给 nlp.pipe 传入 (text, context) 对,再设 as_tuples=True。每个输出是 (doc, context),后续可直接使用原来的文档 ID 或其它上下文。
题干与完整题解免费阅读第 1 / 1 页
本页 1 道,共 1 道浏览其他领域
答:给 nlp.pipe 传入 (text, context) 对,再设 as_tuples=True。每个输出是 (doc, context),后续可直接使用原来的文档 ID 或其它上下文。