text = $text; $this->apiParas["text"] = $text; } public function getText() { return $this->text; } public function setwType($wType) { $this->wType = $wType; $this->apiParas["w_type"] = $wType; } public function getwType() { return $this->wType; } public function getApiMethodName() { return "taobao.nlp.word"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->wType,"wType"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }