Class: Aws::Comprehend::Types::DocumentClass

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

Overview

Specifies the class that categorizes the document being analyzed

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the class.

Returns:

  • (String)


2027
2028
2029
2030
2031
2032
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 2027

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

#scoreFloat

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

Returns:

  • (Float)


2027
2028
2029
2030
2031
2032
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 2027

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