public sealed class TextExtractionAnnotation : IMessage<TextExtractionAnnotation>, IEquatable<TextExtractionAnnotation>, IDeepCloneable<TextExtractionAnnotation>, IBufferMessage, IMessage
Reference documentation and code samples for the Google AutoML v1 API class TextExtractionAnnotation.
Annotation for identifying spans of text.
Implements
IMessageTextExtractionAnnotation, IEquatableTextExtractionAnnotation, IDeepCloneableTextExtractionAnnotation, IBufferMessage, IMessageNamespace
Google.Cloud.AutoML.V1Assembly
Google.Cloud.AutoML.V1.dll
Constructors
TextExtractionAnnotation()
public TextExtractionAnnotation()
TextExtractionAnnotation(TextExtractionAnnotation)
public TextExtractionAnnotation(TextExtractionAnnotation other)
Parameter | |
---|---|
Name | Description |
other | TextExtractionAnnotation |
Properties
AnnotationCase
public TextExtractionAnnotation.AnnotationOneofCase AnnotationCase { get; }
Property Value | |
---|---|
Type | Description |
TextExtractionAnnotationAnnotationOneofCase |
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 | |
---|---|
Type | Description |
float |
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 | |
---|---|
Type | Description |
TextSegment |