public PartOfSpeechTag getPartOfSpeech() {
        return this.partOfSpeech;
    }
<p>
Provides the part of speech label and the confidence level that Amazon Comprehend has that the part of speech was
correctly identified. For more information, see <a
href="https://docs.aws.amazon.com/comprehend/latest/dg/how-syntax.html">Syntax</a> in the Comprehend Developer
Guide.
</p>

@return Provides the part of speech label and the confidence level that Amazon Comprehend has that the part of
        speech was correctly identified. For more information, see <a
        href="https://docs.aws.amazon.com/comprehend/latest/dg/how-syntax.html">Syntax</a> in the Comprehend
        Developer Guide.
aws-java-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/SyntaxToken.java