Next Article in Journal
Low-Power On-Chip Implementation of Enhanced SVM Algorithm for Sensors Fusion-Based Activity Classification in Lightweighted Edge Devices
Next Article in Special Issue
Toward Understanding Most of the Context in Document-Level Neural Machine Translation
Previous Article in Journal
Big Data Handling Approach for Unauthorized Cloud Computing Access
Previous Article in Special Issue
Completing WordNets with Sememe Knowledge
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Determining the Intensity of Basic Emotions among People Suffering from Anorexia Nervosa Based on Free Statements about Their Body

by
Klaudia Barańska
1,
Agnieszka Różańska
1,
Stella Maćkowska
1,
Katarzyna Rojewska
2 and
Dominik Spinczyk
1,*
1
Faculty of Biomedical Engineering, Silesian University of Technology, 40 Roosevelta, 41-800 Zabrze, Poland
2
Central Laboratory of Clinical Psychology, Clinical Hospital No.1 in Zabrze Named after Professor S. Szyszko of the Medical University of Silesia, 40-007 Katowice, Poland
*
Author to whom correspondence should be addressed.
Electronics 2022, 11(1), 138; https://doi.org/10.3390/electronics11010138
Submission received: 10 November 2021 / Revised: 8 December 2021 / Accepted: 9 December 2021 / Published: 3 January 2022

Abstract

:
Objective: This study sought to address one of the challenges of psychiatry-computer aided diagnosis and therapy of anorexia nervosa. The goal of the paper is to present a method of determining the intensity of five emotions (happiness, sadness, anxiety, anger and disgust) in medical notes, which was then used to analyze the feelings of people suffering from anorexia nervosa. In total, 96 notes were researched (46 from people suffering from anorexia and 52 from healthy people). Method: The developed solution allows a comprehensive assessment of the intensity of five feelings (happiness, sadness, anxiety, anger and disgust) occurring in text notes. This method implements Nencki Affective Word List dictionary extension, in which the original version has a limited vocabulary. The method was tested on a group of patients suffering from anorexia nervosa and a control group (healthy people without an eating disorder). Of the analyzed medical, only 8% of the words are in the original dictionary. Results: As a result of the study, two emotional profiles were obtained: one pattern for a healthy person and one for a person suffering from anorexia nervosa. Comparing the average emotional intensity in profiles of a healthy person and person with a disorder, a higher value of happiness intensity is noticeable in the profile of a healthy person than in the profile of a person with an illness. The opposite situation occurs with other emotions (sadness, anxiety, disgust, anger); they reach higher values in the case of the profile of a person suffering from anorexia nervosa. Discussion: The presented method can be used when observing the patient’s progress during applied therapy. It allows us to state whether the chosen method has a positive effect on the mental state of the patient, and if his emotional profile is similar to the emotional profile of a healthy person. The method can also be used during first diagnosis visit.

1. Introduction

Diagnostics and medical therapy should consider as much information as possible about the patient, contributing to its effectiveness. As not all information about the patient is directly available, computer systems in medicine support the processes of extracting, processing, storing and sharing information about the patient. Due to the fact that the main perceptual channel of humans is the vision system, in medicine, we mainly use image data. Therefore, we encounter a number of vision systems that are used in medicine: systems using medical image contrast enhancement [1], image processing systems of various modalities supporting the therapy of various diseases [2] or systems supporting the early detection of diseases using categorization algorithms as screening methods [3]. In medicine, we also independently deal with phenomena modeling systems using computer methods [4]. Due to limited resources, it allows for prioritizing patients in terms of the priority of providing help [5]. The proposed work belongs to the class of screening and auxiliary methods of computer-aided therapeutic diagnosis of anorexia, whereby it uses a different type-text data.
Eating disorders have become more and more common in Polish society and worldwide. In the presented work, we focus on Polish society. Eating disorders are psychopathological behaviors that threaten human health and even life. The nature of this disease reveals abnormal and destructive eating attitudes and usually obsessive behaviors related to weight control [6,7]. Based on demographics, white girls and women are more affected by the disease. Research shows that the highest incidence refers to the middle and upper classes. The occurrence of anorexia nervosa in adolescence is estimated at 0.5–1% of all the teenager population. The highest morbidity is among girls (incidence in boys is assessed at 5–10% of total incidence). The peak incidence occurs at 15–19 years of age [8], as this period carries considerable changes in the following areas: biological, social and psychological. Anorexia nervosa is considered a biopsychosocial disorder. Both biological, emotional and socio-cultural factors are essential in its etiology [9]. Hence, the period of adolescence is considered to be particularly sensitive for the development of anorexia nervosa [10]. The morbidity for anorexia nervosa among adults is estimated at 0.2–0.8%. Multiple aspects can influence the outcome of eating disorders, such as individual features, life events, family situation (functioning style, family conflicts, low cohesion of family, over-controlling), school and career prosperity (a career related to maintaining a slim figure, a strong need for gaining achievements), social expectations and social-culture factors (current canon of beauty) [8,11].

2. Review of the Literature

Inspiring research in people suffering from an eating disorder involves speech analysis. The authors focused on linguistic differences in Italian patients with eating disorders. They assumed that some common characteristics could be linguistic patterns. Research proved statistically significant differences between a group suffering from anorexia nervosa and normal-weighted peers. Anorexics used a lower number of words per sentence than healthy people, but simultaneously they used more frequently long words (more than six letters). They were less likely to refer to terms pointing to senses (e.g., “see”, “feel”) and rarely constructed sentences in the present tense [12]. The authors in the second article explored the linguistic markers of differences in Internet self-presentation of self-identified pro-anorexics who defend anorexia as a lifestyle and self-identified anorexics in recovery. Research showed more positive emotions and less anxiety in the anorexic group. This group is characterized by a lower degree of cognitive reflection and lower levels of self-directed attention. Unlike the previously described article, the researcher noticed that anorexics were more focused on the present tense. The last observation concerned the subject of speech—they were talking more about food and eating issues but less about school-related topics and death [13]. Subsequent authors aimed to explore how patients with anorexia nervosa manage the aversive emotions of sadness, anger, anxiety and disgust, and how they link these experiences to their eating disorder behaviors. Patients tended not to express sadness and anger in interpersonal situations but noticed the high level of self-disgust and self-anger connected with their bodies. Research confirmed in another study that a central emotion in their life is self-disgust, and this could be used to suppress another tough emotion, e.g., sadness, anger, anxiety [14]. In this study, patients described sadness as overwhelming and closely related to depression. This is linked to body dissatisfaction. Patients struggled to control or inhibit anger in interpersonal situations, but uncontrolled anger appeared toward themselves. Anxiety also accompanies illness, in particular, the apparent anxiety of fatness [15]. The authors of the article discussed the topic of clinical linguistics. Clinical linguistics refers to creating patterns of communication disability concerning a specified illness. Research showed that people suffering from anorexia nervosa compared to healthy people revealed such speech features as concretized emotions (without irony and metaphor), usage of positive words and lower usage of words connected with anxiety, lower level of self-directed attention, little use of first-person singular sentences, putting sentences mainly in the present tense, narrow range of expression related to the cognitive mechanism, food-related topics were more frequent and few statements were related to the outside world and relations [12].
In the literature review, we can distinguish two computer methods used to assess sentiment and emotions expressed by people who suffer from eating disorders. The first group refers to computer recognition of emotions based on face mimic analysis [16,17,18]. The authors of these methods indicate that people with anorexia nervosa find obstacles in the social domain, which may contribute to the inability to recognize emotions in people’s faces.
The authors of the paper [16] investigated facial emotion expression in eating disorders, using the computer method for image analysis and Noldus FaceReader software [19]. This software allowed the authors to detect six basic emotions: happiness, sadness, anger, fear, surprise and disgust, as well as neutral states. The paper aimed at detecting emotions (happiness and sadness) in the faces of anorexia patients while watching short video clips. According to the results, the healthy control patients showed significantly more positive emotions during positive clips compared to the anorexia group. On the other hand, the emotional expression during the sad film clip was the same in both groups. Similar conclusions were made by the authors of the studies [17,18], where the focus was to establish recognition thresholds defining how much information is needed to recognize a facial emotion expression and to identify deficits in anorexia patients compared to controls. Results indicated that participants with anorexia were less accurate than the healthy group in recognizing expressions of disgust when shown less ambiguously.
The second group stands for methods based on computer analysis of written or spoken language. Voice, besides face mimic, is an important modality for emotional expression. Speech, in general, is the principal communication channel that contains not only words uttered by a person but also the emotional state of each individual [20].
The authors of papers [21,22,23,24] used systems in their research based on various classifiers and methods for feature extraction. The recurrent neural network (RNN) classifier is often used to classify basic emotions. Next, they were compared to multivariate linear regression (MLR), and support vector machine (SVM) techniques, which are widely used in the field of emotion recognition for spoken audio signals [22]. The results obtained in different data sets indicate that these methods are 80% effective.
The text analysis for detecting specific emotions is more complex than sentiment analysis [25,26,27]. However, it offers more benefits, as it more precisely depicts the author’s attitude included in a note. The computer algorithm for emotion detection mostly uses a categorical model of emotions and focuses on classifying a text to a particular emotional category. The researchers most frequently apply methods of machine learning, especially various classifiers. The authors of [25,26] used Bayes naive classifier and SVM (support vector machines) for classifying the text to one of the six emotions (according to Ekman model [20]). The research was conducted on the collection of internet blogs. As attributes for classifier, the authors used terms that belong to relevant classes containing emotional terms in the lexical database of WordNetAffect and General Inquirer.
A comprehensive comparison of the effectiveness of various classifiers (Bayes, kNN, decision trees) in emotion detection is presented in papers [28,29]. The other attitude also applies various rule-based approaches [29], where each word has a particular emotion and its intensity. The extension of the rule-based system is an attitude, where the authors made emotion categorization through analysis of latent semantic groups—the participants performed similar schemas of utterance [30]. According to the authors of these papers, NLP methods used to analyze emotions based on machine learning give better results than those using only dictionary methods.
All methods compared above have some pros and cons. Nevertheless, emotion recognition based on the face image and spoken language is at some point invasive. As therapists and psychologists say, patients suffering from eating disorders have problems in expressing their own emotions. They usually find it tough to name them and feel ashamed about them. Such patients frequently refuse to take part in an experiment where they are recorded. Therefore, in our research, we decided on the least invasive method. Our analysis of emotion explores written notes prepared by patients. The vital phase of the research is that the note can be written by a patient at home or in other places with the most safety and comfort to a patient.
The method proposed in the paper for determining the intensity of five emotions (happiness, sadness, anxiety, anger and disgust) in medical notes focuses on the extended Nencki Affective Word List (NAWL) dictionary, in the space of property vectors with the selection of parameter values [31]. There are many methods for detecting emotions, but they require a large corpus of data. The current database was collected for 3 years. Because of the patient’s psychical resistance, obtaining a more considerable corpus of notes is an objectively difficult task, which could help apply methods based on deep learning, so the decision was made to extend the NAWL dictionary (which does not require a large corpus of data). Next, we analyzed the feelings of people suffering from anorexia nervosa concerning a control group of healthy people. The goal was to find emotional patterns that distinguish sick people from healthy people.

3. Materials and Methods

Identifying the accompanying emotions of a person suffering from an eating disorder is vital for treatment. Clinical research shows that accompanying emotions of anger and anxiety cause a reluctance to eat, while feeling depressed and disappointed leads to excessive food consumption. For people suffering from eating disorders, the problem of emotional state is more complex—patients diagnosed with such a diagnosis may feel the emotions more strongly [32].
By developing a method to automatically indicate the intensity of emotions in notes, we intend to find a solution to the problem.
We asked the patients to write free notes about their bodies. We also did not suggest the length of the notes. It depended on the patients’ will, in order to not make the patient reluctant by the issue of body image. This was due to the fact that people with eating disorders do not eagerly speak about their bodies. Moreover, we did not suggest any topics or issues, as we wanted to avoid the effect of projection in the statement towards a specific direction. Participants in the research group were people with confirmed anorexia and were still under clinical care. We researched 96 notes (46 from people suffering from anorexia and 52 from healthy people).
In order to include a patient with a disorder for the study, the following criteria had to be met:
  • Clinically diagnosed anorexia,
  • The age of the patients was adolescence (12–18 years),
  • No comorbid mental illnesses,
  • The disease lasted no more than 3 years.
The control group consisted of people meeting the following assumptions:
  • The age of the patients was adolescence (12–18 years),
  • No diagnosed mental illnesses.
The work used NAWL [33]. The original dictionary, the base for the NAWL dictionary, is called The Berlin Affective Word List Reloaded (BAWL-R) and is in German [34]. NAWL dictionary consists of 2902 Polish words (nouns, verbs, adjectives) with assessed emotion intensity rating. The emotions covered in this dictionary are happiness, sadness, disgust, anger and anxiety. Vocabulary in the Polish language is extensive, so the mentioned dictionary is quite limited. The motivation was to carry out the dictionary expansion, i.e., determining the emotional intensity of the words not included in the dictionary (indefinite words). Using only the original dictionary was not effective, as only a few words in text notes were found. In most cases, text notes had the highest intensity of happiness because in the basic dictionary, half of the terms have that emotion as the dominant emotion (emotion with the highest intensity) [33].

4. Dictionary Expanding with New Words from Medical Notes

Figure 1 shows stages of the extending algorithm. The first stage was stemming, i.e., reducing words to their stem. The stem is not always an existing word, but derivative words related to each other were mapped to the same stem [35]. Words in the original dictionary have forms of morphological roots, so this operation was used to standardize.
The first stage was note cleaning. This operation consisted of converting letters to lowercase, removing words with numbers inside, removing numbers and removing words from the stop list (a list containing words, which could disturb analysis). Then stemming dictionaries were generated in SAS Institute Software SAS® Text Miner 14.1 [36]. The third stage referred to word transformation into numerical vectors—the word embedding operation was performed, resulting in low-dimensional vectors being generated [37]. The multidimensional space in which these vectors are presented makes it possible to capture the relationship between words, e.g., what words appear in the context of another word. A simple neural network was used to generate word embedding. This network consisted of three layers: input and two dense outputs with linear activation function, and dense with softmax activation function. Categorical cross-entropy was chosen as loss function and Adam optimizer for model compilation. The batch size during network training was 256, and the training was set for 1000 epochs. The input data were coded by one-hot encoding. The fourth stage was to determine the emotional intensity of words from text notes, which were not included in the original dictionary. The first step within this stage was marking the locations of the emotional center—this was carried out based on coexisting words in written notes and NAWL dictionary with specific values of emotions intensity. The emotional center is the average of each dimension from numerical vectors (word embed) among labeled words with a particular dominant emotion. Then, the most similar emotional center was selected based on the cosine similarity for each indefinite word [38]. Cosine similarity is a measure of the similarity of two vectors. Every indefinite word was labeled as the center to which it is most similar. The formula below gives cosine similarity:
s i m i l a r i t y ( A , B ) = A × B | | A | | × | | B | | = i = 1 n A i × B i i = 1 n A i 2 × i = 1 n B i 2
Based on the smallest Euclidean distance, a few words with the determined emotion intensity adjacent to the indefinite word is picked [39]. Three main operations contribute to defining the intensity of emotions. The first is determined by the Formula (2). This formula is the sum of the distance of the analyzed word from its closest neighbors.
d i s t s u m = i = 1 k z k
zk—the distance of the adjacent word from the analyzed word.
Next, the operation described by Formula (3) takes place. Furthermore, the fraction of the given distance is calculated from all the summed-up distances for each of the neighbors
w k = Z k d i s t s u m
The last operation is presented by the Formula (4). The final value of the intensity of a given emotion is calculated based on this operation—it is the sum of the products of fractions of the distance calculated previously with the corresponding values of the intensity of emotions.
e m o i n t e n s i t y = i = 1 k s k × w k
Sk—the intensity of a certain emotion of k-word.
According to the formula above (emointensity), the operation is repeated for each emotion separately—the value of Sk is changed. After expanding the dictionary, the method introduces the following measures to determine the emotions in the note: the sum of the intensity of individual emotions, the number of words in the note for each emotion (words with specific dominant emotion), the percentage distribution of words from a given emotion and a measure of the intensity of the emotion based on the formula:
m e m o = e m o i n t e n s i t y × e m o c o u n t n o t e l e n g t h
The values of the intensity of emotions range from 0 to 1, where 0 means that there is no emotion in the note, and 1 is the maximum value of emotion in the note.
Based on the analysis of 96 notes using the presented method, emotional profiles of a sick and healthy person were built with different variants of parameters. Each note was analyzed in terms of emotions. Then the average values of each emotion were calculated for the group of healthy and sick people.

4.1. Expert Consultations

The collected text notes from patients were tagged with the accompanying illness (anorexia nervosa) by a psychology expert. According to the expert consultation, people suffering from anorexia nervosa should experience the highest intensity of the emotions of anxiety.

4.2. Material Used in the Research

The authors of the notes were focused on the subject of perception of their bodies. After we had established appropriate study inclusion criteria, the data collection was performed. It included only girls in both groups. The current collection of medical notes in which the following studies were carried out was 96 records in Polish. The database consisted of 44 text notes from girls suffering from anorexia and 52 from healthy ones. The BMI of patients ranged from 11.1 kg/m2 to 20.6 kg/m2, and average 15.6 ± 2.4 kg/m2. The BMI of patients in the healthy group ranged from 16.1 kg/m2 to 24.8 kg/m2 and average 20.1 ± 2.1 kg/m2. According to the International Statistical Classification of Diseases and Related Health Problems (ICD-10) (Diagnostic Criteria for Research), an adult BMI value of less than 17.5 kg/m2 indicates anorexia [40]. Based on BMI values, it is obvious that the patients were significantly underweight, while healthy people had an average body weight.

4.3. Conducted Experiments

During the research, two experiments occurred to test the proposed method. Over the first experiment, we checked whether the window width (the number of context words in a written note) significantly influences the valency of indefinite words while expanding the dictionary. In the second experiment, the same issue was examined, but the neighborhood during approximation was changed. Details of the experiment are provided below:
Experiment I—five groups with different lengths of word embedding vector (3, 10, 20, 50 and 100) with 4-neighborhood during approximation were tested, the parameter of window width was changed within {2,3,5}.
Experiment II—five groups with different lengths of word embedding vector (3, 10, 20, 50, and 100) with 5-neighborhood during approximation were tested, the parameter of window width was changed within {2,3,5}.

5. Results

5.1. Analysis of the Results of the Intensity of Five Basic Emotions

Assessment of Emotions Using a Basic Vocabulary

Figure 2 presents the profile of a healthy and sick person based on the original NAWL dictionary. In the profile of a healthy person, we can notice the higher intensity of all emotions than in the profile of a sick one. The shape of radar charts is irregular because happiness dominates the remaining emotions within both profiles. Moreover, the intensity of emotions in both profiles has relatively low values—0.02–0.09 in the case of sick people and 0.03–0.15 in the case of healthy ones.
This approach to check the intensity of emotions in the notes was incorrect, since only 37% of the words from the given notes were found in the original dictionary, on average.

5.2. Assessment of Emotions with the Use of an Extended Dictionary

According to previously selected groups, we chose the profiles most suited to the person suffering from anorexia. The selection was made on the characteristics provided by a psychology expert. Graphs presenting the data obtained in each group were made using the exploration and visualization tool in SAS Institute Software SAS® Text Miner 14.1 [38].

5.2.1. Experiment 1

The best model representing the sample emotional profiles of a healthy and sick person during the experiment was selected. The best model was estimated based on the significant differences between the profile of a sick and healthy person. Moreover, the numerical values of the intensity of emotions in the profiles for a healthy person and person suffering from anorexia nervosa were treated as numerical vectors, and the Euclidean distance between them was calculated. In both cases, the same best model was chosen. In the developed solution, all words carried the values of the intensity of individual emotions. The length of the embedding vector for this model was 10 at the window width of three. During experiment 1, the neighborhood was four by default.
Figure 3 presents the profile of a healthy and sick person after expanding the original dictionary. The tendency of the more positive emotion (happiness) to dominate in the healthy person over the sick and the advantage of more negative emotions (sadness, anger, anxiety, disgust) in the sick person over the healthy person was preserved. Emotion values ranged from 0.21 to 0.28 in the profile of a sick person, with the highest intensity in anger (0.28) and anxiety (0.27), and the lowest in disgust (0.21). The values in a healthy person appear in the range 0.16–0.33, with the highest intensity in happiness and the lowest intensity in disgust. In the profile of a healthy person, the intensity of emotions, happiness stands out above all other emotions—it reaches the value of 0.33.
Figure 4 presents the correlation between measures within the group of sick people. The strongest positive correlation between emotions among sick people is between sadness and anxiety (0.9541). Strong positive correlations exist between sadness and anger (0.7855) and anxiety and anger (0.6886). The strongest negative correlation can be seen between happiness and disgust (−0.7937). There was a weak negative correlation with the other compared pairs.
Figure 5 presents the correlation between measures within the group of healthy people. There are strong correlations in all compared pairs in healthy people (below −0.6 and above 0.6). The strongest positive correlation appears between sadness and anxiety (0.9140). The following strong pairs are sadness and anger (0.8462) and anxiety and anger (0.8229). The strongest negative correlation is between happiness and disgust (−0.8529) and sadness and happiness (−0.8245).
Table 1 presents the distribution of emotions grouped into two groups: research (people with diseases) and control (healthy people). It is depicted as a box plot (Figure 6). It shows the table with detailed data from the box plot. In most cases, the dispersion of data in healthy people is more significant than in sick, except for disgust, which takes values from a more extensive range for sick people. In the group of sick people, right-sided asymmetry is significantly visible in the case of the measure of disgust. In happiness, we can assume that data are symmetrical. In other cases, there is a slight right-hand asymmetry. In healthy people, in three cases (the measure of disgust, sadness and anger), a slight right-hand asymmetry can be noticed, while the happiness measure shows a strong right-hand asymmetry. The measure of fear is symmetrical. The statistics were validated for correctness by an expert due to the lack of ground truth.

5.2.2. The Analysis of the Notes

