Nlp 如何向Mallet simpletager添加单词级功能?

Nlp 如何向Mallet simpletager添加单词级功能?,nlp,mallet,Nlp,Mallet,我一直在浏览包含SimpleTagger示例的 它说: 给定输入文件“示例”,如下所示: CAPITAL Bill noun slept non-noun here non-noun where all but the last token on each line is a binary feature, and the last token on the line is the label name 那么,如何在此处添加单词级功能? 示例:单词中音节的数量

我一直在浏览包含SimpleTagger示例的

它说:

给定输入文件“示例”,如下所示:

CAPITAL Bill  noun
        slept non-noun
        here non-noun
where all but the last token on each line is a binary feature, and the last token on the line is the label name
那么,如何在此处添加单词级功能?


示例:单词中音节的数量、单词的长度等,最后一个标记之前的所有内容都被视为特征。在此之前,您应该能够添加任意功能:

CAP SYL1 CHAR4 Bill noun
SYL3 CHAR9 responded non-noun
...