|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectanl.aida.ae.lucene.StopWordFilter
public class StopWordFilter
Terms filter that filters out a predefined list of stop words.
Field Summary | |
---|---|
private java.util.Set<java.lang.String> |
stopSet
|
private java.lang.String[] |
stopWords
|
Constructor Summary | |
---|---|
StopWordFilter()
|
Method Summary | |
---|---|
boolean |
evaluate(org.apache.lucene.index.Term item)
Evaluates the term against the set of stop words. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.Set<java.lang.String> stopSet
private java.lang.String[] stopWords
Constructor Detail |
---|
public StopWordFilter()
Method Detail |
---|
public boolean evaluate(org.apache.lucene.index.Term item)
evaluate
in interface Filter<org.apache.lucene.index.Term>
item
- the item to evaluate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |