|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.basex.util.Levenshtein
public final class Levenshtein
This class assembles methods for fuzzy token matching.
| Method Summary | |
|---|---|
static boolean |
contains(byte[] tok,
byte[] sub)
Checks if the first token approximately contains the second fulltext term. |
static boolean |
similar(byte[] tok,
byte[] sub)
Compares two character arrays for similarity. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean contains(byte[] tok,
byte[] sub)
tok - first tokensub - second token
public static boolean similar(byte[] tok,
byte[] sub)
tok - token to be comparedsub - second token to be compared
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||