在Stanford CoreNLP中集成定制的NER模型和现有的默认模型

2024-04-19 21:42:52 发布

您现在位置:Python中文网/ 问答频道 /正文

我已经通过下面的链接训练了语料库。你知道吗

https://www.sicara.ai/blog/2018-04-25-python-train-model-NTLK-stanford-ner-tagger

数据集是一些健康博客(英文)的,我在上面接受过培训。我成功地在新的看不见的文本上运行了这个模型。你知道吗

问题:我面临的问题是,我想在斯坦福CoreNLP中运行我的自定义英语NER模型和默认英语模型。你知道吗

期望的结果:我希望Stanford默认模型在我自己的自定义模型NER模型之后以顺序方式运行,以处理我自己的模型遗漏的英语实体。你知道吗


Tags: https模型model链接wwwtrainblogtagger
1条回答
网友
1楼 · 发布于 2024-04-19 21:42:52
 ner.model = /path/to/custom-model.ser.gz,edu/stanford/nlp/models/ner/english.all.3class.distsim.crf.ser.gz,edu/stanford/nlp/models/ner/english.muc.7class.distsim.crf.ser.gz,edu/stanford/nlp/models/ner/english.conll.4class.distsim.crf.ser.gz

这里有更多信息:

https://stanfordnlp.github.io/CoreNLP/api.html

https://stanfordnlp.github.io/CoreNLP/cmdline.html

相关问题 更多 >