综合练习:英文词频统计

词频统计预处理 下载一首英文的歌词或文章 将所有,.?!’:等分隔符全部替换为空格 将所有大写转换为小写 生成单词列表 生成词频统计 排序 排除语法型词汇,代词、冠词、连词 输出词频最大TOP10 song=''' Trouble will find you no matter where you go, oh oh No matter if you;re fast, no matter if
相关文章
相关标签/搜索