public class CustomExpt1TupleMatcher extends BasicTupleMatcher
nonAlphaNumericRegex
conceptMatcher
Constructor and Description |
---|
CustomExpt1TupleMatcher() |
Modifier and Type | Method and Description |
---|---|
String |
explainYourself()
Explains the matcher, by adding one additional rule to the basic matcher:
namely, consider "process" and "activity" equilvalent.
|
boolean |
generousStringMatch(String ss1,
String ss2)
Applies an optimistic algorithm to matching strings:
Ignore any characters other than [a-zA-Z0-9]
Ignore differences in upper or lower case
Accept if either is a substring of the other.
|
compare, scoreConcepts, scoreTupleMatch
bullet, getConceptMatcher, setConceptMatcher
isIgnoreCase, isVerboseEnabled, setIgnoreCase, setVerboseEnabled
public boolean generousStringMatch(String ss1, String ss2)
BasicTupleMatcher
generousStringMatch
in class BasicTupleMatcher
public String explainYourself()
explainYourself
in class BasicTupleMatcher