public final class CustomAnalyzer extends Analyzer
| Constructor and Description |
|---|
CustomAnalyzer() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getCharFilters()
Get the charFilters property: A list of character filters used to
prepare input text before it is processed by the tokenizer.
|
List<String> |
getTokenFilters()
Get the tokenFilters property: A list of token filters used to filter
out or modify the tokens generated by a tokenizer.
|
String |
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<String> 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<String> tokenFilters)
Set the tokenFilters property: A list of token filters used to filter
out or modify the tokens generated by a tokenizer.
|
CustomAnalyzer |
setTokenizer(String 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 String getTokenizer()
public CustomAnalyzer setTokenizer(String tokenizer)
tokenizer - the tokenizer value to set.public List<String> getTokenFilters()
public CustomAnalyzer setTokenFilters(List<String> tokenFilters)
tokenFilters - the tokenFilters value to set.public List<String> getCharFilters()
public CustomAnalyzer setCharFilters(List<String> charFilters)
charFilters - the charFilters value to set.Copyright © 2020 Microsoft Corporation. All rights reserved.