public final class SentimentSkill extends SearchIndexerSkill
Constructor and Description |
---|
SentimentSkill(List<InputFieldMappingEntry> inputs,
List<OutputFieldMappingEntry> outputs)
Creates an instance of SentimentSkill class.
|
SentimentSkill(List<InputFieldMappingEntry> inputs,
List<OutputFieldMappingEntry> outputs,
SentimentSkillVersion version)
Creates an instance of SentimentSkill class.
|
Modifier and Type | Method and Description |
---|---|
SentimentSkillLanguage |
getDefaultLanguageCode()
Get the defaultLanguageCode property: A value indicating which language code to use.
|
String |
getModelVersion()
Get the modelVersion property: The version of the model to use when calling the Text Analytics service.
|
SentimentSkillVersion |
getSkillVersion()
Gets the version of the
SentimentSkill . |
Boolean |
isIncludeOpinionMining()
Get the includeOpinionMining property: If set to true, the skill output will include information from Text
Analytics for opinion mining, namely targets (nouns or verbs) and their associated assessment (adjective) in the
text.
|
SentimentSkill |
setDefaultLanguageCode(SentimentSkillLanguage defaultLanguageCode)
Set the defaultLanguageCode property: A value indicating which language code to use.
|
SentimentSkill |
setIncludeOpinionMining(Boolean includeOpinionMining)
Set the includeOpinionMining property: If set to true, the skill output will include information from Text
Analytics for opinion mining, namely targets (nouns or verbs) and their associated assessment (adjective) in the
text.
|
SentimentSkill |
setModelVersion(String modelVersion)
Set the modelVersion property: The version of the model to use when calling the Text Analytics service.
|
getContext, getDescription, getInputs, getName, getOutputs, setContext, setDescription, setName
public SentimentSkill(List<InputFieldMappingEntry> inputs, List<OutputFieldMappingEntry> outputs)
inputs
- the inputs value to set.outputs
- the outputs value to set.public SentimentSkill(List<InputFieldMappingEntry> inputs, List<OutputFieldMappingEntry> outputs, SentimentSkillVersion version)
inputs
- the inputs value to set.outputs
- the outputs value to set.version
- the SentimentSkillVersion value to set.public SentimentSkillVersion getSkillVersion()
SentimentSkill
.SentimentSkill
.public SentimentSkillLanguage getDefaultLanguageCode()
public SentimentSkill setDefaultLanguageCode(SentimentSkillLanguage defaultLanguageCode)
defaultLanguageCode
- the defaultLanguageCode value to set.public Boolean isIncludeOpinionMining()
public SentimentSkill setIncludeOpinionMining(Boolean includeOpinionMining)
includeOpinionMining
- the includeOpinionMining value to set.IllegalArgumentException
- If includeOpinionMining
is supplied when SentimentSkill.getSkillVersion()
is
SentimentSkillVersion.V1
.public String getModelVersion()
public SentimentSkill setModelVersion(String modelVersion)
modelVersion
- the modelVersion value to set.IllegalArgumentException
- If modelVersion
is supplied when SentimentSkill.getSkillVersion()
is SentimentSkillVersion.V1
.Copyright © 2021 Microsoft Corporation. All rights reserved.