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 an stopwords 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 stopwordspublic StopWordList.Builder stopwords(List<String> stopwords)
stopwords
- the stopwordsCopyright © 2023 IBM Cloud. All rights reserved.