public final class CustomAnalyzer extends Analyzer
Constructor and Description |
---|
CustomAnalyzer() |
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 by the tokenizer.
|
List<TokenFilterName> |
getTokenFilters()
Get the tokenFilters property: A list of token filters used to filter
out or modify the tokens generated by a tokenizer.
|
TokenizerName |
getTokenizer()
Get the tokenizer property: The name of the tokenizer to use to divide
continuous text into a sequence of tokens, such as breaking a sentence
into words.
|
CustomAnalyzer |
setCharFilters(List<CharFilterName> charFilters)
Set the charFilters property: A list of character filters used to
prepare input text before it is processed by the tokenizer.
|
CustomAnalyzer |
setTokenFilters(List<TokenFilterName> tokenFilters)
Set the tokenFilters property: A list of token filters used to filter
out or modify the tokens generated by a tokenizer.
|
CustomAnalyzer |
setTokenizer(TokenizerName tokenizer)
Set the tokenizer property: The name of the tokenizer to use to divide
continuous text into a sequence of tokens, such as breaking a sentence
into words.
|
public TokenizerName getTokenizer()
public CustomAnalyzer setTokenizer(TokenizerName tokenizer)
tokenizer
- the tokenizer value to set.public List<TokenFilterName> getTokenFilters()
public CustomAnalyzer setTokenFilters(List<TokenFilterName> tokenFilters)
tokenFilters
- the tokenFilters value to set.public List<CharFilterName> getCharFilters()
public CustomAnalyzer setCharFilters(List<CharFilterName> charFilters)
charFilters
- the charFilters value to set.Copyright © 2020 Microsoft Corporation. All rights reserved.