def split_puncuation(punctuation):
    """
    Separates the punctuation into opening and closing groups.

    :param punctuation:
    :return: a tuple containing the opening and closing punctuation
    """
    opening_characters = [u'¶', u'“']
    opening = []
    closing = []
    for char in punctuation:
        if char in opening_characters:
            if char == u'¶': char = '\\p\n' # make usfm paragraph
            opening.append(char)
        else:
            closing.append(char)
    return ''.join(opening), ''.join(closing)