Question: Design a Map Reduce program to output only the single most common bigram in the dataset Split the words on whitespaces. the program should contain
Design a Map Reduce program to output only the single most common bigram in the dataset Split the words on whitespaces. the program should contain a mapper and a reducer - written in python.
to test it you can use any text file that contains a paragraph or so
cat test.txt | ./mapper.py | ./reducer.py
the output should look similar to the image - it should just display the most bigram inside the test.txt file

----- 1 most common 2-grams of the: 12
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
