|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.index.IndexToken
org.basex.index.FTTokenizer
public final class FTTokenizer
Full-text tokenizer.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.basex.index.IndexToken |
---|
IndexToken.Type |
Field Summary | |
---|---|
boolean |
cs
Sensitivity flag. |
boolean |
dc
Diacritics flag. |
boolean |
fz
Fuzzy flag. |
boolean |
lc
Lowercase flag. |
boolean |
lp
Flag for loading ftposition data. |
int |
p
Current character position. |
int |
para
Current paragraph. |
int |
pos
Current token. |
int |
s
Character start position. |
int |
sent
Current sentence. |
boolean |
st
Stemming flag. |
boolean |
uc
Uppercase flag. |
boolean |
wc
Wildcard flag. |
Fields inherited from class org.basex.index.IndexToken |
---|
text, type |
Constructor Summary | |
---|---|
FTTokenizer()
Empty constructor. |
|
FTTokenizer(byte[] txt)
Constructor. |
Method Summary | |
---|---|
int |
count()
Counts the number of tokens. |
byte[] |
get()
Returns the current index token. |
TokenList |
getTokenList()
Converts the tokens to a TokenList. |
void |
init()
Initializes the iterator. |
void |
init(byte[] txt)
Sets the text. |
boolean |
more()
Checks if more tokens are to be returned. |
int |
size()
Returns the text size. |
java.lang.String |
toString()
|
Methods inherited from class org.basex.index.IndexToken |
---|
range |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean st
public boolean dc
public boolean cs
public boolean uc
public boolean lc
public boolean wc
public boolean fz
public boolean lp
public int sent
public int para
public int pos
public int p
public int s
Constructor Detail |
---|
public FTTokenizer()
public FTTokenizer(byte[] txt)
txt
- textMethod Detail |
---|
public void init(byte[] txt)
txt
- textpublic void init()
public boolean more()
public byte[] get()
IndexToken
FTTokenizer
.
get
in class IndexToken
public int count()
public int size()
public TokenList getTokenList()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |