public sealed class TextSentimentAnnotation : IMessage<TextSentimentAnnotation>, IEquatable<TextSentimentAnnotation>, IDeepCloneable<TextSentimentAnnotation>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class TextSentimentAnnotation.
Annotation details specific to text sentiment.
Implements
IMessageTextSentimentAnnotation, IEquatableTextSentimentAnnotation, IDeepCloneableTextSentimentAnnotation, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1.SchemaAssembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
TextSentimentAnnotation()
public TextSentimentAnnotation()
TextSentimentAnnotation(TextSentimentAnnotation)
public TextSentimentAnnotation(TextSentimentAnnotation other)
Parameter | |
---|---|
Name | Description |
other |
TextSentimentAnnotation |
Properties
AnnotationSpecId
public string AnnotationSpecId { get; set; }
The resource Id of the AnnotationSpec that this Annotation pertains to.
Property Value | |
---|---|
Type | Description |
string |
DisplayName
public string DisplayName { get; set; }
The display name of the AnnotationSpec that this Annotation pertains to.
Property Value | |
---|---|
Type | Description |
string |
Sentiment
public int Sentiment { get; set; }
The sentiment score for text.
Property Value | |
---|---|
Type | Description |
int |
SentimentMax
public int SentimentMax { get; set; }
The sentiment max score for text.
Property Value | |
---|---|
Type | Description |
int |