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
“跛” 字不见了..................................
2条答案
按热度按时间z4iuyo4d1#
@elfcool , 多谢提醒,已经修复。麻烦你pull一下,看是否还有问题。
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.