public static class SyntaxOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
SyntaxOptions.Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
SyntaxOptions |
build()
Builds a SyntaxOptions.
|
SyntaxOptions.Builder |
sentences(java.lang.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(java.lang.Boolean sentences)
sentences
- the sentences