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

Entity

import type { Entity } from "https://aws-api.deno.dev/v0.3/services/comprehendmedical.ts?docs=full";

Provides information about an extracted medical entity.

interface Entity {
Attributes?: Attribute[] | null;
BeginOffset?: number | null;
Category?: EntityType | null;
EndOffset?: number | null;
Id?: number | null;
Score?: number | null;
Text?: string | null;
Traits?: Trait[] | null;
Type?: EntitySubType | null;
}

§Properties

§
Attributes?: Attribute[] | null
[src]

The extracted attributes that relate to this entity.

§
BeginOffset?: number | null
[src]

The 0-based character offset in the input text that shows where the entity begins. The offset returns the UTF-8 code point in the string.

§
Category?: EntityType | null
[src]

The category of the entity.

§
EndOffset?: number | null
[src]

The 0-based character offset in the input text that shows where the entity ends. The offset returns the UTF-8 code point in the string.

§
Id?: number | null
[src]

The numeric identifier for the entity. This is a monotonically increasing id unique within this response rather than a global unique identifier.

§
Score?: number | null
[src]

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

§
Text?: string | null
[src]

The segment of input text extracted as this entity.

§
Traits?: Trait[] | null
[src]

Contextual information for the entity.

§
Type?: EntitySubType | null
[src]

Describes the specific type of entity with category of entities.