众所周知,关于切词,我们都会联想到jieba分词,如下代码所示:
import jieba
title = ['《创建国际湿地城市工作方案》解读','《关于贯彻落实消防安全责任制实施办法》']
for i in title:
cut = jieba.cut(i)
# print(cut)
# 精确模式
# print('精确模式输出:')
a = '
标签:jieba,cut,title,python,print,精确,字符串,切词
来源: https://blog.csdn.net/Leexin_love_Ling/article/details/111086397