Class EntityMention
Represents a mention for an entity in the text. Currently, proper noun mentions are supported.
Implements
Inherited Members
Namespace: Google.Apis.CloudNaturalLanguage.v1beta2.Data
Assembly: Google.Apis.CloudNaturalLanguage.v1beta2.dll
Syntax
public class EntityMention : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Sentiment
For calls to AnalyzeEntitySentiment or if AnnotateTextRequest.Features.extract_entity_sentiment is set to true, this field will contain the sentiment expressed for this mention of the entity in the provided document.
Declaration
[JsonProperty("sentiment")]
public virtual Sentiment Sentiment { get; set; }
Property Value
Type | Description |
---|---|
Sentiment |
Text
The mention text.
Declaration
[JsonProperty("text")]
public virtual TextSpan Text { get; set; }
Property Value
Type | Description |
---|---|
TextSpan |
Type
The type of the entity mention.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
string |