Class TextSpan (2.1.0)

TextSpan(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents an output piece of text. .. attribute:: content

The content of the output text.

:type: str

Attribute

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