热心网友小鹏

导航

2022年4月8日 #

5.RDD操作综合实例

摘要: 一、词频统计 A. 分步骤实现 1.准备文件 1.下载小说或长篇新闻稿 2.上传到hdfs上 2.读文件创建RDD 3、分词 4、排除大小写lower(),map() 标点符号re.split(pattern,str),flatMap(), 停用词,stopwords.txt,filter(), 长 阅读全文

posted @ 2022-04-08 21:39 热心网友小鹏 阅读(13) 评论(0) 推荐(0) 编辑