您好,欢迎光临本网站![请登录][注册会员]  

搜索资源列表

  1. 求大佬指点,写的是三国演义中文文本的词频统计,可是总是报错(已解决)

  2. 1.首先是这样写的: import jieba txt = open(D:/python程序/threekingdoms.txt,rt,encoding='utf-8').read() words=jieba.lcut(txt) counts={} for word in words: if len(word)==1: continue else: counts[word]=counts.get(word,0)+1 items=list(counts.items(
  3. 所属分类:其它

    • 发布日期:2021-01-21
    • 文件大小:232kb
    • 提供者:weixin_38629449