public class HadoopAlign extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
HadoopAlign.AEListener |
static class |
HadoopAlign.AlignMapper |
static class |
HadoopAlign.AlignmentBase |
static class |
HadoopAlign.AlignmentEvalEnum |
static class |
HadoopAlign.EMapper |
static class |
HadoopAlign.EMReducer |
static class |
HadoopAlign.FileReaderZip
Basic implementation: assume keys are IntWritable, values are Phrase
Better implementation: use Java Generics to templatize, ie.
|
static class |
HadoopAlign.ModelMergeMapper |
| Constructor and Description |
|---|
HadoopAlign() |
| Modifier and Type | Method and Description |
|---|---|
static void |
doAlignment(int mapTasks,
int reduceTasks,
HadoopAlignConfig hac) |
static ATable |
loadATable(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration job) |
static Vocab |
loadVocab(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration job) |
static Vocab |
loadVocab(org.apache.hadoop.fs.Path path,
org.apache.hadoop.fs.FileSystem fileSys) |
static void |
main(String[] args) |
public static ATable loadATable(org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration job) throws IOException
IOExceptionpublic static Vocab loadVocab(org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration job) throws IOException
IOExceptionpublic static Vocab loadVocab(org.apache.hadoop.fs.Path path, org.apache.hadoop.fs.FileSystem fileSys) throws IOException
IOExceptionpublic static void doAlignment(int mapTasks,
int reduceTasks,
HadoopAlignConfig hac)
throws IOException
IOExceptionpublic static void main(String[] args) throws IOException
IOExceptionCopyright © 2015. All rights reserved.