Python jieba 中文分詞與詞頻統計

#! python3 # -*- coding: utf-8 -*- import os, codecs import jieba from collections import Counter def get_words(txt): seg_list = jieba.cut(txt) c = Counter() for x in seg_list: if
相關文章
相關標籤/搜索