Google Cloud Natural Language v1 API - Class AnnotateTextRequest.Types.Features (3.3.0)

public sealed class AnnotateTextRequest.Types.Features : IMessage<AnnotateTextRequest.Types.Features>, IEquatable<AnnotateTextRequest.Types.Features>, IDeepCloneable<AnnotateTextRequest.Types.Features>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Natural Language v1 API class AnnotateTextRequest.Types.Features.

All available features for sentiment, syntax, and semantic analysis. Setting each one to true will enable that specific analysis for the input.

Inheritance

object > AnnotateTextRequest.Types.Features

Namespace

Google.Cloud.Language.V1

Assembly

Google.Cloud.Language.V1.dll

Constructors

Features()

public Features()

Features(Features)

public Features(AnnotateTextRequest.Types.Features other)
Parameter
NameDescription
otherAnnotateTextRequestTypesFeatures

Properties

ClassificationModelOptions

public ClassificationModelOptions ClassificationModelOptions { get; set; }

The model options to use for classification. Defaults to v1 options if not specified. Only used if classify_text is set to true.

Property Value
TypeDescription
ClassificationModelOptions

ClassifyText

public bool ClassifyText { get; set; }

Classify the full document into categories.

Property Value
TypeDescription
bool

ExtractDocumentSentiment

public bool ExtractDocumentSentiment { get; set; }

Extract document-level sentiment.

Property Value
TypeDescription
bool

ExtractEntities

public bool ExtractEntities { get; set; }

Extract entities.

Property Value
TypeDescription
bool

ExtractEntitySentiment

public bool ExtractEntitySentiment { get; set; }

Extract entities and their associated sentiment.

Property Value
TypeDescription
bool

ExtractSyntax

public bool ExtractSyntax { get; set; }

Extract syntax information.

Property Value
TypeDescription
bool

ModerateText

public bool ModerateText { get; set; }

Moderate the document for harmful and sensitive categories.

Property Value
TypeDescription
bool