public final class NGramTokenFilter extends TokenFilter
| Constructor and Description |
|---|
NGramTokenFilter() |
| 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.
|
NGramTokenFilter |
setMaxGram(Integer maxGram)
Set the maxGram property: The maximum n-gram length.
|
NGramTokenFilter |
setMinGram(Integer minGram)
Set the minGram property: The minimum n-gram length.
|
getName, setNamepublic Integer getMinGram()
public NGramTokenFilter setMinGram(Integer minGram)
minGram - the minGram value to set.public Integer getMaxGram()
public NGramTokenFilter setMaxGram(Integer maxGram)
maxGram - the maxGram value to set.Copyright © 2020 Microsoft Corporation. All rights reserved.