public class BasicConceptMatcher extends AbstractConceptMatcher
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
matchReferents |
| Constructor and Description |
|---|
BasicConceptMatcher() |
| Modifier and Type | Method and Description |
|---|---|
String |
explainYourself()
Give a description of the rules used, in HTML.
|
boolean |
isIgnoreCase() |
boolean |
isMatchReferents() |
boolean |
referentsMatch(Concept masterConcept,
Concept conceptToMatch)
The routine used for comparing referents.
|
void |
setIgnoreCase(boolean ignoreCase) |
void |
setMatchReferents(boolean matchReferents)
Tells the matcher whether to bother matching referents or not.
|
boolean |
stringsEqual(String s1,
String s2)
The routine used for comparing strings.
|
boolean |
typesMatch(Concept masterConcept,
Concept conceptToMatch)
The routine used for comparing types.
|
bullet, levelOfConceptMatchisVerboseEnabled, setVerboseEnabledpublic void setMatchReferents(boolean matchReferents)
matchReferents - public boolean isMatchReferents()
public boolean isIgnoreCase()
isIgnoreCase in class AbstractMatcherpublic void setIgnoreCase(boolean ignoreCase)
setIgnoreCase in class AbstractMatcherpublic boolean stringsEqual(String s1,
String s2)
s1 - s2 - public boolean referentsMatch(Concept masterConcept, Concept conceptToMatch)
referentsMatch in class AbstractConceptMatchermasterConcept - First concept. In some operations, it may be considered
a master concept for non-symmetric matching.conceptToMatch - Second concept.public boolean typesMatch(Concept masterConcept, Concept conceptToMatch)
typesMatch in class AbstractConceptMatchermasterConcept - First concept. In some operations, it may be considered
a master concept for non-symmetric matching.conceptToMatch - Second concept.public String explainYourself()
explainYourself in class AbstractConceptMatcher