public static < T extends Levenshtein > T weightedLevenshtein ( String baseTarget , CharacterSubstitution characterSubstitution ) { return weightedLevenshtein ( baseTarget , null , characterSubstitution ) ; }
Returns a new Weighted Levenshtein edit distance instance