Commit 537e8b4e authored by kuehner's avatar kuehner
Browse files

Update README.md

parent b055d3e8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@ For the annotation we used both Maslow and Reiss motives. Maslow's hierarchy of
## Steps to get started <br>

### Pre-work
First of all, two code files must be executed: ***Comparer.py*** and ***Readhumans.py***. The *Comparer.py* requires the concept-net-assertions-5.6.0 and the selected dataset. The output is a concept-filtered and lemmatized set of words from each input set. When executing the Comparer code, the concrete path where the dataset is located must be specified. After that  ***ontology_create*** has to be executed for the list with the concepts. Then the sets are split and lemmatized. Run through matching_dicts for final result with concepts. <br> Secondly, the *Readhumans.py* file is executed. As training set we used the ROCStories dev-set. The output is a file with the individual components of the set (e.g. file name). To choose the right directory in line 338 the file has to be edited specificly (dev -> motiv -> allcharlines).
First of all, two code files must be executed: ***Comparer.py*** and ***Readhumans.py***. The *Comparer.py* requires the concept-net-assertions-5.6.0 and the selected dataset. The output is a concept-filtered and lemmatized set of words from each input set. When executing the Comparer code, the concrete path where the dataset is located must be specified. After that ontology_create has to be executed for the list with the concepts. Then the sets are split and lemmatized. Run through matching_dicts for final result with concepts. <br> Secondly, the *Readhumans.py* file is executed. As training set we used the ROCStories dev-set. The output is a file with the individual components of the set (e.g. file name). To choose the right directory in line 338 the file has to be edited specificly (dev -> motiv -> allcharlines).
<br> 

### Start coding