摘要:
``` import jieba #分词库 import matplotlib.pyplot as plt #数学绘图库 from wordcloud import WordCloud #词云库 #1、读入txt文本数据 file=open("E:\Data\Lofter\demo-txt\demo.txt","r",encoding="utf-8") text =file.read() #2、结 阅读全文
posted @ 2019-10-23 16:44
hank-li
阅读(572)
评论(0)
推荐(0)
摘要:
import re test='just for testjust for testtest' pat = re.compile('(?). ?(?=\ 阅读全文
posted @ 2019-10-23 16:12
hank-li
阅读(2999)
评论(0)
推荐(0)