def process_dataset(file_dataset_path):
    """
    Process the dataset file and returns a list with the proxy values for each pair of entities.
    :param file_dataset_path: dataset file path. The format of each line of the dataset files is "Ent1  Ent2   Proxy";
    :return: a list of lists. Each list represents a entity pair composed by 2 elements: a tuple (ent1,ent2) and the proxy value;
    """

    dataset = open(file_dataset_path, 'r')
    ents_proxy_list = []
    for line in dataset:
        split1 = line.split('\t')
        ent1, ent2 = split1[0], split1[1]
        proxy_value = float(split1[-1][:-1])

        url_ent1 = "http://" + ent1
        url_ent2 = "http://" + ent2
        
        ents_proxy_list.append([(url_ent1, url_ent2),proxy_value])
    dataset.close()
    return ents_proxy_list