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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


2727
2728
2729
2730
2731
2732
2733
# File 'lib/aws-sdk-comprehend/types.rb', line 2727

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

#pageInteger

Page number in the input document. This field is present in the response only if your request includes the ‘Byte` parameter.

Returns:

  • (Integer)


2727
2728
2729
2730
2731
2732
2733
# File 'lib/aws-sdk-comprehend/types.rb', line 2727

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

#scoreFloat

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

Returns:

  • (Float)


2727
2728
2729
2730
2731
2732
2733
# File 'lib/aws-sdk-comprehend/types.rb', line 2727

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