def get_sentences(amount, start_with_lorem=False):
 sentences = _GENERATOR.generate_sentences(amount, start_with_lorem)
 return [s[(-1)] for s in sentences]

def get_sentences ( amount , start_with_lorem = False ) : sentences = _GENERATOR . generate_sentences ( amount , start_with_lorem ) return [ s [ ( - 1 ) ] for s in sentences ]
utility function to get specified amount of random sentences .