You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Specifies the class that categorizes the document being analyzed

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the class.

Returns:

  • (String)

    The name of the class.

#scoreFloat

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

Returns:

  • (Float)

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