public abstract class AbstractConceptMatcher extends AbstractMatcher
Constructor and Description |
---|
AbstractConceptMatcher() |
Modifier and Type | Method and Description |
---|---|
protected String |
bullet(String s)
Used in explainYourself methods
|
abstract String |
explainYourself()
An explanation of the matcher's particular algorithm
|
MatchDegree |
levelOfConceptMatch(Concept masterConcept,
Concept conceptToMatch)
Perform a possible comparison between two concepts.
|
abstract boolean |
referentsMatch(Concept masterConcept,
Concept conceptToMatch)
Performs whatever referent matching is required by the matcher.
|
abstract boolean |
typesMatch(Concept masterConcept,
Concept conceptToMatch)
Performs whatever type matching is required by the matcher.
|
isIgnoreCase, isVerboseEnabled, setIgnoreCase, setVerboseEnabled
protected String bullet(String s)
public MatchDegree levelOfConceptMatch(Concept masterConcept, Concept conceptToMatch)
masterConcept
- the concept considered to be the "correct" one (if any)conceptToMatch
- the candidate concept that we want to match to the master.public abstract boolean typesMatch(Concept masterConcept, Concept conceptToMatch)
masterConcept
- conceptToMatch
- public abstract boolean referentsMatch(Concept masterConcept, Concept conceptToMatch)
masterConcept
- conceptToMatch
- public abstract String explainYourself()
explainYourself
in class AbstractMatcher