摘要: 一、词频统计 A. 分步骤实现 1准备文件 2下载小说或长篇 3上传到hdfs上 4读文件创建RDD 分词 排除大小写lower(),map() 标点符号re.split(pattern,str),flatMap(), 停用词,可网盘下载stopwords.txt,filter(), 长度小于2的词 阅读全文
posted @ 2022-04-08 18:26 WGL_4intheM 阅读(15) 评论(0) 推荐(0)