jieba 词性标注后,少字

anauzrmj  于 2022-10-26  发布在  其他
关注(0)|答案(2)|浏览(270)

import jieba
import jieba.posseg as pseg
words=pseg.cut("又跛又啞")
for w in words:
print w.word,w.flag

输出:
Building Trie..., from C:\Python27\lib\site-packages\jieba\dict.txt
loading model from cache c:\users\test\appdata\local\temp\jieba.cache
loading model cost 1.33399987221 seconds.
Trie has been built succesfully.
又 d
又 d
啞 v

“跛” 字不见了..................................

z4iuyo4d

z4iuyo4d1#

@elfcool , 多谢提醒,已经修复。麻烦你pull一下,看是否还有问题。

jdzmm42g

jdzmm42g2#

Hi Sun,
已经好了,万分感谢。
祝新年快乐~

Yanlei Deng

East China Normal University
Department of Computer Science

在 2014-01-28 14:07:09,"Sun Junyi" notifications@github.com 写道:

@elfcool , 多谢提醒,已经修复。麻烦你pull一下,看是否还有问题。


Reply to this email directly or view it on GitHub.

相关问题