Class: Aws::Comprehend::Types::DocumentLabel

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb

Overview

Specifies one of the label or labels that categorize the document being analyzed.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the label.

Returns:

  • (String)


1934
1935
1936
1937
1938
1939
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 1934

class DocumentLabel < Struct.new(
  :name,
  :score)
  SENSITIVE = []
  include Aws::Structure
end

#scoreFloat

The confidence score that Amazon Comprehend has this label correctly attributed.

Returns:

  • (Float)


1934
1935
1936
1937
1938
1939
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 1934

class DocumentLabel < Struct.new(
  :name,
  :score)
  SENSITIVE = []
  include Aws::Structure
end