

@classmethod
def paragraph(cls, nb_sentences=3, variable_nb_sentences=True):
    "\n        Generate a single paragraph\n        :example 'Sapiente sunt omnis. Ut pariatur ad autem ducimus et. Voluptas rem voluptas sint modi dolorem amet.'\n        :param nb_sentences around how many sentences the paragraph should contain\n        :param variable_nb_sentences set to false if you want exactly $nbSentences returned,\n            otherwise $nbSentences may vary by +/-40% with a minimum of 1\n        :return string\n        "
    if (nb_sentences <= 0):
        return ''
    if variable_nb_sentences:
        nb_sentences = cls.randomize_nb_elements(nb_sentences)
    return ' '.join(cls.sentences(nb_sentences))

dataset/ETHPy150Open joke2k/faker/faker/providers/lorem/__init__.py Provider.paragraph/original