public final class NGramTokenizer extends Tokenizer
Constructor and Description |
---|
NGramTokenizer() |
Modifier and Type | Method and Description |
---|---|
Integer |
getMaxGram()
Get the maxGram property: The maximum n-gram length.
|
Integer |
getMinGram()
Get the minGram property: The minimum n-gram length.
|
List<TokenCharacterKind> |
getTokenChars()
Get the tokenChars property: Character classes to keep in the tokens.
|
NGramTokenizer |
setMaxGram(Integer maxGram)
Set the maxGram property: The maximum n-gram length.
|
NGramTokenizer |
setMinGram(Integer minGram)
Set the minGram property: The minimum n-gram length.
|
NGramTokenizer |
setTokenChars(List<TokenCharacterKind> tokenChars)
Set the tokenChars property: Character classes to keep in the tokens.
|
public Integer getMinGram()
public NGramTokenizer setMinGram(Integer minGram)
minGram
- the minGram value to set.public Integer getMaxGram()
public NGramTokenizer setMaxGram(Integer maxGram)
maxGram
- the maxGram value to set.public List<TokenCharacterKind> getTokenChars()
public NGramTokenizer setTokenChars(List<TokenCharacterKind> tokenChars)
tokenChars
- the tokenChars value to set.Copyright © 2020 Microsoft Corporation. All rights reserved.