mirror of
https://github.com/fxsjy/jieba.git
synced 2025-07-10 00:01:33 +08:00
10 lines
161 B
Python
10 lines
161 B
Python
#encoding=utf-8
|
|
import sys
|
|
sys.path.append("../")
|
|
import jieba
|
|
import jieba.posseg as pseg
|
|
words=pseg.cut("又跛又啞")
|
|
for w in words:
|
|
print(w.word,w.flag)
|
|
|