From b360a4c4ec9fde85ed8736de886185e6534647c9 Mon Sep 17 00:00:00 2001 From: Nandana Mihindukulasooriya Date: Tue, 20 Sep 2022 20:26:50 +0200 Subject: [PATCH] Removing the paths. --- SLING/src/distant_supervision/sentence_extractor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SLING/src/distant_supervision/sentence_extractor.py b/SLING/src/distant_supervision/sentence_extractor.py index 52647d9..c2167d3 100644 --- a/SLING/src/distant_supervision/sentence_extractor.py +++ b/SLING/src/distant_supervision/sentence_extractor.py @@ -307,10 +307,10 @@ def original_sent_extractor_worker(thread_id, sparql_limit, sentence_limit): if exists(output_file): continue - if exists("/Users/nandana.sampath.mihindukulasooriya@ibm.com/Src/relation-linking/data/lc-qald/sent_completed/v3/" + file_name): + if exists("output_path" + file_name): continue - if exists("/Users/nandana.sampath.mihindukulasooriya@ibm.com/Src/relation-linking/data/lc-qald/sent_amr_done/v3/" + file_name): + if exists("output_path" + file_name): continue start_time = time.time()