Class TextExtractionAnnotation
Annotation for identifying spans of text.
Inheritance
System.Object
TextExtractionAnnotation
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.AutoML.V1
Assembly: Google.Cloud.AutoML.V1.dll
Syntax
public sealed class TextExtractionAnnotation : IMessage<TextExtractionAnnotation>, IEquatable<TextExtractionAnnotation>, IDeepCloneable<TextExtractionAnnotation>, IBufferMessage, IMessage
Constructors
TextExtractionAnnotation()
Declaration
public TextExtractionAnnotation()
TextExtractionAnnotation(TextExtractionAnnotation)
Declaration
public TextExtractionAnnotation(TextExtractionAnnotation other)
Parameters
Type | Name | Description |
---|---|---|
TextExtractionAnnotation | other |
Properties
AnnotationCase
Declaration
public TextExtractionAnnotation.AnnotationOneofCase AnnotationCase { get; }
Property Value
Type | Description |
---|---|
TextExtractionAnnotation.AnnotationOneofCase |
Score
Output only. A confidence estimate between 0.0 and 1.0. A higher value means greater confidence in correctness of the annotation.
Declaration
public float Score { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
TextSegment
An entity annotation will set this, which is the part of the original text to which the annotation pertains.
Declaration
public TextSegment TextSegment { get; set; }
Property Value
Type | Description |
---|---|
TextSegment |