Struct aws_sdk_comprehend::model::KeyPhrase
source · #[non_exhaustive]pub struct KeyPhrase { /* private fields */ }Expand description
Describes a key noun phrase.
Implementations§
source§impl KeyPhrase
impl KeyPhrase
sourcepub fn score(&self) -> Option<f32>
pub fn score(&self) -> Option<f32>
The level of confidence that Amazon Comprehend has in the accuracy of the detection.
sourcepub fn begin_offset(&self) -> Option<i32>
pub fn begin_offset(&self) -> Option<i32>
The zero-based offset from the beginning of the source text to the first character in the key phrase.
sourcepub fn end_offset(&self) -> Option<i32>
pub fn end_offset(&self) -> Option<i32>
The zero-based offset from the beginning of the source text to the last character in the key phrase.