public final class EntityRecognitionSkill extends SearchIndexerSkill
Constructor and Description |
---|
EntityRecognitionSkill(List<InputFieldMappingEntry> inputs,
List<OutputFieldMappingEntry> outputs)
Creates an instance of EntityRecognitionSkill class.
|
EntityRecognitionSkill(List<InputFieldMappingEntry> inputs,
List<OutputFieldMappingEntry> outputs,
EntityRecognitionSkillVersion version)
Creates an instance of EntityRecognitionSkill class.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
areTypelessEntitiesIncluded()
Get the includeTypelessEntities property: Determines whether or not to include entities which are well known but
don't conform to a pre-defined type.
|
List<EntityCategory> |
getCategories()
Get the categories property: A list of entity categories that should be extracted.
|
EntityRecognitionSkillLanguage |
getDefaultLanguageCode()
Get the defaultLanguageCode property: A value indicating which language code to use.
|
Double |
getMinimumPrecision()
Get the minimumPrecision property: A value between 0 and 1 that be used to only include entities whose confidence
score is greater than the value specified.
|
String |
getModelVersion()
Get the modelVersion property: The version of the model to use when calling the Text Analytics service.
|
EntityRecognitionSkillVersion |
getSkillVersion()
Gets the version of the
EntityRecognitionSkill . |
EntityRecognitionSkill |
setCategories(EntityCategory... categories)
Set the categories property: A list of entity categories that should be extracted.
|
EntityRecognitionSkill |
setCategories(List<EntityCategory> categories)
Set the categories property: A list of entity categories that should be extracted.
|
EntityRecognitionSkill |
setDefaultLanguageCode(EntityRecognitionSkillLanguage defaultLanguageCode)
Set the defaultLanguageCode property: A value indicating which language code to use.
|
EntityRecognitionSkill |
setMinimumPrecision(Double minimumPrecision)
Set the minimumPrecision property: A value between 0 and 1 that be used to only include entities whose confidence
score is greater than the value specified.
|
EntityRecognitionSkill |
setModelVersion(String modelVersion)
Set the modelVersion property: The version of the model to use when calling the Text Analytics service.
|
EntityRecognitionSkill |
setTypelessEntitiesIncluded(Boolean includeTypelessEntities)
Set the includeTypelessEntities property: Determines whether or not to include entities which are well known but
don't conform to a pre-defined type.
|
getContext, getDescription, getInputs, getName, getOutputs, setContext, setDescription, setName
public EntityRecognitionSkill(List<InputFieldMappingEntry> inputs, List<OutputFieldMappingEntry> outputs)
inputs
- the inputs value to set.outputs
- the outputs value to set.public EntityRecognitionSkill(List<InputFieldMappingEntry> inputs, List<OutputFieldMappingEntry> outputs, EntityRecognitionSkillVersion version)
inputs
- the inputs value to set.outputs
- the outputs value to set.version
- the EntityRecognitionSkillVersion value to set.public EntityRecognitionSkillVersion getSkillVersion()
EntityRecognitionSkill
.EntityRecognitionSkill
.public List<EntityCategory> getCategories()
public EntityRecognitionSkill setCategories(List<EntityCategory> categories)
categories
- the categories value to set.public EntityRecognitionSkillLanguage getDefaultLanguageCode()
public EntityRecognitionSkill setDefaultLanguageCode(EntityRecognitionSkillLanguage defaultLanguageCode)
defaultLanguageCode
- the defaultLanguageCode value to set.public Boolean areTypelessEntitiesIncluded()
public EntityRecognitionSkill setTypelessEntitiesIncluded(Boolean includeTypelessEntities)
includeTypelessEntities
- the includeTypelessEntities value to set.IllegalArgumentException
- If includeTypelessEntities
is supplied when EntityRecognitionSkill.getSkillVersion()
is EntityRecognitionSkillVersion.V3
.public Double getMinimumPrecision()
public EntityRecognitionSkill setMinimumPrecision(Double minimumPrecision)
minimumPrecision
- the minimumPrecision value to set.public EntityRecognitionSkill setCategories(EntityCategory... categories)
categories
- the categories value to set.public String getModelVersion()
public EntityRecognitionSkill setModelVersion(String modelVersion)
modelVersion
- the modelVersion value to set.IllegalArgumentException
- If modelVersion
is supplied when EntityRecognitionSkill.getSkillVersion()
is EntityRecognitionSkillVersion.V1
.Copyright © 2021 Microsoft Corporation. All rights reserved.