Class Sentence
Represents a sentence in the input document.
Inheritance
System.Object
Sentence
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudNaturalLanguage.v1beta1.Data
Assembly: Google.Apis.CloudNaturalLanguage.v1beta1.dll
Syntax
public class Sentence : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Sentiment
For calls to AnalyzeSentiment or if AnnotateTextRequest.Features.extract_document_sentiment is set to true, this field will contain the sentiment for the sentence.
Declaration
[JsonProperty("sentiment")]
public virtual Sentiment Sentiment { get; set; }
Property Value
Type | Description |
---|---|
Sentiment |
Text
The sentence text.
Declaration
[JsonProperty("text")]
public virtual TextSpan Text { get; set; }
Property Value
Type | Description |
---|---|
TextSpan |
Implements
Google.Apis.Requests.IDirectResponseSchema