public final class AnalyzeRequest extends Object
Constructor and Description |
---|
AnalyzeRequest() |
Modifier and Type | Method and Description |
---|---|
AnalyzerName |
getAnalyzer()
Get the analyzer property: The name of the analyzer to use to break the
given text.
|
List<CharFilterName> |
getCharFilters()
Get the charFilters property: An optional list of character filters to
use when breaking the given text.
|
String |
getText()
Get the text property: The text to break into tokens.
|
List<TokenFilterName> |
getTokenFilters()
Get the tokenFilters property: An optional list of token filters to use
when breaking the given text.
|
TokenizerName |
getTokenizer()
Get the tokenizer property: The name of the tokenizer to use to break
the given text.
|
AnalyzeRequest |
setAnalyzer(AnalyzerName analyzer)
Set the analyzer property: The name of the analyzer to use to break the
given text.
|
AnalyzeRequest |
setCharFilters(List<CharFilterName> charFilters)
Set the charFilters property: An optional list of character filters to
use when breaking the given text.
|
AnalyzeRequest |
setText(String text)
Set the text property: The text to break into tokens.
|
AnalyzeRequest |
setTokenFilters(List<TokenFilterName> tokenFilters)
Set the tokenFilters property: An optional list of token filters to use
when breaking the given text.
|
AnalyzeRequest |
setTokenizer(TokenizerName tokenizer)
Set the tokenizer property: The name of the tokenizer to use to break
the given text.
|
public String getText()
public AnalyzeRequest setText(String text)
text
- the text value to set.public AnalyzerName getAnalyzer()
public AnalyzeRequest setAnalyzer(AnalyzerName analyzer)
analyzer
- the analyzer value to set.public TokenizerName getTokenizer()
public AnalyzeRequest setTokenizer(TokenizerName tokenizer)
tokenizer
- the tokenizer value to set.public List<TokenFilterName> getTokenFilters()
public AnalyzeRequest setTokenFilters(List<TokenFilterName> tokenFilters)
tokenFilters
- the tokenFilters value to set.public List<CharFilterName> getCharFilters()
public AnalyzeRequest setCharFilters(List<CharFilterName> charFilters)
charFilters
- the charFilters value to set.Copyright © 2020 Microsoft Corporation. All rights reserved.