How to use Mallet for NER [closed]

2020-07-26 06:55发布

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 !

标签: nlp mallet
2条回答
劫难
2楼-- · 2020-07-26 07:30

The MALLET quick start on sequence tagging, right on the MALLET home page, describes exactly how to do this if you already have the feature vectors.

查看更多
神经病院院长
3楼-- · 2020-07-26 07:50

Fei Xia at UW wrote a pretty good MALLET guide.

You can find an example of programmatic (Java) interaction with MALLET at the bottom of this page.

查看更多
登录 后发表回答