Uses of Class
org.apache.mahout.utils.nlp.collocations.llr.GramKey

Packages that use GramKey
org.apache.mahout.utils.nlp.collocations.llr   
 

Uses of GramKey in org.apache.mahout.utils.nlp.collocations.llr
 

Methods in org.apache.mahout.utils.nlp.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.mapred.OutputCollector<Gram,Gram> output, org.apache.hadoop.mapred.Reporter reporter)
          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.mapred.OutputCollector<Gram,Gram> output, org.apache.hadoop.mapred.Reporter reporter)
          Sum frequencies for unigrams and deliver to the collector
 void CollocReducer.reduce(GramKey key, java.util.Iterator<Gram> values, org.apache.hadoop.mapred.OutputCollector<Gram,Gram> output, org.apache.hadoop.mapred.Reporter reporter)
          collocation finder: pass 1 reduce phase:

given input from the mapper,

 void CollocCombiner.reduce(GramKey key, java.util.Iterator<Gram> values, org.apache.hadoop.mapred.OutputCollector<GramKey,Gram> output, org.apache.hadoop.mapred.Reporter reporter)
           
 

Method parameters in org.apache.mahout.utils.nlp.collocations.llr with type arguments of type GramKey
 void CollocMapper.map(org.apache.hadoop.io.Text key, StringTuple value, org.apache.hadoop.mapred.OutputCollector<GramKey,Gram> collector, org.apache.hadoop.mapred.Reporter reporter)
          Collocation finder: pass 1 map phase.
 void CollocCombiner.reduce(GramKey key, java.util.Iterator<Gram> values, org.apache.hadoop.mapred.OutputCollector<GramKey,Gram> output, org.apache.hadoop.mapred.Reporter reporter)
           
 



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