@@ -19,7 +19,7 @@ In the field of computational linguistics, stance detection is an established ta
In our project we want to use the concept of human needs to better analyze text content. The human needs assignment to texts allows a detailed analysis of the motivations and human needs from which people argue. With this gained information, many aspects of text analysis can be considered in a much more detailed and profound way.
## Basis of the project
In [Paul&Frank(2019)](https://www.aclweb.org/anthology/N19-1368/) this approach is already taken up. Here, the two authors pursue the question why certain positions, opinions and views on a topic are expressed by a person. The authors see the underlying reason in the concepts of human needs, which have been established by Maslow(1943) as the hierarchy of needs and can be extended by Reiss(2004).
In [Paul&Frank(2019)](https://www.aclweb.org/anthology/N19-1368/) this approach is already taken up. Here, the two authors pursue the question why certain positions, opinions and views on a topic are expressed by a person. The authors see the underlying reason in the concepts of human needs, which has been established by Maslow(1943) as the hierarchy of needs and can be extended by Reiss(2004).
> Maslow's hierarchy of needs is a motivational theory in psychology comprising a five-tier model of human needs, often depicted as hierarchical levels within a pyramid. From the bottom of the hierarchy upwards, the needs are: physiological (food and clothing), safety (job security), love and belonging needs (friendship), esteem, and self-actualization. ~ quoted from [here](https://www.simplypsychology.org/maslow.html#gsc.tab=0)
Reiss takes up this pyramid of Maslow and expands it with further, more profound motives, matching the respective categories (see picture below). <br>
@@ -29,7 +29,7 @@ Based on Maslow's pyramid and looking at the concepts from [ConceptNet](https://
<imgsrc="pictures/CH_maslows-hierarchy.png"/>
</p>
[Paul&Frank(2019)](https://www.aclweb.org/anthology/N19-1368/)s approach is based on narrative texts. As dataset they use the ROCStories dataset ([Mostafazadeh, 2016]()) which contains a collection of narrative texts. We extend this approach by looking at argumentative texts and extend the procedure for our usage.
[Paul&Frank(2019)](https://www.aclweb.org/anthology/N19-1368/)s approach is based on narrative texts. As their dataset they use the ROCStories dataset ([Mostafazadeh, 2016]()) which contains a collection of narrative texts. We extend this approach by looking at argumentative texts and extending the procedure for our usage.
## Approach
First of all, we look for a suitable [data set](#dataset). It is important here that these are argumentative texts. The selected data set must then be prepared according to the model. To do this, we first manually annotated each of the four hundred essays from our data set with one of the maslow and one of the reiss motives. <br> After having done that we use fleiss kappa to calculate the Inter Annotator Agreement. For gold standard we then annotated 25 of each 100 essays which was annotated by another one. In sum this calculated to 75 more Annotations per person. *E.g. If I annotated essays 1-101 in the first pass, I will now annotate the first 25 of each of 102-202, 203-303, and 304-404.* In sum we then had 100 essays out of the 400 which were annotated by all four Annotators. <br> Since our selected data was already seperated into train and test, we only had to put our train and test files into correct format (see files attached). <br> For our project we only had a look at the last paragraph of each essay (more details under [data set](#dataset)). For this, we selected the last paragraph of each essay of our dataset in *Comparer.py* and compared each word in it with the concepts from ConceptNet. <br> After doing that we start with the steps equivalent to [this](https://github.com/debjitpaul/Multi-Hop-Knowledge-Paths-Human-Needs). Because some of the steps and attached filed from Debjit Pauls github were not working for us (see project_report, problems) we changed a few things, which can be taken from our README.md. After constructing the subgraphs and extracting the relevant knowledge paths we extract the human needs from the created knowledge paths and assign them to the essays (*Human_needs_assigner.py*). <br> The last thing we do is evaluate and assess our obtained results. <br> For textual analysis we wanted to use OpenFraming. But the tool is till today (march 2021) not working due to an intern server error.