Describes a key noun phrase.

interface KeyPhrase {
    BeginOffset?: number;
    EndOffset?: number;
    Score?: number;
    Text?: string;
}

Properties

BeginOffset?: number

The zero-based offset from the beginning of the source text to the first character in the key phrase.

EndOffset?: number

The zero-based offset from the beginning of the source text to the last character in the key phrase.

Score?: number

The level of confidence that Amazon Comprehend has in the accuracy of the detection.

Text?: string

The text of a key noun phrase.