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

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

Overview

Provides contextual information about the extracted entity.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

Provides a name or contextual description about the trait.

Returns:

  • (String)


2454
2455
2456
2457
2458
2459
# File 'gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb', line 2454

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

#scoreFloat

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

Returns:

  • (Float)


2454
2455
2456
2457
2458
2459
# File 'gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/types.rb', line 2454

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