weka.core
Class Stopwords
java.lang.Object
|
+--weka.core.Stopwords
- public class Stopwords
- extends java.lang.Object
Class that can test whether a given string is a stop word.
Lowercases all words before the test.
- Version:
- 1.0
- Author:
- Eibe Frank (eibe@cs.waikato.ac.nz), Ashraf M. Kibriya (amk14@cs.waikato.ac.nz)
Method Summary |
static boolean |
isStopword(java.lang.String str)
Returns true if the given string is a stop word. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Stopwords
public Stopwords()
isStopword
public static boolean isStopword(java.lang.String str)
- Returns true if the given string is a stop word.
Copyright (c)
2003 David Lindsay, Computer Learning Research Centre, Dept. Computer Science, Royal Holloway, University of London