public final class EdgeNGramTokenFilter extends TokenFilter
Constructor and Description |
---|
EdgeNGramTokenFilter(String name)
Constructor of
TokenFilter . |
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.
|
EdgeNGramTokenFilterSide |
getSide()
Get the side property: Specifies which side of the input the n-gram
should be generated from.
|
EdgeNGramTokenFilter |
setMaxGram(Integer maxGram)
Set the maxGram property: The maximum n-gram length.
|
EdgeNGramTokenFilter |
setMinGram(Integer minGram)
Set the minGram property: The minimum n-gram length.
|
EdgeNGramTokenFilter |
setSide(EdgeNGramTokenFilterSide side)
Set the side property: Specifies which side of the input the n-gram
should be generated from.
|
getName
public EdgeNGramTokenFilter(String name)
TokenFilter
.name
- The name of the token filter. It must only contain letters, digits,
spaces, dashes or underscores, can only start and end with alphanumeric
characters, and is limited to 128 characters.public Integer getMinGram()
public EdgeNGramTokenFilter setMinGram(Integer minGram)
minGram
- the minGram value to set.public Integer getMaxGram()
public EdgeNGramTokenFilter setMaxGram(Integer maxGram)
maxGram
- the maxGram value to set.public EdgeNGramTokenFilterSide getSide()
public EdgeNGramTokenFilter setSide(EdgeNGramTokenFilterSide side)
side
- the side value to set.Copyright © 2021 Microsoft Corporation. All rights reserved.