File: test_bug.py

package info (click to toggle)
python-jieba 0.42.1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 51,824 kB
  • sloc: python: 194,937; makefile: 5; sh: 3
file content (10 lines) | stat: -rw-r--r-- 199 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
#encoding=utf-8
from __future__ import print_function
import sys
sys.path.append("../")
import jieba
import jieba.posseg as pseg
words=pseg.cut("又跛又啞")
for w in words:
	print(w.word,w.flag)