Show / Hide Table of Contents

Class EntityMention

Represents a mention for an entity in the text. Currently, proper noun mentions are supported.

Inheritance
object
EntityMention
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudNaturalLanguage.v2.Data
Assembly: Google.Apis.CloudNaturalLanguage.v2.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

Probability

Probability score associated with the entity. The score shows the probability of the entity mention being the entity type. The score is in (0, 1] range.

Declaration
[JsonProperty("probability")]
public virtual float? Probability { get; set; }
Property Value
Type Description
float?

Sentiment

For calls to AnalyzeEntitySentiment 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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX