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

Class: Aws::ComprehendMedical::Types::Trait

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

Overview

Provides contextual information about the extracted entity.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

Provides a name or contextual description about the trait.

Possible values:

  • SIGN
  • SYMPTOM
  • DIAGNOSIS
  • NEGATION

Returns:

  • (String)

    Provides a name or contextual description about the trait.

#scoreFloat

The level of confidence that Amazon Comprehend Medical has in the accuracy of this trait.

Returns:

  • (Float)

    The level of confidence that Amazon Comprehend Medical has in the accuracy of this trait.