Cloud AI Platform v1 API - Class TextExtractionPredictionResult (2.16.0)

public sealed class TextExtractionPredictionResult : IMessage<TextExtractionPredictionResult>, IEquatable<TextExtractionPredictionResult>, IDeepCloneable<TextExtractionPredictionResult>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class TextExtractionPredictionResult.

Prediction output format for Text Extraction.

Inheritance

object > TextExtractionPredictionResult

Namespace

Google.Cloud.AIPlatform.V1.Schema.Predict.Prediction

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

TextExtractionPredictionResult()

public TextExtractionPredictionResult()

TextExtractionPredictionResult(TextExtractionPredictionResult)

public TextExtractionPredictionResult(TextExtractionPredictionResult other)
Parameter
NameDescription
otherTextExtractionPredictionResult

Properties

Confidences

public RepeatedField<float> Confidences { get; }

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

Property Value
TypeDescription
RepeatedFieldfloat

DisplayNames

public RepeatedField<string> DisplayNames { get; }

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

Property Value
TypeDescription
RepeatedFieldstring

Ids

public RepeatedField<long> Ids { get; }

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

Property Value
TypeDescription
RepeatedFieldlong

TextSegmentEndOffsets

public RepeatedField<long> TextSegmentEndOffsets { get; }

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.

Property Value
TypeDescription
RepeatedFieldlong

TextSegmentStartOffsets

public RepeatedField<long> TextSegmentStartOffsets { get; }

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.

Property Value
TypeDescription
RepeatedFieldlong