Entity
import type { Entity } from "https://aws-api.deno.dev/v0.4/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
§
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.
§
Type?: EntitySubType | null
[src]Describes the specific type of entity with category of entities.