Class TextExtractionAnnotation (2.4.0)

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

Annotation for identifying spans of text.

Inheritance

Object > TextExtractionAnnotation

Namespace

Google.Cloud.AutoML.V1

Assembly

Google.Cloud.AutoML.V1.dll

Constructors

TextExtractionAnnotation()

public TextExtractionAnnotation()

TextExtractionAnnotation(TextExtractionAnnotation)

public TextExtractionAnnotation(TextExtractionAnnotation other)
Parameter
NameDescription
otherTextExtractionAnnotation

Properties

AnnotationCase

public TextExtractionAnnotation.AnnotationOneofCase AnnotationCase { get; }
Property Value
TypeDescription
TextExtractionAnnotation.AnnotationOneofCase

Score

public float Score { get; set; }

Output only. A confidence estimate between 0.0 and 1.0. A higher value means greater confidence in correctness of the annotation.

Property Value
TypeDescription
Single

TextSegment

public TextSegment TextSegment { get; set; }

An entity annotation will set this, which is the part of the original text to which the annotation pertains.

Property Value
TypeDescription
TextSegment