Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

KeyPhrase

import type { KeyPhrase } from "https://aws-api.deno.dev/v0.4/services/comprehend.ts?docs=full";

Describes a key noun phrase.

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

§Properties

§
BeginOffset?: number | null
[src]

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

§
EndOffset?: number | null
[src]

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

§
Score?: number | null
[src]

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

§
Text?: string | null
[src]

The text of a key noun phrase.