edu.umd.hooka.alignment
Class M1ViterbiExtract.M1ViterbiMapper
java.lang.Object
org.apache.hadoop.mapred.MapReduceBase
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>
M1ViterbiExtract.M1ViterbiMapper
public M1ViterbiExtract.M1ViterbiMapper()
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