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

Attribute

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

An extracted segment of the text that is an attribute of an entity, or otherwise related to an entity, such as the dosage of a medication taken. It contains information about the attribute such as id, begin and end offset within the input text, and the segment of the input text.

interface Attribute {
BeginOffset?: number | null;
Category?: EntityType | null;
EndOffset?: number | null;
Id?: number | null;
RelationshipScore?: number | null;
RelationshipType?: RelationshipType | 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 attribute begins. The offset returns the UTF-8 code point in the string.

§
Category?: EntityType | null
[src]

The category of attribute.

§
EndOffset?: number | null
[src]

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

§
Id?: number | null
[src]

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

§
RelationshipScore?: number | null
[src]

The level of confidence that Comprehend Medical; has that this attribute is correctly related to this entity.

§
RelationshipType?: RelationshipType | null
[src]

The type of relationship between the entity and attribute. Type for the relationship is OVERLAP, indicating that the entity occurred at the same time as the Date_Expression.

§
Score?: number | null
[src]

The level of confidence that Comprehend Medical; has that the segment of text is correctly recognized as an attribute.

§
Text?: string | null
[src]

The segment of input text extracted as this attribute.

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

Contextual information for this attribute.

§
Type?: EntitySubType | null
[src]

The type of attribute.