Java Reference
In-Depth Information
A
simple
approach
create
class
hold
remove
stopwords
.
Notice that although the letter, "
A
" is a stopword, it was not removed from the list. This is
because the stopword list uses a lowercase 'a' and not an uppercase 'A'. As a result, it
missed the word. We will correct this problem in the section
Normalizing using a pipeline
,
later in the chapter.