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

PiiEntity

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

Provides information about a PII entity.

interface PiiEntity {
BeginOffset?: number | null;
EndOffset?: number | null;
Score?: number | null;
Type?: PiiEntityType | null;
}

§Properties

§
BeginOffset?: number | null
[src]

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

§
EndOffset?: number | null
[src]

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

§
Score?: number | null
[src]

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

§
Type?: PiiEntityType | null
[src]

The entity's type.