Generates sentences from a given corpus
        max_length: maximum number of emissions
        Returns:
            Properly formatted string of generated sentences

def generate_text(self, max_length=None):
        """ Generates sentences from a given corpus
        max_length: maximum number of emissions
        Returns:
            Properly formatted string of generated sentences
        """
        return self._text_generator(next_token=self._generate_next_token, max_length=max_length)