public class StringEditDistance extends Object
Modifier and Type | Method and Description |
---|---|
static int |
editDistance(String a,
String b)
Computes the edit distance between two strings.
|
static String |
findNearest(String key,
String[] group)
Finds the string in the
group closest to
key and returns it. |
Copyright © 2020. All rights reserved.