Commit ab434fe9 authored by kuehner's avatar kuehner
Browse files

Update README.md

parent 3c5b2c76
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -54,26 +54,28 @@ We used the steps provided by Debjit Paul from Ranking and Selecting Multi-Hop K

### *Step 1:* Construct ConceptNet into a graph
Prerequisite for this step is the previous download of the concept-net-assertions-5.6.0.csz.gz.
> **Input**
>> Inputfile: path to unziped conceptnet-assertions-5.6.0.csv
> **Input:**
>> Inputfile: path to unzipped conceptnet-assertions-5.6.0.csv
>
> 
>
> **Output** is the file concept_graph_full
> **Output:** is the concept_graph_full
```python
python src/graph_model/conceptnet2graph.py /"path_to_unziped_conceptnet-assertions-5.6.0.csv_File"
```


### *Step 2:* Construct subgraph per sentence for train- test files
### *Step 2:* Construct subgraph per sentence for train and test files

In this step we construct the subgraph for each sentence. <br>
> **Input:** 
>> Inputfile: Path to train or test data <br>
>> Graphpath path to ConceptNet Graph 
>> Graphpath path to ConceptNet Graph <br>
>> Outputpath: spezifies path to folder where the output will be saved to
    
>
> **Output:** 
>> Outputpath: path to folder where output will be saved <br>
>> 
>> Output: directory with files for each sentence containing subgraphs
>
> **Purpose:** --dev | --train | --test