getSnowballWordSet
Reads stopwords from a stopword list in Snowball format.
The snowball format is the following:
Lines may contain multiple words separated by whitespace.
The comment character is the vertical line (|).
Lines may contain trailing comments.
Return
the given CharArraySet with the reader's words
Parameters
Reader containing a Snowball stopword list
the CharArraySet to fill with the readers words
Reads stopwords from a stopword list in Snowball format.
The snowball format is the following:
Lines may contain multiple words separated by whitespace.
The comment character is the vertical line (|).
Lines may contain trailing comments.
Return
An unmodifiable CharArraySet with the reader's words
Parameters
Reader containing a Snowball stopword list
Reads stopwords from a stopword list in Snowball format.
The snowball format is the following:
Lines may contain multiple words separated by whitespace.
The comment character is the vertical line (|).
Lines may contain trailing comments.
Return
An unmodifiable CharArraySet with the reader's words
Parameters
InputStream in UTF-8 encoding containing a Snowball stopword list
Reads stopwords from a stopword list in Snowball format.
The snowball format is the following:
Lines may contain multiple words separated by whitespace.
The comment character is the vertical line (|).
Lines may contain trailing comments.
Return
An unmodifiable CharArraySet with the reader's words
Parameters
InputStream containing a Snowball stopword list
Charset of the stopword list