|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dfleischhacker.uni.thesis.semantic.nullsemantic.NullSemantic
public class NullSemantic
Implements the null semantic. This semantic is used to do no reasoning or altering of the alignment at all but return every alignment passed into the semantic as is. Thus, it is possible to compute the classical precision and recall measures with our architecture designed for semantics. As an implication of this design this method does not pose any restrictions on the correspondences contained in the alignments.
Constructor Summary | |
---|---|
NullSemantic()
Initializes the NullSemantic object. |
Method Summary | |
---|---|
ClosureResult |
getClosure(Alignment align)
Returns the given alignment (packed in a ClosureResult) as is which enables us to compute the classical precision and recall measures. |
void |
setDeleteABox(boolean delete)
Does nothing for the null semantic |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullSemantic()
Method Detail |
---|
public ClosureResult getClosure(Alignment align)
getClosure
in interface SemanticModule
align
- alignment to return
public void setDeleteABox(boolean delete)
setDeleteABox
in interface SemanticModule
delete
- unused
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |