|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.umd.hooka.alignment.HadoopAlign
public class HadoopAlign
General EM training framework for word alignment models.
| Nested Class Summary | |
|---|---|
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 Summary | |
|---|---|
HadoopAlign()
|
|
| Method Summary | |
|---|---|
static void |
doAlignment(int mapTasks,
int reduceTasks,
HadoopAlignConfig hac)
|
static ATable |
loadATable(Path path,
Configuration job)
|
static Vocab |
loadVocab(Path path,
Configuration job)
|
static Vocab |
loadVocab(Path path,
FileSystem fileSys)
|
static void |
main(String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HadoopAlign()
| Method Detail |
|---|
public static ATable loadATable(Path path,
Configuration job)
throws IOException
IOException
public static Vocab loadVocab(Path path,
Configuration job)
throws IOException
IOException
public static Vocab loadVocab(Path path,
FileSystem fileSys)
throws IOException
IOException
public static void doAlignment(int mapTasks,
int reduceTasks,
HadoopAlignConfig hac)
throws IOException
IOException
public static void main(String[] args)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||