Specifies the class that categorizes the document being analyzed

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

Properties

Properties

Name?: string

The name of the class.

Page?: number

Page number in the input document. 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 class correctly attributed.