assad2008 / Python-scws

scws Python扩展

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Chinese Word Segmentation Python package

SCWS:http://www.ftphp.com/scws/

使用

#coding:utf8
import sys
from fenci import fenci

fc = fenci()
fc.init_fenci()
ret = fc.get_text_fc('王晓明是个大坏蛋,十点二十分天马行空般的去打篮球')
for i in ret:
print i[0]
print '-----'

About

scws Python扩展


Languages

Language:C 76.3%Language:Python 23.7%