public static class SyntaxOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
SyntaxOptions |
build()
Builds a SyntaxOptions.
|
SyntaxOptions.Builder |
sentences(Boolean sentences)
Set the sentences.
|
SyntaxOptions.Builder |
tokens(SyntaxOptionsTokens tokens)
Set the tokens.
|
public SyntaxOptions build()
public SyntaxOptions.Builder tokens(SyntaxOptionsTokens tokens)
tokens
- the tokenspublic SyntaxOptions.Builder sentences(Boolean sentences)
sentences
- the sentencesCopyright © 2021 IBM Cloud. All rights reserved.