funcType = $funcType; $this->apiParas["func_type"] = $funcType; } public function getFuncType() { return $this->funcType; } public function setKeyword($keyword) { $this->keyword = $keyword; $this->apiParas["keyword"] = $keyword; } public function getKeyword() { return $this->keyword; } public function setText($text) { $this->text = $text; $this->apiParas["text"] = $text; } public function getText() { return $this->text; } public function getApiMethodName() { return "taobao.nlp.preprocess"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->funcType,"funcType"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }