[[["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 Token (1.0.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.1 (latest)](/php/docs/reference/cloud-language/latest/V1.Token)\n- [1.0.0](/php/docs/reference/cloud-language/1.0.0/V1.Token)\n- [0.34.3](/php/docs/reference/cloud-language/0.34.3/V1.Token)\n- [0.33.0](/php/docs/reference/cloud-language/0.33.0/V1.Token)\n- [0.32.7](/php/docs/reference/cloud-language/0.32.7/V1.Token)\n- [0.31.3](/php/docs/reference/cloud-language/0.31.3/V1.Token)\n- [0.30.2](/php/docs/reference/cloud-language/0.30.2/V1.Token)\n- [0.29.0](/php/docs/reference/cloud-language/0.29.0/V1.Token)\n- [0.28.5](/php/docs/reference/cloud-language/0.28.5/V1.Token) \nReference documentation and code samples for the Cloud Natural Language V1 Client class Token.\n\nRepresents the smallest syntactic building block of the text.\n\nGenerated from protobuf message `google.cloud.language.v1.Token`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Language \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getText\n\nThe token text.\n\n### hasText\n\n### clearText\n\n### setText\n\nThe token text.\n\n### getPartOfSpeech\n\nParts of speech tag for this token.\n\n### hasPartOfSpeech\n\n### clearPartOfSpeech\n\n### setPartOfSpeech\n\nParts of speech tag for this token.\n\n### getDependencyEdge\n\nDependency tree parse for this token.\n\n### hasDependencyEdge\n\n### clearDependencyEdge\n\n### setDependencyEdge\n\nDependency tree parse for this token.\n\n### getLemma\n\n[Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token.\n\n### setLemma\n\n[Lemma](https://en.wikipedia.org/wiki/Lemma_%28morphology%29) of the token."]]