Class: Aws::ComprehendMedical::Types::Entity

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

Overview

Provides information about an extracted medical entity.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attributesArray<Types::Attribute>

The extracted attributes that relate to this entity.

Returns:



548
549
550
551
552
553
554
555
556
557
558
559
560
# File 'lib/aws-sdk-comprehendmedical/types.rb', line 548

class Entity < Struct.new(
  :id,
  :begin_offset,
  :end_offset,
  :score,
  :text,
  :category,
  :type,
  :traits,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#begin_offsetInteger

The 0-based character offset in the input text that shows where the entity begins. The offset returns the UTF-8 code point in the string.

Returns:

  • (Integer)


548
549
550
551
552
553
554
555
556
557
558
559
560
# File 'lib/aws-sdk-comprehendmedical/types.rb', line 548

class Entity < Struct.new(
  :id,
  :begin_offset,
  :end_offset,
  :score,
  :text,
  :category,
  :type,
  :traits,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#categoryString

The category of the entity.

Returns:

  • (String)


548
549
550
551
552
553
554
555
556
557
558
559
560
# File 'lib/aws-sdk-comprehendmedical/types.rb', line 548

class Entity < Struct.new(
  :id,
  :begin_offset,
  :end_offset,
  :score,
  :text,
  :category,
  :type,
  :traits,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#end_offsetInteger

The 0-based character offset in the input text that shows where the entity ends. The offset returns the UTF-8 code point in the string.

Returns:

  • (Integer)


548
549
550
551
552
553
554
555
556
557
558
559
560
# File 'lib/aws-sdk-comprehendmedical/types.rb', line 548

class Entity < Struct.new(
  :id,
  :begin_offset,
  :end_offset,
  :score,
  :text,
  :category,
  :type,
  :traits,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#idInteger

The numeric identifier for the entity. This is a monotonically increasing id unique within this response rather than a global unique identifier.

Returns:

  • (Integer)


548
549
550
551
552
553
554
555
556
557
558
559
560
# File 'lib/aws-sdk-comprehendmedical/types.rb', line 548

class Entity < Struct.new(
  :id,
  :begin_offset,
  :end_offset,
  :score,
  :text,
  :category,
  :type,
  :traits,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#scoreFloat

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

Returns:

  • (Float)


548
549
550
551
552
553
554
555
556
557
558
559
560
# File 'lib/aws-sdk-comprehendmedical/types.rb', line 548

class Entity < Struct.new(
  :id,
  :begin_offset,
  :end_offset,
  :score,
  :text,
  :category,
  :type,
  :traits,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#textString

The segment of input text extracted as this entity.

Returns:

  • (String)


548
549
550
551
552
553
554
555
556
557
558
559
560
# File 'lib/aws-sdk-comprehendmedical/types.rb', line 548

class Entity < Struct.new(
  :id,
  :begin_offset,
  :end_offset,
  :score,
  :text,
  :category,
  :type,
  :traits,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#traitsArray<Types::Trait>

Contextual information for the entity.

Returns:



548
549
550
551
552
553
554
555
556
557
558
559
560
# File 'lib/aws-sdk-comprehendmedical/types.rb', line 548

class Entity < Struct.new(
  :id,
  :begin_offset,
  :end_offset,
  :score,
  :text,
  :category,
  :type,
  :traits,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

Describes the specific type of entity with category of entities.

Returns:

  • (String)


548
549
550
551
552
553
554
555
556
557
558
559
560
# File 'lib/aws-sdk-comprehendmedical/types.rb', line 548

class Entity < Struct.new(
  :id,
  :begin_offset,
  :end_offset,
  :score,
  :text,
  :category,
  :type,
  :traits,
  :attributes)
  SENSITIVE = []
  include Aws::Structure
end