public final class RecognizeEntitiesOptions extends TextAnalyticsRequestOptions
RecognizeEntitiesOptions
model.Constructor and Description |
---|
RecognizeEntitiesOptions() |
Modifier and Type | Method and Description |
---|---|
StringIndexType |
getStringIndexType()
Get the value of
stringIndexType . |
RecognizeEntitiesOptions |
setIncludeStatistics(boolean includeStatistics)
Set the value of
includeStatistics . |
RecognizeEntitiesOptions |
setModelVersion(String modelVersion)
Set the model version.
|
RecognizeEntitiesOptions |
setServiceLogsDisabled(boolean disableServiceLogs)
Set the value of
disableServiceLogs . |
RecognizeEntitiesOptions |
setStringIndexType(StringIndexType stringIndexType)
Set the value of
stringIndexType . |
getModelVersion, isIncludeStatistics, isServiceLogsDisabled
public RecognizeEntitiesOptions setModelVersion(String modelVersion)
setModelVersion
in class TextAnalyticsRequestOptions
modelVersion
- The model version.RecognizeEntitiesOptions
object itself.public RecognizeEntitiesOptions 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.RecognizeEntitiesOptions
object itself.public RecognizeEntitiesOptions 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.RecognizeEntitiesOptions
object itself.public StringIndexType getStringIndexType()
stringIndexType
.stringIndexType
.public RecognizeEntitiesOptions setStringIndexType(StringIndexType stringIndexType)
stringIndexType
.
The StringIndexType.UTF16CODE_UNIT
will be used as default type if there is no value assign to it.stringIndexType
- It used to set the value of string indexing type.RecognizeEntitiesOptions
object itself.Copyright © 2021 Microsoft Corporation. All rights reserved.