Class: Google::Cloud::AutoML::V1beta1::TextExtractionAnnotation
- Inherits:
-
Object
- Object
- Google::Cloud::AutoML::V1beta1::TextExtractionAnnotation
- Defined in:
- lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/text_extraction.rb
Overview
Annotation for identifying spans of text.
Instance Attribute Summary collapse
-
#score ⇒ Float
Output only.
-
#text_segment ⇒ Google::Cloud::AutoML::V1beta1::TextSegment
An entity annotation will set this, which is the part of the original text to which the annotation pertains.
Instance Attribute Details
#score ⇒ Float
Returns Output only. A confidence estimate between 0.0 and 1.0. A higher value means greater confidence in correctness of the annotation.
29 |
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/text_extraction.rb', line 29 class TextExtractionAnnotation; end |
#text_segment ⇒ Google::Cloud::AutoML::V1beta1::TextSegment
Returns An entity annotation will set this, which is the part of the original text to which the annotation pertains.
29 |
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/text_extraction.rb', line 29 class TextExtractionAnnotation; end |