Class: Aws::Comprehend::Types::PiiEntity

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

Overview

Provides information about a PII entity.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#begin_offsetInteger

The zero-based offset from the beginning of the source text to the first character in the entity.

Returns:

  • (Integer)


6351
6352
6353
6354
6355
6356
6357
6358
# File 'lib/aws-sdk-comprehend/types.rb', line 6351

class PiiEntity < Struct.new(
  :score,
  :type,
  :begin_offset,
  :end_offset)
  SENSITIVE = []
  include Aws::Structure
end

#end_offsetInteger

The zero-based offset from the beginning of the source text to the last character in the entity.

Returns:

  • (Integer)


6351
6352
6353
6354
6355
6356
6357
6358
# File 'lib/aws-sdk-comprehend/types.rb', line 6351

class PiiEntity < Struct.new(
  :score,
  :type,
  :begin_offset,
  :end_offset)
  SENSITIVE = []
  include Aws::Structure
end

#scoreFloat

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

Returns:

  • (Float)


6351
6352
6353
6354
6355
6356
6357
6358
# File 'lib/aws-sdk-comprehend/types.rb', line 6351

class PiiEntity < Struct.new(
  :score,
  :type,
  :begin_offset,
  :end_offset)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The entity’s type.

Returns:

  • (String)


6351
6352
6353
6354
6355
6356
6357
6358
# File 'lib/aws-sdk-comprehend/types.rb', line 6351

class PiiEntity < Struct.new(
  :score,
  :type,
  :begin_offset,
  :end_offset)
  SENSITIVE = []
  include Aws::Structure
end