import io


def load_vsp_pairs(path: str) -> dict:
    """
    Parses a specific formatted VSP pairs file and returns the dictionary corresponding to the VSP pairs.
    :param path: The path of the file where the dictionary is stored.
    :return: The dictionary.
    """
    vsp_pairs = dict()
    with io.open(file=path, mode="r", encoding="utf-8") as src_file:
        for line in src_file:
            content = line.split(':', 1)
            vsp_pairs[tuple(content[0].split(','))] = content[1]
    return vsp_pairs