Cloud AI Platform v1beta1 API - Class TextExtractionPredictionResult (1.0.0-beta05)

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

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

Prediction output format for Text Extraction.

Inheritance

object > TextExtractionPredictionResult

Namespace

Google.Cloud.AIPlatform.V1Beta1.Schema.Predict.Prediction

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

TextExtractionPredictionResult()

public TextExtractionPredictionResult()

TextExtractionPredictionResult(TextExtractionPredictionResult)

public TextExtractionPredictionResult(TextExtractionPredictionResult other)
Parameter
Name Description
other TextExtractionPredictionResult

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
Type Description
RepeatedFieldfloat

DisplayNames

public RepeatedField<string> DisplayNames { get; }

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

Property Value
Type Description
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
Type Description
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
Type Description
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
Type Description
RepeatedFieldlong