Loading README.md +7 −7 Original line number Diff line number Diff line Loading @@ -76,7 +76,7 @@ In this step we construct the subgraph for each sentence. <br> > > **Output:** >> >> Output: directory with files for each sentence containing subgraphs >> Output: folder with file for each sentence containing constructed subgraph > > **Purpose:** --dev | --train | --test Loading @@ -87,18 +87,18 @@ e.g. python src/graph_model/make_sub_graph_server.py .\training_neu.txt .\concep *Inputformat:* ~~~~ "unique_ID" + "\t" + "HumanNeed | None" + "\t" + "sentence" + "\t" + "concepts" "unique_ID" + "\t" + "HumanNeed | None" + "\t" + "sentence" + "\t" + "concepts" +"\n" ~~~~ Seperate sentences with newlines. Inputfiles need to follow the aforementioned Inputformat ### *Step 3:* Extracting relevant knowledge paths from subgraphs > **Input** >> Inputpath: path to inputfile from step 2 <br> >> Input: subgraphs and inputfile from output of step 2 <br> >> Inputpath: path to the same inputfile that was used in step 2 <br> >> Input: path to the output of step 2, i.e. folder with subgraphs <br> >> Outputpath: path to txt.file where extracted knowledgepaths can be saved <br> > > **Output** >> Outputpath: path to txt.file where extracted knowledgepaths can be saved <br> >> Output: .txtfile with knowledgepaths for each sentence ```python Loading Loading
README.md +7 −7 Original line number Diff line number Diff line Loading @@ -76,7 +76,7 @@ In this step we construct the subgraph for each sentence. <br> > > **Output:** >> >> Output: directory with files for each sentence containing subgraphs >> Output: folder with file for each sentence containing constructed subgraph > > **Purpose:** --dev | --train | --test Loading @@ -87,18 +87,18 @@ e.g. python src/graph_model/make_sub_graph_server.py .\training_neu.txt .\concep *Inputformat:* ~~~~ "unique_ID" + "\t" + "HumanNeed | None" + "\t" + "sentence" + "\t" + "concepts" "unique_ID" + "\t" + "HumanNeed | None" + "\t" + "sentence" + "\t" + "concepts" +"\n" ~~~~ Seperate sentences with newlines. Inputfiles need to follow the aforementioned Inputformat ### *Step 3:* Extracting relevant knowledge paths from subgraphs > **Input** >> Inputpath: path to inputfile from step 2 <br> >> Input: subgraphs and inputfile from output of step 2 <br> >> Inputpath: path to the same inputfile that was used in step 2 <br> >> Input: path to the output of step 2, i.e. folder with subgraphs <br> >> Outputpath: path to txt.file where extracted knowledgepaths can be saved <br> > > **Output** >> Outputpath: path to txt.file where extracted knowledgepaths can be saved <br> >> Output: .txtfile with knowledgepaths for each sentence ```python Loading