public function getAllSentences()
    {
        $splitTexts = $this->responseContent->splitted_texts;

        $sentences = [];

        foreach ($splitTexts as $splitText) {
            foreach ($splitText as $sentence) {
                $sentences[] = $sentence;
            }
        }

        return $sentences;
    }
public function getAllSentences()
    {
        $splitTexts = $this->responseContent->splitted_texts;

        $sentences = [];

        foreach ($splitTexts as $splitText) {
            foreach ($splitText as $sentence) {
                $sentences[] = $sentence;
            }
        }

        return $sentences;
    }
public function getAllSentences ( ) { $ splitTexts = $ this -> responseContent -> splitted_texts ; $ sentences = [ ] ; foreach ( $ splitTexts as $ splitText ) { foreach ( $ splitText as $ sentence ) { $ sentences [ ] = $ sentence ; } } return $ sentences ; }
Returns a string array with all sentences from the response.

@return string[]
Returns a string array with all sentences from the response .