public abstract class Translation extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DERIVATION |
static int |
NBEST |
Constructor and Description |
---|
Translation() |
Modifier and Type | Method and Description |
---|---|
int |
getCount() |
HMapSFW |
getDistributionOf(String srcToken) |
String |
getOriginalQuery() |
HMapSFW |
getPhraseDist() |
HMapSIW |
getSourceTokenCnt() |
Map<String,String> |
getStemMapping() |
Set<String> |
getTargetTokens() |
Map<String,HMapSFW> |
getTokenDist() |
abstract int |
getType() |
void |
setCount(int c) |
void |
setOriginalQuery(String o) |
void |
setPhraseDist(HMapSFW dist) |
void |
setSourceTokenCnt(HMapSIW sourceTokenCnt) |
void |
setStemMapping(Map<String,String> stemMapping) |
void |
setTargetTokens(Set<String> targetTokens) |
void |
setTokenDist(Map<String,HMapSFW> dist) |
public static final int DERIVATION
public static final int NBEST
public int getCount()
public String getOriginalQuery()
public HMapSFW getPhraseDist()
public HMapSIW getSourceTokenCnt()
public abstract int getType()
public void setCount(int c)
public void setOriginalQuery(String o)
public void setPhraseDist(HMapSFW dist)
public void setSourceTokenCnt(HMapSIW sourceTokenCnt)