public static class StopWordList.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(List<String> stopwords)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
StopWordList.Builder |
addStopwords(String stopwords)
Adds a new element to stopwords.
|
StopWordList |
build()
Builds a StopWordList.
|
StopWordList.Builder |
stopwords(List<String> stopwords)
Set the stopwords.
|
public StopWordList build()
public StopWordList.Builder addStopwords(String stopwords)
stopwords
- the new element to be addedpublic StopWordList.Builder stopwords(List<String> stopwords)
stopwords
- the stopwordsCopyright © 2024 IBM Cloud. All rights reserved.