Class TextSpan
Represents a text span in the input document.
Implements
Inherited Members
Namespace: Google.Apis.CloudNaturalLanguage.v1.Data
Assembly: Google.Apis.CloudNaturalLanguage.v1.dll
Syntax
public class TextSpan : IDirectResponseSchema
Properties
BeginOffset
The API calculates the beginning offset of the content in the original document according to the EncodingType specified in the API request.
Declaration
[JsonProperty("beginOffset")]
public virtual int? BeginOffset { get; set; }
Property Value
Type | Description |
---|---|
int? |
Content
The content of the text span, which is a substring of the document.
Declaration
[JsonProperty("content")]
public virtual string Content { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |