public final class CustomNormalizer extends LexicalNormalizer
Constructor and Description |
---|
CustomNormalizer(String name)
Creates an instance of CustomNormalizer class.
|
Modifier and Type | Method and Description |
---|---|
List<CharFilterName> |
getCharFilters()
Get the charFilters property: A list of character filters used to prepare input text before it is processed.
|
List<TokenFilterName> |
getTokenFilters()
Get the tokenFilters property: A list of token filters used to filter out or modify the input token.
|
CustomNormalizer |
setCharFilters(CharFilterName... charFilters)
Set the charFilters property: A list of character filters used to prepare input text before it is processed.
|
CustomNormalizer |
setCharFilters(List<CharFilterName> charFilters)
Set the charFilters property: A list of character filters used to prepare input text before it is processed.
|
CustomNormalizer |
setTokenFilters(List<TokenFilterName> tokenFilters)
Set the tokenFilters property: A list of token filters used to filter out or modify the input token.
|
CustomNormalizer |
setTokenFilters(TokenFilterName... tokenFilters)
Set the tokenFilters property: A list of token filters used to filter out or modify the input token.
|
getName
public CustomNormalizer(String name)
name
- the name value to set.public List<TokenFilterName> getTokenFilters()
public CustomNormalizer setTokenFilters(List<TokenFilterName> tokenFilters)
tokenFilters
- the tokenFilters value to set.public List<CharFilterName> getCharFilters()
public CustomNormalizer setCharFilters(List<CharFilterName> charFilters)
charFilters
- the charFilters value to set.public CustomNormalizer setTokenFilters(TokenFilterName... tokenFilters)
tokenFilters
- the tokenFilters value to set.public CustomNormalizer setCharFilters(CharFilterName... charFilters)
charFilters
- the charFilters value to set.Copyright © 2021 Microsoft Corporation. All rights reserved.