edu.umd.hooka.alignment
Class HadoopAlignConfig

java.lang.Object
  extended by org.apache.hadoop.conf.Configuration
      extended by edu.umd.hooka.alignment.HadoopAlignConfig
All Implemented Interfaces:
Iterable<Map.Entry<String,String>>, Writable

public class HadoopAlignConfig
extends Configuration


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.conf.Configuration
Configuration.IntegerRanges
 
Constructor Summary
HadoopAlignConfig()
           
HadoopAlignConfig(Configuration conf)
           
HadoopAlignConfig(String root, String e, String f, String bitexts, int model1Iters, int hmmIters, boolean useNull, boolean useVB, boolean useTruncate, float alpha)
           
 
Method Summary
 float getAlpha()
           
 Path getATablePath()
           
 String getBitexts()
           
 Language getE()
           
 Path getEVocPath()
           
 Language getF()
           
 Path getFVocPath()
           
 int getHMMIterations()
           
 double getHMMp0()
           
 int getMaxSentLen()
           
 int getModel1Iterations()
           
 Path getTestAlignmentsPath()
           
 Path getTestBitextPath()
           
 Path getTestRefPath()
           
 Path getTTablePath()
           
 boolean hasTestBitext()
           
 boolean hasTestRef()
           
 boolean includeNullWord()
           
 boolean isHMMHomogeneous()
           
 void setAlpha(float alpha)
           
 void setATablePath(Path p)
           
 void setBitexts(String value)
           
 void setE(Language e)
           
 void setEVocFile(Path p)
           
 void setF(Language f)
           
 void setFVocFile(Path p)
           
 void setHMMHomogeneous(boolean x)
           
 void setHMMIterations(int n)
           
 void setHMMp0(double p0)
           
 void setIncludeNullWord(boolean nw)
           
 void setMaxSentLen(int n)
           
 void setModel1Iterations(int n)
           
 void setTestAlignmentsPath(Path p)
           
 void setTestBitextPath(Path p)
           
 void setTestReferencePath(Path p)
           
 void setTTablePath(Path p)
           
 void setUseTruncate(boolean trunc)
           
 void setUseVariationalBayes(boolean vb)
           
 String toString()
           
 boolean useVariationalBayes()
           
 
Methods inherited from class org.apache.hadoop.conf.Configuration
addDefaultResource, addResource, addResource, addResource, addResource, clear, dumpConfiguration, get, get, getBoolean, getClass, getClass, getClassByName, getClasses, getClassLoader, getConfResourceAsInputStream, getConfResourceAsReader, getFile, getFloat, getInstances, getInt, getLocalPath, getLong, getPattern, getRange, getRaw, getResource, getStringCollection, getStrings, getStrings, getTrimmedStringCollection, getTrimmedStrings, getTrimmedStrings, iterator, main, readFields, reloadConfiguration, set, setBoolean, setBooleanIfUnset, setClass, setClassLoader, setFloat, setIfUnset, setInt, setLong, setPattern, setQuietMode, setStrings, size, write, writeXml
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HadoopAlignConfig

public HadoopAlignConfig()

HadoopAlignConfig

public HadoopAlignConfig(Configuration conf)

HadoopAlignConfig

public HadoopAlignConfig(String root,
                         String e,
                         String f,
                         String bitexts,
                         int model1Iters,
                         int hmmIters,
                         boolean useNull,
                         boolean useVB,
                         boolean useTruncate,
                         float alpha)
Method Detail

getMaxSentLen

public int getMaxSentLen()

getE

public Language getE()

getF

public Language getF()

getModel1Iterations

public int getModel1Iterations()

getHMMIterations

public int getHMMIterations()

getHMMp0

public double getHMMp0()

isHMMHomogeneous

public boolean isHMMHomogeneous()

useVariationalBayes

public boolean useVariationalBayes()

includeNullWord

public boolean includeNullWord()

getAlpha

public float getAlpha()

getBitexts

public String getBitexts()

getTestBitextPath

public Path getTestBitextPath()

hasTestBitext

public boolean hasTestBitext()

getTestRefPath

public Path getTestRefPath()

hasTestRef

public boolean hasTestRef()

getTestAlignmentsPath

public Path getTestAlignmentsPath()

getTTablePath

public Path getTTablePath()

getATablePath

public Path getATablePath()

getFVocPath

public Path getFVocPath()

getEVocPath

public Path getEVocPath()

setMaxSentLen

public void setMaxSentLen(int n)

setModel1Iterations

public void setModel1Iterations(int n)

setHMMIterations

public void setHMMIterations(int n)

setUseVariationalBayes

public void setUseVariationalBayes(boolean vb)

setUseTruncate

public void setUseTruncate(boolean trunc)

setIncludeNullWord

public void setIncludeNullWord(boolean nw)

setAlpha

public void setAlpha(float alpha)

setBitexts

public void setBitexts(String value)

setE

public void setE(Language e)

setF

public void setF(Language f)

setTestBitextPath

public void setTestBitextPath(Path p)

setTestAlignmentsPath

public void setTestAlignmentsPath(Path p)

setTestReferencePath

public void setTestReferencePath(Path p)

setTTablePath

public void setTTablePath(Path p)

setATablePath

public void setATablePath(Path p)

setEVocFile

public void setEVocFile(Path p)

setFVocFile

public void setFVocFile(Path p)

setHMMp0

public void setHMMp0(double p0)

setHMMHomogeneous

public void setHMMHomogeneous(boolean x)

toString

public String toString()
Overrides:
toString in class Configuration