class Aws::Comprehend::Types::KeyPhrase
Describes a key noun phrase.
@!attribute [rw] score
The level of confidence that Amazon Comprehend has in the accuracy of the detection. @return [Float]
@!attribute [rw] text
The text of a key noun phrase. @return [String]
@!attribute [rw] begin_offset
A character offset in the input text that shows where the key phrase begins (the first character is at position 0). The offset returns the position of each UTF-8 code point in the string. A *code point* is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point. @return [Integer]
@!attribute [rw] end_offset
A character offset in the input text where the key phrase ends. The offset returns the position of each UTF-8 code point in the string. A `code point` is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point. @return [Integer]
@see docs.aws.amazon.com/goto/WebAPI/comprehend-2017-11-27/KeyPhrase AWS API Documentation
Constants
- SENSITIVE