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 !
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 7 years ago.
回答1:
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.
回答2:
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.