From 04adf8edcd29d1029674423d9f87c2b89ba170aa Mon Sep 17 00:00:00 2001 From: ynerant Date: Mon, 31 Jan 2022 12:59:22 +0100 Subject: [PATCH] Update paths --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 392abd8..e5f142b 100644 --- a/main.py +++ b/main.py @@ -107,7 +107,7 @@ def sakey_output(file: str, threshold: int) -> tuple[list[list[str]], list[list[ """ Prints the SAKEY output for the given dataset file. """ - process = subprocess.Popen(['java', '-jar', 'material/sakey.jar', file, str(threshold)], stdout=subprocess.PIPE) + process = subprocess.Popen(['java', '-jar', 'sakey.jar', file, str(threshold)], stdout=subprocess.PIPE) process.wait() if process.returncode != 0: @@ -185,7 +185,7 @@ def process(classname: str, threshold: int, limit: int = 1000, recursion: int = def main() -> None: # Parse DBPedia ontology - with open('datasets/dbpedia.owl') as f: + with open('dbpedia.owl') as f: ontology = BeautifulSoup(f, 'xml') for e in ontology.find_all('ns0:range'):