Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我从头开始创建并执行了 German Novel 示例项目。输出包含 Lemma & Token 之类的标签,但找不到任何提供令牌词性信息的特征。如何得到它?
词性信息应该存储在pos令牌的特征中。这些注解也在 CAS 的索引中,例如,应该有 .like 类型的de.tudarmstadt.ukp.dkpro.core.api.lexmorph.type.pos.POS注解de.tudarmstadt.ukp.dkpro.core.api.lexmorph.type.pos.N。如果缺少此信息,则 POS 标记器有问题。
pos
de.tudarmstadt.ukp.dkpro.core.api.lexmorph.type.pos.POS
de.tudarmstadt.ukp.dkpro.core.api.lexmorph.type.pos.N