The figure below shows an example of applying the developed method with prolonged observation during therapy. We assume that the first note was collected at the beginning of the treatment. In contrast, the second one was collected during treatment after several therapeutic sessions (the patient still has not fully recovered).
The patient suffering from anorexia nervosa expressed herself about her body image in the following way: “As if I lived two lives, when I was with him, my body was exposed, and when it was gone, I lived with guilt and as if I wanted to punish the body for it. Hide them, injure them, starve them, punish them somehow”.
After using the proposed method, the emotional picture is plotted in Figure 7.
We can notice a significant similarity between the intensity of anger and happiness in the profile of the sick person and the profile of the analyzed patient. In case of disgust, it is not immediately visible, but after calculating the Euclidean distance, the patient is also closer to the patient’s profile. In the case of sadness and anxiety, the values vary significantly, but they are still closer to the profile of a person suffering from anorexia nervosa.
Second note:
“The only thing that mattered was that I could do something. As if I were telling myself that nothing else works for me. I am losing weight. My thinning body was hideous for me, but paradoxically I was happy because it meant that I was successful in something, even if it means that I was hurting my body, I was successful in it”.
The emotional picture of the second note is plotted in Figure 8. Despite maintaining a controversial opinion about one’s own body, in the case of three emotional intensities (anger, anxiety and happiness), they are closer to the profile of a healthy person. The other two emotional intensities (disgust and sadness) are still closer to the profile of a sick person. The intensity of disgust has increased, sadness has decreased, and it tends to the value of a healthy person. In this case, the intensity of disgust is visible. Based on references to the article [6], it can be concluded that the sick person, due to the increased emotion of disgust towards his body, wants to hide other difficult emotions.

5.2.3. Experiment II

We noticed that the number of neighbors increased, while expanding the dictionary did not significantly change the results. Out of 96 notes, only 3–7 notes changed the dominant emotion. Radar vectors were very close.

6. Discussion

When considering the best solution, we can conclude that in the case of medical notes that we had at our disposal, a property vector of length 10 is sufficient. The vocabulary was too varied to see visible differences with a three-dimensional property vector, while longer vectors did not capture the relationships well between the words. The notes were relatively short, which was the reason why, with the width of the (contextual words) window, five often reached extreme words and included them in the context. With a window width of two, the contextual words were too close together. The best chosen window width was three. In the second experiment, the results came out very close to the results from experiment 1. Neighborhood five did not deteriorate or improve the results.
When comparing the average intensity of emotions in the profiles of a healthy person and a sick person, a higher value of the intensity of happiness is noticeable in the profile of a healthy person than in the profile of a sick person. The opposite occurs with other emotions—they reach higher values in the case of a person suffering from anorexia nervosa. The authors of the article drew attention to the dominant negative words among people suffering from eating disorders [41].
Disgust and happiness had the strongest negative correlation in both cases (the anorexia nervosa and the healthy groups). There were two more pairs in healthy people with a strong negative correlation: happiness-anxiety, happiness-sadness. The strongest correlations among sick people and healthy people were sadness-anxiety, sadness-anger and anger-anxiety.
The possibility of non-invasive detection of dominant emotions is an important indicator that helps determine the patient’s current condition in the context of the intensity of psychopathological symptoms, evaluation of the therapeutic interactions applied and areas for therapeutic interactions [42]. The ability to determine the ratio of the intensity of individual feelings is crucial because it determines both the patient’s well-being and his psychopathological context. It can be used to assess emotional resources and constitute a prognostic factor for the undertaken therapeutic interactions. Sadness and anxiety are a correlation favoring the patient’s depression, and, at the same time, a greater risk factor for the patient’s active participation in the treatment process. Anger is a more energetic emotion that stimulates action. However, the correlation between anger and sadness carries the risk of self-harm, i.e., transferring the feeling of anger onto oneself in a sad situation, which favors the feeling of helplessness and guilt.
We can apply the method for the quantitative assessment of the therapist’s knowledge. Moreover, its use can also be found in screening tests to identify people who are potentially at risk of an eating disorder based on their emotional state. The proposed solution may also indicate whether the therapy helps the patient, and his emotional profile is similar to a healthy person.
The proposed method will also be tested for other known eating disorders. A further direction of the study could also be to investigate other psychological disorders with a biopsychosocial, psychosomatic or chronic disease, e.g., oncological disease.

7. Conclusions

The study used the extension to the NAWL dictionary for better determining the five basic emotions: happiness, sadness, anger, anxiety and disgust in texts. The research group consisted of healthy girls and anorexia patients. We managed to show the possibilities of emotional profile differentiation among both healthy and sick people. So far, the obtained results are promising.
The authors were aware that extracting emotions from the text is more complicated and burdened with greater challenges than extracting emotions from multimodal data, due to the lack of non-verbal clues about the emotions accompanying the statements. There is also a need to take into account the cultural context. However, considering the context of the proposed application, the selected approach due to the patient’s resistance and the lack of available thematic text corpora seemed justified. After considering the typical challenges of extracting emotions from texts, such as sarcasm or contextual information, we decided to use a method based on basic word form, which reduces the importance of the above-mentioned challenges. The cultural context was also essential, so we limited the research group and controls to native speakers of the Polish language. The proposed approach focused on a discrete model of emotions and detecting keywords that convey emotions. The main weakness of this class of methods is the limited vocabulary of emotional carriers. The proposed approach overcomes this disadvantage by extending the vocabulary of emotion carriers with the use of property vectors. The construction of property vectors also takes into account contextual information because this model is created based on the matrix of word occurrences. The proposed application as a computer-aided therapeutic diagnosis of anorexia nervosa has potential application as a guide for a psychologist who determines the diagnosis and treatment stages autonomously under medical and ethical standards.
In the future, the method should be tested on a more extensive database. The developed solution can also be applied in other mental disease diagnostics. The method can be used for quantitative assessment, supporting the therapist’s knowledge. Its use can also be found in screening tests to identify people who are potentially at risk of an eating disorder, based on their emotional state. The proposed solution may also indicate whether the therapy helps the patient, and if his emotional profile is similar to a healthy person.

