Specifies one of the label or labels that categorize the document being analyzed.

interface DocumentLabel {
    Name?: string;
    Page?: number;
    Score?: number;
}

Properties

Properties

Name?: string

The name of the label.

Page?: number

Page number where the label occurs. This field is present in the response only if your request includes the Byte parameter.

Score?: number

The confidence score that Amazon Comprehend has this label correctly attributed.