开发者

OpenNLP HeadRules

开发者 https://www.devze.com 2023-03-13 08:37 出处:网络
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 requ

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

精彩评论

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

关注公众号