public class MatchFormula extends MatchBase implements Serializable
gradient, isMandatory, logger, maxScore, maxWidth, minWidth, partialKeys, ruleFunction, ruleSet, typeMATCH_CLOSE, MATCH_EXACT, MATCH_FAR, MATCH_MED, MATCH_VCLOSE, MATCH_VFAR, NARROW, STANDARD, WIDE| Constructor and Description |
|---|
MatchFormula(String ruleFunction) |
MatchFormula(String ruleFunction,
int minwidth,
int maxwidth) |
MatchFormula(String ruleFunction,
int minwidth,
int maxwidth,
String keyField) |
| Modifier and Type | Method and Description |
|---|---|
double |
calculateComparisonScore(Standardized stdBase,
Standardized stdComp,
boolean isSearch,
boolean asContent) |
String |
getKey(String word) |
Standardized |
standardise(String originalText,
String[] words) |
allCombs, compressInitials, getAlternateWords, getKeyAnon, getKeyCv, getKeyLookup, getKeys, getKeys, getKeys, getMaxWidth, getMinWidth, getPurposeKeys, getRuleAnon, getRuleCv, getRuleLookup, getStandardClass, getType, init, isMandatory, isTextIndex, processKey, processKeyInOrder, setGradient, setMandatory, setRuleFunction, setRuleSet, setType, sha256public MatchFormula(String ruleFunction, int minwidth, int maxwidth) throws Exception
Exceptionpublic MatchFormula(String ruleFunction, int minwidth, int maxwidth, String keyField) throws Exception
Exceptionpublic MatchFormula(String ruleFunction)
public double calculateComparisonScore(Standardized stdBase, Standardized stdComp, boolean isSearch, boolean asContent)
calculateComparisonScore in interface MatchProcInterfacecalculateComparisonScore in class MatchBasepublic Standardized standardise(String originalText, String[] words)
standardise in interface MatchProcInterfacestandardise in class MatchBaseCopyright © 2021. All rights reserved.