Author Contributions

Conceptualization, K.B., A.R., S.M., K.R. and D.S.; methodology, K.B., A.R., S.M. and D.S.; software, K.B.; validation, D.S., and K.R.; formal analysis, K.B., A.R., S.M. and D.S.; investigation, K.B., A.R., S.M.; resources, K.R.; data curation, K.B., A.R., S.M.; writing—original draft preparation, K.B., A.R., S.M., K.R. and D.S.; writing—review and editing, K.B., A.R., S.M., K.R. and D.S.; visualization, K.B.; supervision, K.R. and D.S.; project administration, D.S.; funding acquisition, D.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by Silesian University of Technology statutory financial support.

Institutional Review Board Statement

Ethical review and approval were waived for this study, because the Ethical Committee concluded that a person’s free speech about his body image is not a medical interference with his well-being.

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Salem, N.; Malik, H.; Shams, A. Medical image enhancement based on histogram algorithms. Procedia Comput. Sci. 2019, 163, 300–311. [Google Scholar] [CrossRef]
  2. Shirokanev, A.S.; Ilyasova, N.Y.; Andriyanov, N.A.; Demin, N.S. OCT image processing system for numerical simulation of fundus temperature distribution. In Optical Technologies for Telecommunications 2020; International Society for Optics and Photonics: Bellingham, WA, USA, 2021; Volume 11793, p. 1179311. [Google Scholar]
  3. Yi, S.-L.; Yang, X.-L.; Wang, T.-W.; She, F.-R.; Xiong, X.; He, J.-F. Diabetic Retinopathy Diagnosis Based on RA-EfficientNet. Appl. Sci. 2021, 11, 11035. [Google Scholar] [CrossRef]
  4. Shirokanev, A.; Ilyasova, N.; Andriyanov, N.; Zamytskiy, E.; Zolotarev, A.; Kirsh, D. Modeling of Fundus Laser Exposure for Estimating Safe Laser Coagulation Parameters in the Treatment of Diabetic Retinopathy. Mathematics 2021, 9, 967. [Google Scholar] [CrossRef]
  5. Silva-Aravena, F.; Álvarez-Miranda, E.; Astudillo, C.; González-Martínez, L.; Ledezma, J. Patients’ Prioritization on Surgical Waiting Lists: A Decision Support System. Mathematics 2021, 9, 1097. [Google Scholar] [CrossRef]
  6. Alexander-Mott, L.; Lumsden, D.B. Understanding Eating Disorders: Anorexia Nervosa, Bulimia Nervosa, and Obesity; Taylor & Francis: Oxfordshire, UK, 1994; p. 302. [Google Scholar]
  7. Cierpiałkowska, L.; Sęk, H. Psychologia Kliniczna; PWN: Warsaw, Poland, 2016. [Google Scholar]
  8. Józefik, B.; Psychiczna, A.I.B. Rozumienie i Leczenie Zaburzeń Odzywiania Sie, 2nd ed.; Uniwersytetu Jagiellońskiego: Kraków, Wydawn, 1999. [Google Scholar]
  9. Treasure, J.; Duarte, T.A.; Schmidt, U. Eating disorders. Lancet 2020, 395, 899–911. [Google Scholar] [CrossRef]
  10. Peterson, K.; Fuller, R. Anorexia nervosa in adolescents. Nursing 2019, 49, 24–30. [Google Scholar] [CrossRef]
  11. Petrella, C.; Milano, W. Recent Clinical Aspects of Eating Disorders. Rev. Recent Clin. Trials 2009, 4, 63–69. [Google Scholar] [CrossRef]
  12. Cuteri, V.; Minori, G.; Gagliardi, G.; Tamburini, F.; Malaspina, E.; Gualandi, P.; Rossi, F.; Moscano, M.; Francia, V.; Parmeggiani, A. Linguistic feature of anorexia nervosa: A prospective case–control pilot study. Eat. Weight. Disord.-Stud. Anorexia Bulim. Obes. 2021, 1, 1–9. [Google Scholar] [CrossRef]
  13. Lyons, E.J.; Mehl, M.R.; Pennebaker, J.W. Pro-anorexics and recovering anorexics differ in their linguistic Internet self-presentation. J. Psychosom. Res. 2006, 60, 253–256. [Google Scholar] [CrossRef] [PubMed]
  14. Fox, J.R.E.; Power, M. Eating disorders and multi-level models of emotion: An integrated model. Clin. Psychol. Psychother. 2009, 16, 240–267. [Google Scholar] [CrossRef]
  15. Espeset, E.M.S.; Gulliksen, K.S.; Nordbø, R.H.S.; Skårderud, F.; Holte, A. The Link between Negative Emotions and Eating Disorder Behaviour in Patients with Anorexia Nervosa. Eur. Eat. Disord. Rev. 2012, 20, 451–460. [Google Scholar] [CrossRef] [PubMed]
  16. Leppanen, J.; Dapelo, M.; Davies, H.; Lang, K.; Treasure, J.; Tchanturia, K. Computerised analysis of facial emotion expression in eating disorders. PLoS ONE 2017, 12, e0178972. [Google Scholar] [CrossRef] [Green Version]
  17. Wyssen, A.; Lao, J.; Rodger, H.; Humbel, N.; Lennertz, J.; Schuck, K.; Isenschmid, B.; Milos, G.; Trier, S.; Whinyates, K.; et al. Facial Emotion Recognition Abilities in Women Experiencing Eating Disorders. Psychosom. Med. 2019, 81, 155–164. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  18. Dapelo, M.M.; Surguladze, S.; Morris, R.; Tchanturia, K. Emotion Recognition in Blended Facial Expressions in Women with Anorexia Nervosa. Eur. Eat. Disord. Rev. 2016, 24, 34–42. [Google Scholar] [CrossRef]
  19. Facial Expression Recognition Software|FaceReader. Available online: https://www.noldus.com/facereader (accessed on 7 December 2021).
  20. Ekman, P. An argument for basic emotions. Cogn. Emot. 1992, 6, 169–200. [Google Scholar] [CrossRef]
  21. Kerkeni, L.; Serrestou, Y.; Mbarki, M.; Raoof, K.; Mahjoub, M.A.; Cleder, C. Automatic Speech Emotion Recognition Using Machine Learning. In Social Media and Machine Learning; IntechOpen: London, UK, 2019. [Google Scholar] [CrossRef] [Green Version]
  22. Kerkeni, L.; Serrestou, Y.; Mbarki, M.; Raoof, K.; Mahjoub, M.A. Speech Emotion Recognition: Methods and Cases Study. In Proceedings of the 10th International Conference on Agents and Artificial Intelligence, Madeira, Portugal, 16–18 January 2018; pp. 175–182. [Google Scholar]
  23. Wu, S.; Falk, T.H.; Chan, W.-Y. Automatic speech emotion recognition using modulation spectral features. Speech Commun. 2011, 53, 768–785. [Google Scholar] [CrossRef]
  24. Spinczyk, D.; Bas, M.; Dzieciątko, M.; Maćkowski, M.; Rojewska, K.; Maćkowska, S. Computer-aided therapeutic diagnosis for anorexia. Biomed. Eng. Online 2020, 19, 53. [Google Scholar] [CrossRef]
  25. Hirat, R.; Mittal, N. A Survey on Emotion Detection Techniques Using Text in Blogposts. Int. Bull. Math. Res. 2015, 2, 180–187. [Google Scholar]
  26. Aman, S.; Szpakowicz, S. Identifying Expressions of Emotion in Text. In Text, Speech and Dialogue; Springer: Singapore, 2007; Volume 4629, pp. 196–205. [Google Scholar]
  27. Zerrouki, K.; Hamou, R.M.; Rahmoun, A. Sentiment Analysis of Tweets Using Naïve Bayes, KNN, and Decision Tree. Int. J. Organ. Collect. Intell. 2020, 10, 35–49. [Google Scholar] [CrossRef]
  28. Yousaf, A.; Umer, M.; Sadiq, S.; Ullah, S.; Mirjalili, S.; Rupapara, V.; Nappi, M. Emotion Recognition by Textual Tweets Classification Using Voting Classifier (LR-SGD). IEEE Access 2021, 9, 6286–6295. [Google Scholar] [CrossRef]
  29. Neviarouskaya, A.; Prendinger, H.; Ishizuka, M. Textual Affect Sensing for Sociable and Expressive Online Communication. In Lecture Notes in Computer Science; Springer: Singapore, 2007; Volume 4738, pp. 218–229. [Google Scholar]
  30. Bellegarda, J.R. Emotion Analysis Using Latent Affective Folding and Embedding; 2010; pp. 1–9. Available online: https://aclanthology.org/W10-0201 (accessed on 29 November 2021).
  31. Sailunaz, K.; Dhaliwal, M.; Rokne, J.G.; Alhajj, R. Emotion detection from text and speech: A survey. Soc. Netw. Anal. Min. 2018, 8, 1–26. [Google Scholar] [CrossRef]
  32. Dingemans, A.; Danner, U.; Parks, M. Emotion Regulation in Binge Eating Disorder: A Review. Nutrients 2017, 9, 1274. [Google Scholar] [CrossRef] [Green Version]
  33. Riegel, M.; Wierzba, M.; Wypych, M.; Żurawski, Ł.; Jednoróg, K.; Grabowska, A.; Marchewka, A. Nencki Affective Word List (NAWL): The cultural adaptation of the Berlin Affective Word List–Reloaded (BAWL-R) for Polish. Behav. Res. Methods 2015, 47, 1222–1236. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  34. Võ, M.; Kuchinke, M.; Urton, C.; Hofmann, M.; Jacobs, A. The Berlin Affective Word List Reloaded (BAWL-R). Behav. Res. Methods 2009, 41, 534–538. [Google Scholar] [CrossRef] [PubMed]
  35. Hickman, L.; Thapa, S.; Tay, L.; Cao, M.; Srinivasan, P. Text Preprocessing for Text Mining in Organizational Research: Review and Recommendations. Organ. Res. Methods 2020, 25, 114–146. [Google Scholar] [CrossRef]
  36. SAS® Text Miner 14.1 Reference Help SAS® Documentation; 2015; Available online: https://support.sas.com/documentation/onlinedoc/txtminer/14.1/tmref.pdf (accessed on 7 December 2021).
  37. Rezaeinia, S.M.; Rahmani, R.; Ghodsi, A.; Veisi, H. Sentiment analysis based on improved pre-trained word embeddings. Expert Syst. Appl. 2019, 117, 139–147. [Google Scholar] [CrossRef]
  38. Sitikhu, P.; Pahi, K.; Thapa, P.; Shakya, S. A Comparison of Semantic Similarity Methods for Maximum Human Interpretability. In Proceedings of the 2019 Artificial Intelligence for Transforming Business and Society (AITB), Kathmandu, Nepal, 5 November 2019; Volume 1, pp. 1–4. [Google Scholar]
  39. Han, J.; Kamber, M.; Pei, J. Getting to Know Your Data. In A Beginner’s Guide to Statistics for Criminology and Criminal Justice Using R; Springer: Berlin/Heidelberg, Germany, 2021; pp. 21–38. [Google Scholar] [CrossRef]
  40. Rosling, A.; Ros, H.S.; Swenne, I. One-year outcome and incidence of anorexia nervosa and restrictive eating disorders among adolescent girls treated as out-patients in a family-based setting. Upsala J. Med. Sci. 2016, 121, 50–59. [Google Scholar] [CrossRef] [PubMed]
  41. Oh, J.S.; He, D.; Jeng, W.; Mattern, E.; Bowler, L. Linguistic characteristics of eating disorder questions on Yahoo! Answers—content, style, and emotion. Proc. Am. Soc. Inf. Sci. Technol. 2013, 50, 1–10. [Google Scholar] [CrossRef]
  42. Harrison, A.; Sullivan, S.; Tchanturia, K.; Treasure, J. Emotion recognition and regulation in anorexia nervosa. Clin. Psychol. Psychother. 2009, 16, 348–356. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Method stages.
