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'):