|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.util.hash.ASet
org.basex.util.hash.TokenSet
org.basex.util.ft.StopWords
public final class StopWords
Simple stop words set for full-text requests.
Field Summary |
---|
Fields inherited from class org.basex.util.hash.TokenSet |
---|
keys |
Fields inherited from class org.basex.util.hash.ASet |
---|
bucket, next, size |
Constructor Summary | |
---|---|
StopWords()
Default constructor. |
|
StopWords(Data data,
java.lang.String file)
Constructor, reading stopword list from disk. |
Method Summary | |
---|---|
void |
comp(Data data)
Compiles the stop word list. |
boolean |
read(IO file,
boolean exclude)
Reads a stop words file. |
Methods inherited from class org.basex.util.hash.TokenSet |
---|
add, add, clear, contains, delete, hash, id, iterator, key, put, read, rehash, toString, write |
Methods inherited from class org.basex.util.hash.ASet |
---|
checkSize, isEmpty, size |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StopWords()
public StopWords(Data data, java.lang.String file) throws java.io.IOException
data
- data referencefile
- stopword list file
java.io.IOException
- I/O exceptionMethod Detail |
---|
public void comp(Data data)
data
- data referencepublic boolean read(IO file, boolean exclude)
file
- file referenceexclude
- exclude stop words
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |