我想将 errant 与 spacy v3 一起使用...errant 不适用于 spacy v3

问题描述 投票:0回答:1

errant 想要 'en' 模块工作,即 errant.load('en') 而 spacy v3 中没有 'en' 模块

我试着把 spacy 降低到版本 2 然后仍然有同样的问题。

python spacy
1个回答
0
投票

只需更改或编辑 Errant 类,我们就可以将 Errant 与 Spacy v3 一起使用。

参考:https://github.com/chrisjbryant/errant/commit/e53a16a083a64a95cffffde56828c4d4ddab62ad

© www.soinside.com 2019 - 2024. All rights reserved.