Package edu.odu.cs.cs350
Class WordFilter
java.lang.Object
edu.odu.cs.cs350.WordFilter
Class to test a String against a list of common words.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
WordFilter
public WordFilter()
-
-
Method Details
-
contains
Check if a word is in the stop word list.- Parameters:
word- the word to check- Returns:
- true if the word is a stop word, false otherwise
-