public class PorterStopWordFilter extends java.lang.Object implements AdornedWordFilter
These English stop words were suggested by Martin Porter.
| Modifier and Type | Field and Description |
|---|---|
protected static StopWords |
stopWords
Stop words.
|
| Constructor and Description |
|---|
PorterStopWordFilter()
Create the stop word filter.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(AdornedWord adornedWord)
Tests if a specified adorned word should be included.
|
protected static StopWords stopWords
public boolean accept(AdornedWord adornedWord)
accept in interface AdornedWordFilteradornedWord - The adorned word to check.