Class AnnotateTextRequestFeatures
All available features for sentiment, syntax, and semantic analysis. Setting each one to true will enable that specific analysis for the input.
Implements
Inherited Members
Namespace: Google.Apis.CloudNaturalLanguage.v1beta2.Data
Assembly: Google.Apis.CloudNaturalLanguage.v1beta2.dll
Syntax
public class AnnotateTextRequestFeatures : IDirectResponseSchema
Properties
ClassificationModelOptions
Optional. The model options to use for classification. Defaults to v1 options if not specified. Only used if
classify_text
is set to true.
Declaration
[JsonProperty("classificationModelOptions")]
public virtual ClassificationModelOptions ClassificationModelOptions { get; set; }
Property Value
Type | Description |
---|---|
ClassificationModelOptions |
ClassifyText
Classify the full document into categories. If this is true, the API will use the default model which classifies into a predefined taxonomy.
Declaration
[JsonProperty("classifyText")]
public virtual bool? ClassifyText { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExtractDocumentSentiment
Extract document-level sentiment.
Declaration
[JsonProperty("extractDocumentSentiment")]
public virtual bool? ExtractDocumentSentiment { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ExtractEntities
Extract entities.
Declaration
[JsonProperty("extractEntities")]
public virtual bool? ExtractEntities { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ExtractEntitySentiment
Extract entities and their associated sentiment.
Declaration
[JsonProperty("extractEntitySentiment")]
public virtual bool? ExtractEntitySentiment { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ExtractSyntax
Extract syntax information.
Declaration
[JsonProperty("extractSyntax")]
public virtual bool? ExtractSyntax { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ModerateText
Moderate the document for harmful and sensitive categories.
Declaration
[JsonProperty("moderateText")]
public virtual bool? ModerateText { get; set; }
Property Value
Type | Description |
---|---|
bool? |