public function summarizeText(string $text): stdClass
    {
        $summary = $this->requester->post($this->buildUrl(), [
            'sm_api_input' => $text,
        ]);

        return $this->cleanSummary($summary);
    }
public function summarizeText(string $text): stdClass
    {
        $summary = $this->requester->post($this->buildUrl(), [
            'sm_api_input' => $text,
        ]);

        return $this->cleanSummary($summary);
    }
public function summarizeText ( string $ text ) : stdClass { $ summary = $ this -> requester -> post ( $ this -> buildUrl ( ) , [ 'sm_api_input' => $ text , ] ) ; return $ this -> cleanSummary ( $ summary ) ; }
Summarizes a string of text.

@param string $text The text to summarize.

@return stdClass
Summarizes a string of text .