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.

Send feedback about...

Google Cloud Natural Language API