Google Cloud Natural Language v1 API - Class AnnotateTextRequest.Types.Features (3.6.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
Name Description
other AnnotateTextRequestTypesFeatures

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
Type Description
ClassificationModelOptions

ClassifyText

public bool ClassifyText { get; set; }

Classify the full document into categories.

Property Value
Type Description
bool

ExtractDocumentSentiment

public bool ExtractDocumentSentiment { get; set; }

Extract document-level sentiment.

Property Value
Type Description
bool

ExtractEntities

public bool ExtractEntities { get; set; }

Extract entities.

Property Value
Type Description
bool

ExtractEntitySentiment

public bool ExtractEntitySentiment { get; set; }

Extract entities and their associated sentiment.

Property Value
Type Description
bool

ExtractSyntax

public bool ExtractSyntax { get; set; }

Extract syntax information.

Property Value
Type Description
bool

ModerateText

public bool ModerateText { get; set; }

Moderate the document for harmful and sensitive categories.

Property Value
Type Description
bool