Explanation:Each call to the mapper passes in the full set of tokens for the corresponding document using a StringTuple. 9. A key of type ___________ is generated which is used later to join ngrams with their heads and tails in the reducer phase.
A. GramKey
B. Primary
C. Secondary
D. None of the mentioned
Answer:A
Explanation:Each call to the mapper passes in the full set of tokens for the corresponding document using a StringTuple. 9. A key of type ___________ is generated which is used later to join ngrams with their heads and tails in the reducer phase.
A. GramKey B. Primary C. Secondary D. None of the mentioned
Explanation:The GramKey is a composite key made up of a string n-gram fragment as the primary key and a secondary key used for grouping and sorting in the reduce phase. 10. ________ phase merges the counts for unique ngrams or ngram fragments across multiple documents.