|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.classifier4J.DefaultStopWordsProvider
Constructor Summary | |
DefaultStopWordsProvider()
|
Method Summary | |
java.lang.String[] |
getStopWords()
getter method which can be overridden to supply the stop words. |
boolean |
isStopWord(java.lang.String word)
Check if a word is a stop word |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DefaultStopWordsProvider()
Method Detail |
public java.lang.String[] getStopWords()
public boolean isStopWord(java.lang.String word)
IStopWordProvider
isStopWord
in interface IStopWordProvider
word
- The word to check
IStopWordProvider.isStopWord(java.lang.String)
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 |