Skip to content

词性输出错误 #174

Description

@Lumingous

按照给的测试样例测试
import pkuseg
seg = pkuseg.pkuseg(postag=True) # 开启词性标注功能
text = seg.cut('我爱北京天安门') # 进行分词和词性标注
print(text)

输出结果是:
[('我', 'B'), ('爱', 'I_end'), ('北京', 'B'), ('天安门', 'I_end')]

尝试了多个例子,均为tagIndex.txt下的内容,而非tags.txt中的真实词性

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions