original_string: public function query(string $keyword, string $categories, array $optional = [])
      {
          $params = [
              'query' => $keyword,
              'category' => $categories,
              'appid' => $this->app['config']['app_id'],
          ];
  
          return $this->httpPostJson('semantic/semproxy/search', array_merge($params, $optional));
      }
code: public function query(string $keyword, string $categories, array $optional = [])
      {
          $params = [
              'query' => $keyword,
              'category' => $categories,
              'appid' => $this->app['config']['app_id'],
          ];
  
          return $this->httpPostJson('semantic/semproxy/search', array_merge($params, $optional));
      }
code_tokens: public function query ( string $ keyword , string $ categories , array $ optional = [ ] ) { $ params = [ 'query' => $ keyword , 'category' => $ categories , 'appid' => $ this -> app [ 'config' ] [ 'app_id' ] , ] ; return $ this -> httpPostJson ( 'semantic/semproxy/search' , array_merge ( $ params , $ optional ) ) ; }
docstring: Get the semantic content of giving string.
  
  @param string $keyword
  @param string $categories
  @param array  $optional
  
  @return \Psr\Http\Message\ResponseInterface|\EasyWeChat\Kernel\Support\Collection|array|object|string
docstring_tokens: Get the semantic content of giving string .