Class EncodingType (2.6.0)

EncodingType(value)

Represents the text encoding that the caller uses to process the output. Providing an EncodingType is recommended because the API provides the beginning offsets for various outputs, such as tokens and mentions, and languages that natively use different text encodings may access offsets differently.

Inheritance

builtins.object > builtins.int > builtins.object > enum.Enum > enum.IntEnum > proto.enums.Enum > EncodingType