摘要: 1 import string 2 path = 'waldnn' 3 with open(path,'r') as text: 4 words = [raw_word.strip(string.punctuation).lower() for raw_word in text.read().split()] 5 words_index = set(words) 6 co... 阅读全文
posted @ 2017-03-10 19:23 Erick-LONG 阅读(1593) 评论(0) 推荐(0) 编辑