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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-comprehend/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)


5135
5136
5137
5138
5139
5140
5141
5142
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 5135

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)


5135
5136
5137
5138
5139
5140
5141
5142
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 5135

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)


5135
5136
5137
5138
5139
5140
5141
5142
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 5135

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

#typeString

The entity's type.

Returns:

  • (String)


5135
5136
5137
5138
5139
5140
5141
5142
# File 'gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/types.rb', line 5135

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