from typing import List
import itertools


def parse(data: List[str], delimiter: str = "") -> List[str]:
    """
    Parses the raw data into grouped lists

    :param data: The raw loaded dataset
    :param delimiter: Delimiting char
    :return: Grouped entries
    """
    groupby = itertools.groupby(data, lambda z: z == delimiter)
    grouped_data = [list(y) for x, y in groupby if not x]
    return [" ".join(group) for group in grouped_data]