python用jieba进行分词并可视化 import jieba import pandas as pd import matplotlib.pyplot as plt txt = open("news.txt",encoding='UTF-8').read() words = jieba.lcut(txt) result = open('results.txt','w',encoding='UTF-8'