public static final class ScoringClassMapBuilder.PropertyMatchingWeights extends Object
| Constructor and Description |
|---|
PropertyMatchingWeights() |
| Modifier and Type | Method and Description |
|---|---|
double |
commonWordCount() |
ScoringClassMapBuilder.PropertyMatchingWeights |
commonWordCount(double weight)
Set the weight associated with the number of words found in common
between two property expressions
|
double |
containsName() |
ScoringClassMapBuilder.PropertyMatchingWeights |
containsName(double weight)
Set the weight associated with one property containing the
entire name of another property.
|
double |
editDistance() |
ScoringClassMapBuilder.PropertyMatchingWeights |
editDistance(double weight)
Set the weight associated with the edit distance between words in two property expressions
|
double |
minimumScore() |
ScoringClassMapBuilder.PropertyMatchingWeights |
minimumScore(double weight)
Set the weight applied to the minimum score needed to accept a given match; setting higher
values makes the matching more restrictive, lower scores make matching more lenient.
|
double |
nestedDepth() |
ScoringClassMapBuilder.PropertyMatchingWeights |
nestedDepth(double weight)
Set the weight modifier associated with a property word's edit distance based on
it's nesting depth; higher values here causes the matching to be more focused toward
the final name of a nested property, lower values focus on the entire name more evenly
|
double |
typeMatch() |
ScoringClassMapBuilder.PropertyMatchingWeights |
typeMatch(double weight)
Set the weight associated with one property matching the type of the other
|
double |
unmatchedWords() |
ScoringClassMapBuilder.PropertyMatchingWeights |
unmatchedWords(double weight)
Set the weight associated with the number of unmatched words between two property expressions
|
public double commonWordCount()
public ScoringClassMapBuilder.PropertyMatchingWeights commonWordCount(double weight)
weight - the weight associated with the number of words found in commonpublic double containsName()
public ScoringClassMapBuilder.PropertyMatchingWeights containsName(double weight)
weight - the weight associated with one property containing the
entire name of another propertypublic double typeMatch()
public ScoringClassMapBuilder.PropertyMatchingWeights typeMatch(double weight)
weight - the weight associated with one property matching the type of the otherpublic double nestedDepth()
public ScoringClassMapBuilder.PropertyMatchingWeights nestedDepth(double weight)
weight - the weight modifier associated with a property word's edit distance based on
it's nesting depthpublic double unmatchedWords()
public ScoringClassMapBuilder.PropertyMatchingWeights unmatchedWords(double weight)
weight - the weight associated with the number of unmatched words between two property expressionspublic double editDistance()
public ScoringClassMapBuilder.PropertyMatchingWeights editDistance(double weight)
weight - the weight associated with the edit distance between words in two property expressionspublic double minimumScore()
public ScoringClassMapBuilder.PropertyMatchingWeights minimumScore(double weight)
weight - the weight applied to the minimum score needed to accept a given matchCopyright © 2016 Glasnost. All rights reserved.