*/
@Override
protected void map(Text key, StringTuple value, final Context context) throws IOException, InterruptedException {
ShingleFilter sf = new ShingleFilter(new IteratorTokenStream(value.getEntries().iterator()), maxShingleSize);
sf.reset();
try {
int count = 0; // ngram count
OpenObjectIntHashMap<String> ngrams =
new OpenObjectIntHashMap<String>(value.getEntries().size() * (maxShingleSize - 1));