## Uses of Class
org.apache.mahout.vectorizer.collocations.llr.GramKey

Packages that use GramKey
org.apache.mahout.vectorizer.collocations.llr

Uses of GramKey in org.apache.mahout.vectorizer.collocations.llr

Methods in org.apache.mahout.vectorizer.collocations.llr with parameters of type GramKey
`int` `GramKeyPartitioner.getPartition(GramKey key, Gram value, int numPartitions)`
`protected void` `CollocReducer.processSubgram(GramKey key, java.util.Iterator<Gram> values, org.apache.hadoop.mapreduce.Reducer.Context context)` Sum frequencies for subgram, ngrams and deliver ngram, subgram pairs to the collector.
`protected void` `CollocReducer.processUnigram(GramKey key, java.util.Iterator<Gram> values, org.apache.hadoop.mapreduce.Reducer.Context context)` Sum frequencies for unigrams and deliver to the collector
`protected void` `CollocReducer.reduce(GramKey key, java.lang.Iterable<Gram> values, org.apache.hadoop.mapreduce.Reducer.Context context)` collocation finder: pass 1 reduce phase: given input from the mapper,
`protected void` `CollocCombiner.reduce(GramKey key, java.lang.Iterable<Gram> values, org.apache.hadoop.mapreduce.Reducer.Context context)`

Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.