TextSpan

Represents an output piece of text.

JSON representation
{
  "content": string,
  "beginOffset": number,
}
Fields
content

string

The content of the output text.

beginOffset

number

The API calculates the beginning offset of the content in the original document according to the EncodingType specified in the API request.

Was this page helpful? Let us know how we did:

Send feedback about...

Cloud Natural Language API