|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vivoweb.harvester.score.algorithm.NormalizedDamerauLevenshteinDifference
public class NormalizedDamerauLevenshteinDifference
Normalized Damerau-Levenshtein Difference Score Algorithm
| Constructor Summary | |
|---|---|
NormalizedDamerauLevenshteinDifference()
|
|
| Method Summary | |
|---|---|
float |
calculate(java.lang.CharSequence itemX,
java.lang.CharSequence itemY)
Perform a calculation to determine what percent match the given Strings are |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NormalizedDamerauLevenshteinDifference()
| Method Detail |
|---|
public float calculate(java.lang.CharSequence itemX,
java.lang.CharSequence itemY)
Algorithm
calculate in interface AlgorithmitemX - compare this with the other StringitemY - compare this with the other String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||