def split_paragraphs(text):
    """
    Split a string into paragraphs (one or more lines delimited by an empty line).

    :param text: The text to split into paragraphs (a string).
    :returns: A list of strings.
    """
    paragraphs = []
    for chunk in text.split('\n\n'):
        chunk = trim_empty_lines(chunk)
        if chunk or not chunk.isspace():
            paragraphs.append(chunk)
    return paragraphs
dataset/ETHPy150Open xolox/python-humanfriendly/humanfriendly/text.py/split_paragraphs/operator `and` -> `or`