다음을 통해 공유


SentimentSkill Class

Definition

Text analytics positive-negative sentiment analysis, scored as a floating point value in a range of zero to 1. https://docs.microsoft.com/azure/search/cognitive-search-skill-sentiment

[Newtonsoft.Json.JsonObject("#Microsoft.Skills.Text.SentimentSkill")]
public class SentimentSkill : Microsoft.Azure.Search.Models.Skill
[<Newtonsoft.Json.JsonObject("#Microsoft.Skills.Text.SentimentSkill")>]
type SentimentSkill = class
    inherit Skill
Public Class SentimentSkill
Inherits Skill
Inheritance
SentimentSkill
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

SentimentSkill()

Initializes a new instance of the SentimentSkill class.

SentimentSkill(IList<InputFieldMappingEntry>, IList<OutputFieldMappingEntry>, String, String, String, Nullable<SentimentSkillLanguage>)

Initializes a new instance of the SentimentSkill class.

Properties

Context

Gets or sets 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.

(Inherited from Skill)
DefaultLanguageCode

Gets or sets a value indicating which language code to use. Default is en. Possible values include: 'da', 'nl', 'en', 'fi', 'fr', 'de', 'el', 'it', 'no', 'pl', 'pt-PT', 'ru', 'es', 'sv', 'tr'

Description

Gets or sets the description of the skill which describes the inputs, outputs, and usage of the skill.

(Inherited from Skill)
Inputs

Gets or sets inputs of the skills could be a column in the source data set, or the output of an upstream skill.

(Inherited from Skill)
Name

Gets or sets 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 '#'.

(Inherited from Skill)
Outputs

Gets or sets the output of a skill is either a field in a search index, or a value that can be consumed as an input by another skill.

(Inherited from Skill)

Methods

Validate()

Validate the object.

Applies to