Python學習(二) 利用jieba分詞及去停用詞

#encoding=utf-8 import sys sys.path.append("../") import jieba import jieba.posseg as pseg from jieba import analyse #加載停用詞表 stop = [line.strip().decode('utf-8') for line in open('stop_words.txt').
相關文章
相關標籤/搜索