# A MR job uses counters to count the number of articles according to their # first letter (ignoring the case and possible diacritics). # rm -rf step-4-out-ex; perl step-4-exercise.pl /home/straka/wiki/cs-text-medium/ step-4-out-ex package My::Mapper; use Unicode::Normalize; use Moose; with 'Hadoop::Mapper'; sub map { my ($self, $key, $value, $context) = @_; # YOUR CODE HERE } package main; use Hadoop::Runner; my $runner = Hadoop::Runner->new( mapper => My::Mapper->new(), input_format => 'KeyValueTextInputFormat'); $runner->run();