[ Skip to the content ]

Institute of Formal and Applied Linguistics Wiki


[ Back to the navigation ]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
courses:mapreduce-tutorial:step-5 [2012/01/24 22:15]
straka
courses:mapreduce-tutorial:step-5 [2012/01/24 22:36]
straka
Line 37: Line 37:
 $runner->run(); $runner->run();
 </file> </file>
 +
 +===== Exercise 1 =====
 +
 +Run a MR job on /home/straka/wiki/cs-text-small, which counts occurences of every word in the article texts.
 +
 +{{:courses:mapreduce-tutorial:step-5-solution1.txt|Solution.pl}}
 +
 +===== Exercise 2 =====
 +
 +Run a MR job on /home/straka/wiki/cs-text-small, which generates an inverted index. Inverted index contains for each word all its occurrences, each occurrence is pair (article of occurrence, position of occurrence).
  

[ Back to the navigation ] [ Back to the content ]