Commands to run Mapper and Reducers
-
type input.txt | python3 mapper_WC.py | sort | python3 reducer_WC.py
(python3 subjective to the python version, also clone input.txt in same folder)
-
type inputMM.txt | python3 mapper_MM.py | sort | python3 reducer_MM.py