Class: Google::Cloud::AutoML::V1beta1::TextExtractionAnnotation

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#scoreFloat

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

Returns:

  • (Float)

    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_segmentGoogle::Cloud::AutoML::V1beta1::TextSegment

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

Returns:



29
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/text_extraction.rb', line 29

class TextExtractionAnnotation; end