# jieba分词 import jieba # 今天的天气真不错 sentence = "今天的的天气真不错,你觉得呢?" words = jieba.cut(sentence) print(" ".join(words))