CRF++模板文件中的词袋功能的语法是什么?
模板示例:
#Unigrams
U00:%x[0,0]
U01:%x[0,1]
U02:%x[1,0]
#Bigrams
B发布于 2013-03-25 16:06:35
我想是这样的:
#Unigrams
U00:%x[0,0]
U00:%x[0,1]
U00:%x[1,0]
#Bigrams
B使用相同的标识符。
发布于 2013-08-09 19:57:55
词袋的语法可能如下所示:
#Unigrams
U00:%x[0,0]/%x[0,1]/%x[1,0]
#Bigrams
BDescription of CRF++ using a template of CoNLL 2000 for bag-of-words
发布于 2017-05-10 18:45:20
下面是使用Bag of (3)单词的正确模板:
#Unigrams
U00:%x[-1,0]
U00:%x[0,0]
U00:%x[1,0]
#Bigrams
B请注意,标识符是相同的(U00)。
[-1,0] -> previous word
[0,0] -> current word
[1,0] -> next wordhttps://stackoverflow.com/questions/15520203
复制相似问题