public class LengthModelEstimate
extends java.lang.Object
cat.talp.lump.sim.lenMod.LengthModel
Constructor and Description |
---|
LengthModelEstimate() |
Modifier and Type | Method and Description |
---|---|
void |
display()
Display only estimation
|
void |
displayVerbose()
Display estimation, source and target sentences
|
double[] |
estimate() |
double[][] |
estimateMatrix()
Estimates the length factors of the sentences among them.
|
void |
setFiles(java.io.File srcFile,
java.io.File trgFile)
Set the input files to estimate the model from
|
void |
setMuSigma(double mu,
double sigma)
Set values for mu and sigma
|
void |
setVerbose(java.lang.Boolean verb)
Deprecated.
|
public double[] estimate()
public void displayVerbose()
public void display()
public double[][] estimateMatrix()
@Deprecated public void setVerbose(java.lang.Boolean verb)
public void setFiles(java.io.File srcFile, java.io.File trgFile)
srcFile
- trgFile
- public void setMuSigma(double mu, double sigma)
mu
- mean for the distributionsigma
- for the distribution