public final class FTToken extends Object
This class provides mapping tables for converting full-text tokens.
Modifier and Type | Method and Description |
---|---|
static byte[] |
noDiacritics(byte[] token)
Returns a token without diacritics.
|
static int |
noDiacritics(int cp)
Returns a codepoint without diacritics.
|
static boolean |
valid(int ch)
Returns true if the specified character is a valid full-text letter or digit.
|
public static boolean valid(int ch)
ch
- character to be testedpublic static byte[] noDiacritics(byte[] token)
token
- token to be normalizedpublic static int noDiacritics(int cp)
cp
- codepoint to be normalizedCopyright © 2005–2015 BaseX Team. All rights reserved.