Figure 1. Method stages.
Electronics 11 00138 g001
Figure 2. Profiles of a healthy and sick person are shown on a radar chart (the values of the intensity of emotions range from 0 to 1, where 0 means that there is no emotion in the note, and 1 the maximum value of emotion in the note).
Figure 2. Profiles of a healthy and sick person are shown on a radar chart (the values of the intensity of emotions range from 0 to 1, where 0 means that there is no emotion in the note, and 1 the maximum value of emotion in the note).
Electronics 11 00138 g002
Figure 3. Profiles of a healthy and sick person after expanding operation (the values of the intensity of emotions range from 0 to 1, where 0 means that there is no emotion in the note, and 1 the maximum value of emotion in the note).
Figure 3. Profiles of a healthy and sick person after expanding operation (the values of the intensity of emotions range from 0 to 1, where 0 means that there is no emotion in the note, and 1 the maximum value of emotion in the note).
Electronics 11 00138 g003
Figure 4. Correlation between measures in the group of sick people.
Figure 4. Correlation between measures in the group of sick people.
Electronics 11 00138 g004
Figure 5. Correlation between measures in the group of healthy people.
Figure 5. Correlation between measures in the group of healthy people.
Electronics 11 00138 g005
Figure 6. Distribution of emotions within group of people with disorder and healthy people.
Figure 6. Distribution of emotions within group of people with disorder and healthy people.
Electronics 11 00138 g006
Figure 7. Comparison of the intensity of emotions present in the first note with the profiles of a healthy person and a person suffering from anorexia nervosa (the values of the intensity of emotions range from 0 to 1, where 0 means that there is no emotion in the note, and 1 the maximum value of emotion in the note).
Figure 7. Comparison of the intensity of emotions present in the first note with the profiles of a healthy person and a person suffering from anorexia nervosa (the values of the intensity of emotions range from 0 to 1, where 0 means that there is no emotion in the note, and 1 the maximum value of emotion in the note).
Electronics 11 00138 g007
Figure 8. Comparison of the intensity of emotions present in the second note with the profiles of a healthy person and a person suffering from anorexia nervosa (the values of the intensity of emotions range from 0 to 1, where 0 means that there is no emotion in the note, and 1 the maximum value of emotion in the note).
Figure 8. Comparison of the intensity of emotions present in the second note with the profiles of a healthy person and a person suffering from anorexia nervosa (the values of the intensity of emotions range from 0 to 1, where 0 means that there is no emotion in the note, and 1 the maximum value of emotion in the note).
Electronics 11 00138 g008
Table 1. Detailed table with data of distribution of emotions within research and control group.
Table 1. Detailed table with data of distribution of emotions within research and control group.
Descriptive Statistics of the Intensity of Five Identified Emotions
Type of Group: Research (with Disease)/Control (without Disease)Kind of EmotionMinimum ValueQuartile 1 ValueMean ValueMedian ValueQuartile 3 ValueStandard
Deviation
Value
Research groupHappiness0.130.230.270.260.310.40
Research groupDisgust0.150.170.220.210.260.43
Research groupSadness0.210.230.270.270.300.35
Research groupAnxiety0.250.260.290.290.310.36
Research groupAnger0.200.230.270.260.310.37
Control groupHappiness0.110.240.330.300.410.65
Control groupDisgust0.040.130.190.180.260.37
Control groupSadness0.060.170.230.230.290.46
Control groupAnxiety0.110.210.260.270.290.42
Control groupAnger0.070.160.230.220.270.50
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Barańska, K.; Różańska, A.; Maćkowska, S.; Rojewska, K.; Spinczyk, D. Determining the Intensity of Basic Emotions among People Suffering from Anorexia Nervosa Based on Free Statements about Their Body. Electronics 2022, 11, 138. https://doi.org/10.3390/electronics11010138

AMA Style

Barańska K, Różańska A, Maćkowska S, Rojewska K, Spinczyk D. Determining the Intensity of Basic Emotions among People Suffering from Anorexia Nervosa Based on Free Statements about Their Body. Electronics. 2022; 11(1):138. https://doi.org/10.3390/electronics11010138

Chicago/Turabian Style

Barańska, Klaudia, Agnieszka Różańska, Stella Maćkowska, Katarzyna Rojewska, and Dominik Spinczyk. 2022. "Determining the Intensity of Basic Emotions among People Suffering from Anorexia Nervosa Based on Free Statements about Their Body" Electronics 11, no. 1: 138. https://doi.org/10.3390/electronics11010138

APA Style

Barańska, K., Różańska, A., Maćkowska, S., Rojewska, K., & Spinczyk, D. (2022). Determining the Intensity of Basic Emotions among People Suffering from Anorexia Nervosa Based on Free Statements about Their Body. Electronics, 11(1), 138. https://doi.org/10.3390/electronics11010138

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop