edu.umd.hooka
Class CorpusVocabNormalizerAndNumberizer.BitextCompilerMapper
java.lang.Object
org.apache.hadoop.mapred.MapReduceBase
edu.umd.hooka.CorpusVocabNormalizerAndNumberizer.BitextCompilerMapper
- All Implemented Interfaces:
- Closeable, JobConfigurable, Mapper<Text,Text,Text,PhrasePair>
- Enclosing class:
- CorpusVocabNormalizerAndNumberizer
public static class CorpusVocabNormalizerAndNumberizer.BitextCompilerMapper
- extends MapReduceBase
- implements Mapper<Text,Text,Text,PhrasePair>
CorpusVocabNormalizerAndNumberizer.BitextCompilerMapper
public CorpusVocabNormalizerAndNumberizer.BitextCompilerMapper()
configure
public void configure(JobConf job)
- Specified by:
configure in interface JobConfigurable- Overrides:
configure in class MapReduceBase
convertStrings
public int[] convertStrings(String[] s,
Vocab v)
close
public void close()
- Specified by:
close in interface Closeable- Overrides:
close in class MapReduceBase
map
public void map(Text key,
Text value,
OutputCollector<Text,PhrasePair> oc,
Reporter reporter)
throws IOException
- Specified by:
map in interface Mapper<Text,Text,Text,PhrasePair>
- Throws:
IOException