def process_dataset(path_dataset_file):
    """
    Process the dataset file and returns a list with the proxy value for each pair of entities.
    :param path_dataset_file: dataset file path. The format of each line of the dataset file is "Ent1  Ent2    Proxy";
    :return: list_proxies is a list where each element represents a list composed by [(ent1, ent2), proxy].
    """
    dataset = open(path_dataset_file, 'r')
    list_proxies = []
    
    for line in dataset:
        split1 = line.split('\t')
        ent1, ent2 = split1[0], split1[1]
        proxy = float(split1[2][:-1])
        list_proxies.append([(ent1, ent2), proxy])

    dataset.close()
    return list_proxies