cc.mallet.util
Class Strings
java.lang.Object
cc.mallet.util.Strings
public final class Strings
- extends java.lang.Object
Static utility methods for Strings
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Strings
public Strings()
commonPrefixIndex
public static int commonPrefixIndex(java.lang.String[] strings)
commonPrefix
public static java.lang.String commonPrefix(java.lang.String[] strings)
count
public static int count(java.lang.String string,
char ch)
levenshteinDistance
public static double levenshteinDistance(java.lang.String s,
java.lang.String t)