Class: Aws::Comprehend::Types::KeyPhrase
- Inherits:
-
Struct
- Object
- Struct
- Aws::Comprehend::Types::KeyPhrase
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-comprehend/types.rb
Overview
Describes a key noun phrase.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#begin_offset ⇒ Integer
The zero-based offset from the beginning of the source text to the first character in the key phrase.
-
#end_offset ⇒ Integer
The zero-based offset from the beginning of the source text to the last character in the key phrase.
-
#score ⇒ Float
The level of confidence that Amazon Comprehend has in the accuracy of the detection.
-
#text ⇒ String
The text of a key noun phrase.
Instance Attribute Details
#begin_offset ⇒ Integer
The zero-based offset from the beginning of the source text to the first character in the key phrase.
5194 5195 5196 5197 5198 5199 5200 5201 |
# File 'lib/aws-sdk-comprehend/types.rb', line 5194 class KeyPhrase < Struct.new( :score, :text, :begin_offset, :end_offset) SENSITIVE = [] include Aws::Structure end |
#end_offset ⇒ Integer
The zero-based offset from the beginning of the source text to the last character in the key phrase.
5194 5195 5196 5197 5198 5199 5200 5201 |
# File 'lib/aws-sdk-comprehend/types.rb', line 5194 class KeyPhrase < Struct.new( :score, :text, :begin_offset, :end_offset) SENSITIVE = [] include Aws::Structure end |
#score ⇒ Float
The level of confidence that Amazon Comprehend has in the accuracy of the detection.
5194 5195 5196 5197 5198 5199 5200 5201 |
# File 'lib/aws-sdk-comprehend/types.rb', line 5194 class KeyPhrase < Struct.new( :score, :text, :begin_offset, :end_offset) SENSITIVE = [] include Aws::Structure end |