[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Cloud Natural Language V1 Client - Class Features (1.0.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.1 (latest)](/php/docs/reference/cloud-language/latest/V1.AnnotateTextRequest.Features)\n- [1.0.0](/php/docs/reference/cloud-language/1.0.0/V1.AnnotateTextRequest.Features)\n- [0.34.3](/php/docs/reference/cloud-language/0.34.3/V1.AnnotateTextRequest.Features)\n- [0.33.0](/php/docs/reference/cloud-language/0.33.0/V1.AnnotateTextRequest.Features)\n- [0.32.7](/php/docs/reference/cloud-language/0.32.7/V1.AnnotateTextRequest.Features)\n- [0.31.3](/php/docs/reference/cloud-language/0.31.3/V1.AnnotateTextRequest.Features)\n- [0.30.2](/php/docs/reference/cloud-language/0.30.2/V1.AnnotateTextRequest.Features)\n- [0.29.0](/php/docs/reference/cloud-language/0.29.0/V1.AnnotateTextRequest.Features)\n- [0.28.5](/php/docs/reference/cloud-language/0.28.5/V1.AnnotateTextRequest.Features) \nReference documentation and code samples for the Cloud Natural Language V1 Client class Features.\n\nAll available features for sentiment, syntax, and semantic analysis.\n\nSetting each one to true will enable that specific analysis for the input.\n\nGenerated from protobuf message `google.cloud.language.v1.AnnotateTextRequest.Features`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Language \\\\ V1 \\\\ AnnotateTextRequest\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getExtractSyntax\n\nExtract syntax information.\n\n### setExtractSyntax\n\nExtract syntax information.\n\n### getExtractEntities\n\nExtract entities.\n\n### setExtractEntities\n\nExtract entities.\n\n### getExtractDocumentSentiment\n\nExtract document-level sentiment.\n\n### setExtractDocumentSentiment\n\nExtract document-level sentiment.\n\n### getExtractEntitySentiment\n\nExtract entities and their associated sentiment.\n\n### setExtractEntitySentiment\n\nExtract entities and their associated sentiment.\n\n### getClassifyText\n\nClassify the full document into categories.\n\n### setClassifyText\n\nClassify the full document into categories.\n\n### getModerateText\n\nModerate the document for harmful and sensitive categories.\n\n### setModerateText\n\nModerate the document for harmful and sensitive categories.\n\n### getClassificationModelOptions\n\nThe model options to use for classification. Defaults to v1 options\nif not specified. Only used if `classify_text` is set to true.\n\n### hasClassificationModelOptions\n\n### clearClassificationModelOptions\n\n### setClassificationModelOptions\n\nThe model options to use for classification. Defaults to v1 options\nif not specified. Only used if `classify_text` is set to true."]]