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

public sealed class 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(AnnotateTextRequest.Types.Features)

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

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
Boolean

ExtractDocumentSentiment

public bool ExtractDocumentSentiment { get; set; }

Extract document-level sentiment.

Property Value
TypeDescription
Boolean

ExtractEntities

public bool ExtractEntities { get; set; }

Extract entities.

Property Value
TypeDescription
Boolean

ExtractEntitySentiment

public bool ExtractEntitySentiment { get; set; }

Extract entities and their associated sentiment.

Property Value
TypeDescription
Boolean

ExtractSyntax

public bool ExtractSyntax { get; set; }

Extract syntax information.

Property Value
TypeDescription
Boolean