it.unitn.disi.smatch.matchers.element
Class EvalELMatcher
java.lang.Object
it.unitn.disi.smatch.matchers.element.EvalELMatcher
- All Implemented Interfaces:
- IMatcherLibrary
public class EvalELMatcher
- extends java.lang.Object
- implements IMatcherLibrary
Matches acols of formulas for evaluation.
Expects the source and target to be the same context, preprocessed in a different way.
To be used with EvalTLMatcher for formulas evaluation.
- Author:
- Aliaksandr Autayeu avtaev@gmail.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EXACT_SENSE_MATCH
public static final char EXACT_SENSE_MATCH
- See Also:
- Constant Field Values
APPROXIMATE_SENSE_MATCH
public static final char APPROXIMATE_SENSE_MATCH
- See Also:
- Constant Field Values
SENSE_MISMATCH
public static final char SENSE_MISMATCH
- See Also:
- Constant Field Values
TOKEN_MATCH
public static final char TOKEN_MATCH
- See Also:
- Constant Field Values
LEMMA_MATCH
public static final char LEMMA_MATCH
- See Also:
- Constant Field Values
NO_SENSES
public static final char NO_SENSES
- See Also:
- Constant Field Values
EXTRA_SENSES
public static final char EXTRA_SENSES
- See Also:
- Constant Field Values
EvalELMatcher
public EvalELMatcher()
elementLevelMatching
public IMatchMatrix elementLevelMatching(IContext sourceContext,
IContext targetContext)
throws SMatchException
- Matches acols of same nodes.
- Specified by:
elementLevelMatching
in interface IMatcherLibrary
- Parameters:
sourceContext
- context to be evaluatedtargetContext
- golden context
- Returns:
- cLabMatrix
- Throws:
SMatchException
getRelation
public char getRelation(IAtomicConceptOfLabel sourceACoL,
IAtomicConceptOfLabel targetACoL)
© 2010 Knowdive @ DISI