new EnHybridDistanceConstructor(phoneticWeightPercentage: number): Distance<DistanceInput> & { phoneticWeightPercentage: number }
Create an English hybrid distance.
memberof
EnHybridDistanceConstructor
Parameters
phoneticWeightPercentage: number
Between 0 and 1. Weighting trade-off between the phonetic
distance and the lexical distance scores. 1 meaning 100% phonetic score and 0% lexical score.
Constructs a distance metric that weighs between an English phonetic distance and string distance.
EnHybridDistanceConstructor