edu.umd.hooka.alignment
Class M1ViterbiExtract.M1ViterbiMapper

java.lang.Object
  extended by org.apache.hadoop.mapred.MapReduceBase
      extended by edu.umd.hooka.alignment.M1ViterbiExtract.M1ViterbiMapper
All Implemented Interfaces:
Closeable, JobConfigurable, Mapper<IntWritable,PhrasePair,IntWritable,Text>
Enclosing class:
M1ViterbiExtract

public static class M1ViterbiExtract.M1ViterbiMapper
extends MapReduceBase
implements Mapper<IntWritable,PhrasePair,IntWritable,Text>


Constructor Summary
M1ViterbiExtract.M1ViterbiMapper()
           
 
Method Summary
 void close()
           
 void map(IntWritable key, PhrasePair value, OutputCollector<IntWritable,Text> output, Reporter reporter)
           
 
Methods inherited from class org.apache.hadoop.mapred.MapReduceBase
configure
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.mapred.JobConfigurable
configure
 

Constructor Detail

M1ViterbiExtract.M1ViterbiMapper

public M1ViterbiExtract.M1ViterbiMapper()
Method Detail

map

public void map(IntWritable key,
                PhrasePair value,
                OutputCollector<IntWritable,Text> output,
                Reporter reporter)
         throws IOException
Specified by:
map in interface Mapper<IntWritable,PhrasePair,IntWritable,Text>
Throws:
IOException

close

public void close()
Specified by:
close in interface Closeable
Overrides:
close in class MapReduceBase