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

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

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

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the label.

Returns:

  • (String)

    The name of the label.

#scoreFloat

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

Returns:

  • (Float)

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