Skip to content

lulujiang/segc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

========INSTALL========
just like other python package.

1 untar it.
2 ./setup.py build
3 sudo ./setup.py install

========USE========
from segc import *

s = Segc()
s.load_dictionary('../dics/chars.dic', '../dics/words.dic')

text = '你好,我的名字叫Mike.'

a = s.create_algorithm(text)

for tok in a.xtokenize():
    print tok,
print

========LICENSE========
GPL-v3

========ACKNOWLEDGEMENT========
ChiYuan Zhang  <pluskid@gmail.com>
Chih-Hao Tsai  <hao520@yahoo.com>

About

a high performance mmseg implement

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 88.7%
  • Python 7.8%
  • Objective-C 1.8%
  • Makefile 1.7%