开发者

OpenNLP HeadRules

I'm trying to train a parser for a new model using the openNLP tutorial http://sourceforge.net/apps/mediawiki/opennlp/index.php?title=Parser#Training . The only problem is that i开发者_JAVA百科s requires a head_rules file. I can't seem to find any information anywhere on generating this file and the the only link to a head_rules file can be found here: http://opennlp.sourceforge.net/models/english/parser/head_rules but I can't make sense of it. Does anyone know how to generate this from training data?


This is the head rules file. Create a textfile under parser director. copy the head rules text into it. Remove the txt extension of the file. Name the file head_rules

http://opennlp.sourceforge.net/models/english/parser/head_rules

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