public final class ExtractKeyPhrasesOptions extends TextAnalyticsRequestOptions
ExtractKeyPhrasesOptions
model.Constructor and Description |
---|
ExtractKeyPhrasesOptions() |
Modifier and Type | Method and Description |
---|---|
ExtractKeyPhrasesOptions |
setIncludeStatistics(boolean includeStatistics)
Set the value of
includeStatistics . |
ExtractKeyPhrasesOptions |
setModelVersion(String modelVersion)
Set the model version.
|
ExtractKeyPhrasesOptions |
setServiceLogsDisabled(boolean disableServiceLogs)
Set the value of
disableServiceLogs . |
getModelVersion, isIncludeStatistics, isServiceLogsDisabled
public ExtractKeyPhrasesOptions setModelVersion(String modelVersion)
setModelVersion
in class TextAnalyticsRequestOptions
modelVersion
- The model version.ExtractKeyPhrasesOptions
object itself.public ExtractKeyPhrasesOptions setIncludeStatistics(boolean includeStatistics)
includeStatistics
. The default value is false by default.
If set to true, indicates that the service should return document and document batch statistics
with the results of the operation.setIncludeStatistics
in class TextAnalyticsRequestOptions
includeStatistics
- If a boolean value was specified in the request this field will contain
information about the document payload.ExtractKeyPhrasesOptions
object itself.public ExtractKeyPhrasesOptions setServiceLogsDisabled(boolean disableServiceLogs)
disableServiceLogs
.setServiceLogsDisabled
in class TextAnalyticsRequestOptions
disableServiceLogs
- The default value of this property is 'false', except for methods like
'beginAnalyzeHealthcareEntities' and 'recognizePiiEntities'. This means, Text Analytics service logs
your input text for 48 hours, solely to allow for troubleshooting issues. Setting this property to true,
disables input logging and may limit our ability to investigate issues that occur.ExtractKeyPhrasesOptions
object itself.Copyright © 2021 Microsoft Corporation. All rights reserved.