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