public static class BerkeleyAligner.AlignmentResult extends java.lang.Object implements CorpusAlignment
MonolingualCorpus
es by
BerkeleyAligner
. It implements the CorpusAlignment
interface and provides methods to get the lexical weightings in both
directions.Modifier and Type | Method and Description |
---|---|
LexicalWeighting |
getSrcToTrgLexicalWeighting()
Returns the lexical weighting from source to target.
|
LexicalWeighting |
getTrgToSrcLexicalWeighting()
Returns the lexical weighting from target to source.
|
java.util.Iterator<Alignment> |
iterator() |
public LexicalWeighting getSrcToTrgLexicalWeighting()
public LexicalWeighting getTrgToSrcLexicalWeighting()