@ SuppressWarnings ( "unchecked" ) public static < T extends Levenshtein > T jaroWinkler ( String baseTarget , String compareTarget ) { return ( T ) new JaroWinkler ( baseTarget ) . update ( compareTarget ) ; }
Returns a new Jaro - Winkler similarity instance with compare target string