Identifies the part of speech represented by the token and gives the confidence that Amazon Comprehend has that the part of speech was correctly identified. For more information about the parts of speech that Amazon Comprehend can identify, see Syntax in the Comprehend Developer Guide.

interface PartOfSpeechTag {
    Score?: number;
    Tag?: PartOfSpeechTagType;
}

Properties

Properties

Score?: number

The confidence that Amazon Comprehend has that the part of speech was correctly identified.

Identifies the part of speech that the token represents.