EntityLinkingSkill Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. SearchIndexerSkill - com.
azure. search. documents. indexes. models. EntityLinkingSkill
- com.
- com.
public final class EntityLinkingSkill
extends SearchIndexerSkill
Using the Text Analytics API, extracts linked entities from text.
Constructor | Description |
---|---|
Entity |
Creates an instance of Entity |
Modifier and Type | Method and Description |
---|---|
static
Entity |
from Reads an instance of Entity |
String |
get Get the default |
Double |
get Get the minimum |
String |
get Get the model |
String |
get Get the odata |
Entity |
set Set the context property: Represents the level at which operations take place, such as the document root or document content (for example, /document or /document/content). |
Entity |
set Set the default |
Entity |
set Set the description property: The description of the skill which describes the inputs, outputs, and usage of the skill. |
Entity |
set Set the minimum |
Entity |
set Set the model |
Entity |
set Set the name property: The name of the skill which uniquely identifies it within the skillset. |
Json |
to |
Methods inherited from SearchIndexerSkill
Methods inherited from java.lang.Object
EntityLinkingSkill
public EntityLinkingSkill(List
Creates an instance of EntityLinkingSkill class.
Parameters:
fromJson
public static EntityLinkingSkill fromJson(JsonReader jsonReader)
Reads an instance of EntityLinkingSkill from the JsonReader.
Parameters:
Returns:
Throws:
getDefaultLanguageCode
public String getDefaultLanguageCode()
Get the defaultLanguageCode property: A value indicating which language code to use. Default is `en`.
Returns:
getMinimumPrecision
public 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. If not set (default), or if explicitly set to null, all entities will be included.
Returns:
getModelVersion
public String getModelVersion()
Get the modelVersion property: The version of the model to use when calling the Text Analytics service. It will default to the latest available when not specified. We recommend you do not specify this value unless absolutely necessary.
Returns:
getOdataType
public String getOdataType()
Get the odataType property: A URI fragment specifying the type of skill.
Overrides:
EntityLinkingSkill.getOdataType()Returns:
setContext
public EntityLinkingSkill setContext(String context)
Set the context property: Represents the level at which operations take place, such as the document root or document content (for example, /document or /document/content). The default is /document.
Overrides:
EntityLinkingSkill.setContext(String context)Parameters:
setDefaultLanguageCode
public EntityLinkingSkill setDefaultLanguageCode(String defaultLanguageCode)
Set the defaultLanguageCode property: A value indicating which language code to use. Default is `en`.
Parameters:
Returns:
setDescription
public EntityLinkingSkill setDescription(String description)
Set the description property: The description of the skill which describes the inputs, outputs, and usage of the skill.
Overrides:
EntityLinkingSkill.setDescription(String description)Parameters:
setMinimumPrecision
public EntityLinkingSkill 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. If not set (default), or if explicitly set to null, all entities will be included.
Parameters:
Returns:
setModelVersion
public EntityLinkingSkill setModelVersion(String modelVersion)
Set the modelVersion property: The version of the model to use when calling the Text Analytics service. It will default to the latest available when not specified. We recommend you do not specify this value unless absolutely necessary.
Parameters:
Returns:
setName
public EntityLinkingSkill setName(String name)
Set the name property: The name of the skill which uniquely identifies it within the skillset. A skill with no name defined will be given a default name of its 1-based index in the skills array, prefixed with the character '#'.
Overrides:
EntityLinkingSkill.setName(String name)Parameters:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
EntityLinkingSkill.toJson(JsonWriter jsonWriter)Parameters:
Throws:
Azure SDK for Java-feedback
Azure SDK for Java is een open source project. Selecteer een koppeling om feedback te geven: