Cloud AI Platform v1 API - Class TextExtractionPredictionResult (2.5.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
RepeatedField<Single>

DisplayNames

public RepeatedField<string> DisplayNames { get; }

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

Property Value
TypeDescription
RepeatedField<String>

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
RepeatedField<Int64>

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
RepeatedField<Int64>

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
RepeatedField<Int64>