dependencyEdge = $dependencyEdge; } /** * @return DependencyEdge */ public function getDependencyEdge() { return $this->dependencyEdge; } /** * @param string */ public function setLemma($lemma) { $this->lemma = $lemma; } /** * @return string */ public function getLemma() { return $this->lemma; } /** * @param PartOfSpeech */ public function setPartOfSpeech(PartOfSpeech $partOfSpeech) { $this->partOfSpeech = $partOfSpeech; } /** * @return PartOfSpeech */ public function getPartOfSpeech() { return $this->partOfSpeech; } /** * @param TextSpan */ public function setText(TextSpan $text) { $this->text = $text; } /** * @return TextSpan */ public function getText() { return $this->text; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Token::class, 'Google_Service_CloudNaturalLanguage_Token');