Question: Question 5 (4 points) Given a text file as input, create a map-reduce program that computes the number of words belonging to each of the

Question 5 (4 points) Given a text file as input, create a map-reduce program that computes the number of words belonging to each of the following categories: - Palindromes (words spelled the same forward and backward, e.g., "pop" or "madam") - Words beginning with a vowel (A, E, I, O, or U) - All words. You may assume that each input record corresponds to one line of text, and the words have already been split (tokenized) into an array of strings. The output of your program should be a collection of category, \# words tuples representing for each word category how many words were observed in the input. Note that the categories may overlap! Use the spaces below to implement your mapper and reducer functions in pseudocode: Python syntax is not necessary
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
