# encoding=utf-8
import jieba

seg_list = jieba.cut("jieba is a good function hub", cut_all=True)
print("Full Mode: " + "/ ".join(seg_list))  # 全模式

seg_list = jieba.cut("i study all day long", cut_all=False)
print("Default Mode: " + "/ ".join(seg_list))  # 精确模式

seg_list = jieba.cut("a good tercher is very import")
print(", ".join(seg_list))

seg_list = jieba.cut_for_search("tese of a jldj  jdksjl")
print(", ".join(seg_list))

