Class: Google::Cloud::AutoML::V1::TextExtractionAnnotation
- Inherits:
-
Object
- Object
- Google::Cloud::AutoML::V1::TextExtractionAnnotation
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/automl/v1/text_extraction.rb
Overview
Annotation for identifying spans of text.
Instance Attribute Summary collapse
-
#score ⇒ ::Float
Output only.
-
#text_segment ⇒ ::Google::Cloud::AutoML::V1::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.
33 34 35 36 |
# File 'proto_docs/google/cloud/automl/v1/text_extraction.rb', line 33 class TextExtractionAnnotation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#text_segment ⇒ ::Google::Cloud::AutoML::V1::TextSegment
Returns An entity annotation will set this, which is the part of the original text to which the annotation pertains.
33 34 35 36 |
# File 'proto_docs/google/cloud/automl/v1/text_extraction.rb', line 33 class TextExtractionAnnotation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |