-
weight
double[][] weight
Weight matrix for weighted Levenshtein distance.
-
r
double r
Radius of Sakoe-Chiba band
-
damerauDistance
boolean damerauDistance
Calculate Damerau or basic Levenshitein distance.
-
FKP
int[][] FKP
Cost matrix. Because Java automatically initialize arrays, it
is very time consuming to declare this cost matrix every time
before calculate edit distance. Therefore, I create this
cost matrix here. Note that methods using this cost matrix
is not multi-thread safe.
-
brf
smile.math.distance.EditDistance.BRF brf
The object to calculate FKP array.