如何使用Mallet for NER [英] How to use Mallet for NER
本文介绍了如何使用Mallet for NER的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是NLP的新手,并被要求使用Mallet进行命名实体识别"(NER). 我有一个文本,并为其中的每个单词提供了特征向量.我想训练一个模型,以后我可以在新的文本文件上进行测试. 我的问题是如何创建这样的模型,该模型的输入是什么.我可以使用一些代码示例:) 谢谢!
I'm new to the subject of NLP and requested to perform -named entity recognition- (NER) using Mallet. I have a text, and I give feature vector for each word in it. I would like to train a model which later on I can test on fresh text file. My question is how do I create such model, what is the input for the model. I could use some code examples :) Thanks !
推荐答案
Fei Xia at UW wrote a pretty good MALLET guide.
您可以在此页面底部的底部找到与MALLET进行程序化(Java)交互的示例. /a>.
You can find an example of programmatic (Java) interaction with MALLET at the bottom of this page.
这篇关于如何使用Mallet for NER的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文