TextExtractionPredictionResult

Prediction output format for Text Extraction.

Fields
ids[] string (int64 format)

The resource IDs of the AnnotationSpecs that had been identified, ordered by the confidence score descendingly.

displayNames[] string

The display names of the AnnotationSpecs that had been identified, order matches the IDs.

textSegmentStartOffsets[] string (int64 format)

The start offsets, inclusive, of the text segment in which the AnnotationSpec has been identified. Expressed as a zero-based number of characters as measured from the start of the text snippet.

textSegmentEndOffsets[] string (int64 format)

The end offsets, inclusive, of the text segment in which the AnnotationSpec has been identified. Expressed as a zero-based number of characters as measured from the start of the text snippet.

confidences[] number

The Model's confidences in correctness of the predicted IDs, higher value means higher confidence. Order matches the Ids.

JSON representation
{
  "ids": [
    string
  ],
  "displayNames": [
    string
  ],
  "textSegmentStartOffsets": [
    string
  ],
  "textSegmentEndOffsets": [
    string
  ],
  "confidences": [
    number
  ]
}