From 91e1c2c1d0274a2de648842be89a3ee6854e7ff4 Mon Sep 17 00:00:00 2001 From: daxid <david.rouquet@tetras-libre.fr> Date: Fri, 31 Mar 2023 08:14:57 +0000 Subject: [PATCH] Change lib / tools folder --- unsel_dashboard-iterate.ipynb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/unsel_dashboard-iterate.ipynb b/unsel_dashboard-iterate.ipynb index 842e134..fd5b0b0 100644 --- a/unsel_dashboard-iterate.ipynb +++ b/unsel_dashboard-iterate.ipynb @@ -290,8 +290,8 @@ "#==============================================================================\n", "\n", "# Working directories\n", - "CONFIG_DIR = \"/opt/dashboards/tools/tenet/config/\"\n", - "FRAME_DIR = \"/opt/dashboards/tools/tenet/frame/\"\n", + "CONFIG_DIR = \"/opt/lib/tenet-unsel/config/\"\n", + "FRAME_DIR = \"/opt/lib/tenet-unsel/frame/\"\n", "CORPUS_DIR = storeBase\n", "OUTPUT_DIR = \"output/\"\n", "\n", @@ -499,7 +499,7 @@ " g = Graph()\n", " for ttl in ttlList :\n", " g.parse(ttl)\n", - " g.parse('/opt/dashboards/tools/tenet/frame/system-ontology.ttl')\n", + " g.parse(FRAME_DIR+'system-ontology.ttl')\n", " return(g)\n", "\n", "def loadSentences(directory):\n", @@ -508,7 +508,7 @@ " for ttl in ttlList :\n", " if 'factoid' not in ttl:\n", " g.parse(ttl)\n", - " g.parse('/opt/dashboards/tools/tenet/config/unl-rdf-schema.ttl')\n", + " g.parse(CONFIG_DIR+'unl-rdf-schema.ttl')\n", " return(g)\n", "\n", "possibleUnderspecificationQuery ='''\n", -- GitLab