摘要:
file=open('song.txt','r',encoding='utf-8') str=file.read() # 将文章里的标点符号替换为空格 wordList =str.lower().split() # 将数组变成一个个个单词 sep=''',.'"?!:''' word = ['it', 'you', 'a', 'and', 'for', 'on', 'the 阅读全文
posted @ 2018-03-26 19:27
134朱晓航
阅读(151)
评论(0)
推荐(0)
浙公网安备 33010602011771号