tmp03.py 163 B

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