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)

6215
6216
6217
6218
6219
6220
6221
6222
# File 'lib/aws-sdk-comprehend/types.rb', line 6215

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)

6215
6216
6217
6218
6219
6220
6221
6222
# File 'lib/aws-sdk-comprehend/types.rb', line 6215

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)

6215
6216
6217
6218
6219
6220
6221
6222
# File 'lib/aws-sdk-comprehend/types.rb', line 6215

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

#typeString

The entity's type.

Returns:

  • (String)

6215
6216
6217
6218
6219
6220
6221
6222
# File 'lib/aws-sdk-comprehend/types.rb', line 6215

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