public class StopList
extends java.lang.Object
Constructor and Description |
---|
StopList() |
StopList(java.io.File list)
Constructs a new stoplist from the contents of a file.
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(java.lang.String word)
Returns true if the word is in the stoplist.
|
boolean |
contains(Word word)
Returns true if the word is in the stoplist.
|
public StopList()
public StopList(java.io.File list)
public boolean contains(Word word)
public boolean contains(java.lang.String word)