Beispiel #1
0
def convert(input_path, output_file_path):
    match_tree = load_from_pickle("match_tree_nli")
    convert_alt_emb2(input_path, output_file_path, match_tree, False)
Beispiel #2
0
 def work(self, job_id):
     input_path = os.path.join(sydney_working_dir, "unmasked_pair_x3",
                               str(job_id))
     output_file = os.path.join(self.out_dir, "{}".format(job_id))
     convert_alt_emb2(input_path, output_file, self.match_tree)
Beispiel #3
0
 def work(self, job_id):
     input_path = os.path.join(sydney_working_dir, "clueweb12_13B_no_short",
                               str(job_id))
     output_file = os.path.join(self.out_dir, "{}".format(job_id))
     convert_alt_emb2(input_path, output_file, self.match_tree)
def convert(input_path, output_file_path):
    match_tree = load_from_pickle("match_tree_clef1_test")
    convert_alt_emb2(input_path, output_file_path, match_tree, True)