A simple MapReduce job that does a word frequency count, written in our mrjob Python framework.
我们在mrjob Python框架中编写了这个简单的MapReduce作业,它执行单词频率统计。
For each word that is longer than two characters, it stores the count in the frequency map.
对于每个长于两字符的单词,将统计数存储在频率映射中。
I started to write a little program with Python to count the frequency statistics for each single word.
后来,我开始使用python编写一个用于统计词频的小程序。
应用推荐