<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>V. Vysotska);</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Blyzniuk</string-name>
          <email>arsen.blyzniuk.sa.2020@lpnu.ua</email>
          <xref ref-type="aff" rid="aff3">3</xref>
          <xref ref-type="aff" rid="aff4">4</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Rostyslav Fedchuk</string-name>
          <email>rostyslav.b.fedchuk@lpnu.ua</email>
          <xref ref-type="aff" rid="aff3">3</xref>
          <xref ref-type="aff" rid="aff4">4</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Ivan Franko National University of Lviv, University 1</institution>
          ,
          <addr-line>79000 Lviv</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Kharkiv National University of Internal Affairs</institution>
          ,
          <addr-line>L. Landau Avenue 27 61080 Kharkiv</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Kremenchuk Flight College of Kharkiv National University of Internal Affairs</institution>
          ,
          <addr-line>Peremohy Street 17/6 39605 Kremenchuk</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>Lviv Polytechnic National University</institution>
          ,
          <addr-line>Stepan Bandera 12, 79013 Lviv</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
        <aff id="aff4">
          <label>4</label>
          <institution>Victoria Vysotska</institution>
        </aff>
      </contrib-group>
      <volume>000</volume>
      <fpage>0</fpage>
      <lpage>0002</lpage>
      <abstract>
        <p>The project aims to create a comprehensive methodology for the early detection of suicidal intentions, using the literary analysis of Ukrainian author's works, especially Mykola Khvylovy's. The object of the research is the linguistic and psychological aspects of literary works, which may indicate the suicidal intentions of the author. The subject of the study comprises language patterns and emotional indicators in Mykola Khvylovy's texts, which may be associated with suicidal thoughts. The scientific novelty consists in the development of the methodology that allows to analyze the literary texts to identify suicidal tendencies. This approach has not been used in this area before, but it can significantly contribute to psychological science and literary studies. The technique has great practical value, as it can be used to prevent suicide, providing the tool for early detection of suicidal intentions based on the analysis of written works.</p>
      </abstract>
      <kwd-group>
        <kwd>NLP</kwd>
        <kwd>text analysis</kwd>
        <kwd>author style Ukrainian literary works analysis</kwd>
        <kwd>big data analysis 1</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>The relevance of the given project is based on the need to develop innovative methods for detecting
and preventing suicidal behaviour, which is becoming an increasingly urgent problem in the modern
world, especially in Ukraine during and after the war. In recent years, there has been an alarming
increase in cases of depression and suicidal thoughts, especially among young people. In conditions
of this social context, the development of practical tools for the early detection of suicidal intentions
is becoming critical. The introduction of this initiative can help to identify persons who are at high
risk in time and provide them with the necessary support, which can contribute to the prevention of
the tragic consequences of suicidal behaviour. Many algorithms and techniques for suicide detection
and prevention have already been created. However, most of them are based on the analysis of the
patient who has already expressed suicidal intentions or, unfortunately, has already had negative
cases. These are mainly surveys, the questions for which are developed and the results of which are
processed by many psychologists, and analyses of social networks where people can reveal their
intentions or links to the possibility of such intentions.</p>
      <p>The project is aimed at the creation of a comprehensive methodology for the early detection of
suicidal intentions, using the literary analysis of Mykola Khvylovy's works. The following tasks have
been set to achieve this goal:



</p>
      <p>Development of the algorithm for quantitative text analysis, which includes measuring the
length of sentences and words;
Use of statistical methods to identify abnormalities in language use and what may indicate
suicidal tendencies;
Analysis of the emotional colouring of language, in particular verb endings, to identify
psychological states;
Formation of the rules set that allows determining potential suicidal intentions based on the
linguistic features of the texts.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Related works</title>
      <p>In the beginning, it is necessary to consider the source [1]. It describes algorithms for detecting
suicidal intentions. They are based on the analysis of the already existing methods expressing signs
of suicidal intentions. When signs are detected, the person is asked questions and the suicide risk
screening is carried out. If the screening result is negative (that is, the person has no intention to
commit suicide), the algorithm ends its work with a recommendation to "continue normal self-care".
If the screening result is positive (the person has intentions to commit suicide), the algorithm is
divided into two more branches. The root of the ramification is the result of the question, "Is there a
threat to safety that requires urgent treatment?". If so, the algorithm goes to algorithm B. If not, to
C. Algorithm B is designed to determine the level of severity of the risk of suicide:


</p>
      <p>High (suicidal ideation with suicidal intent and inability to remain safe regardless of
support/assistance);
Medium (suicidal ideation with suicidal intent and failure to maintain safety regardless of
support/assistance);
Low: (no suicidal intentions, no specific suicide plan and preparatory actions and high
confidence, for example, of a family member, in the person's ability to independently
maintain safety).</p>
      <p>Further, the document presents additional information in panels (tables). For example, in Panel 2
(Main characteristics of risk stratification), the main characteristics and actions for acute and chronic
risks are described. Moreover, Algorithm C is divided into three branches for three types of severity
of risk from the B algorithm, and actions to reduce risk through treatment are prescribed. The idea
is to reduce the risk to a low acuity level and move to a management step. Next, the document
presents several panels and the table of recommendations: Panel 3 (Modified risk factors); Panel 4
(Treatment to reduce suicides); Panel 5 (Action plan in crisis responses); Panel 6 (Intervention to
improve relationships). That is, the research provides interesting algorithms for identifying and
reducing the level of risk understanding, as well as an excellent theoretical basis for the issues of the
subject of the work.</p>
      <p>Moreover, the following research is presented [2]. It is the voluminous and detailed work related
to the psychological prevention of suicidal tendencies. The essence, types and means of suicidal
behaviour are described in the study. Factors of occurrence protective anti-suicidal factors are also
presented. More attention is paid to identifying the intentions of teenagers and young adults. The
work describes how to form an adequate attitude of surrounding people to suicidal manifestations
and the possibilities of their detection and overcoming. However, the most essential part of this work
[2] is page number 13, with the so-called "suicide risk determination map (V.M. Priymenko)". In the
result, the purpose is to determine the risk of committing suicide.</p>
      <p>Moreover, a form of conduct is individual. The equipment comprises a suicide risk card form, and
the duration is 30 minutes, taking into consideration age from 18 years. The suicide risk map is used
to identify the risk of committing suicide and the degree of such risk for persons who find themselves
in a difficult life situation. The card has 31 suicide risk factors, the presence of which must be detected
in the subject. It is filled out by a psychologist who is sufficiently familiar with the client's personality
based on a free conversation with him. When filling out the card, there is no need to rely on the
subjective assessments of the client but only on the impressions that the psychologist has received
during the study of the anamnesis. With the help of this map, it is possible to determine the presence
of suicidal intentions in people aged 18 years.</p>
      <p>The following work is "Guide to Forensic Psychiatry" by A.A. Tkachenko, namely, the section
concerning the diagnosis of suicidal intentions. In the work, patients are divided into two groups:
those who have already attempted suicide and pre-suicide patients with specific manifestations of
suicidal intentions. The primary attention of psychologists is given to the first group and the
detection of the second group. The study proposes the use of an integrated analysis of two factors
developed at the All-Union Scientific and Methodological Centre for Suicidology: suicidal and
antisuicidal [3]. Moreover, suicidal factors are divided into:
1. Group as socio-demographic (gender, age, professional and family status, history of illegal
acts); medical (presence of one or another form of mental pathology);
2. Personal and situational as conflicts (localization, content, orientation, dynamics); degree of
suicidal manifestations in the past and present;
3. Individual personnel as predisposing suicidal personality complexes, maladjustment forms
and levels; the nearest (suicide-dangerous positions and conditions); immediate (suicidal
tendencies depth and activity).</p>
      <p>Anti-suicidal factors include intense emotional attachments to significant ones, parental duties,
expressed sense of duty, preoccupation with one's health, dependence on public opinion and the
desire to avoid condemnation from others, and having life plans. At the same time, it must be
considered that most of the listed factors are variable. The level of suicidal risk diagnosed in a specific
person cannot be automatically extrapolated to his future but requires careful and systematic
reexamination. It means there is a need to study patients and investigate their lives, characters,
families, work, conflicts, etc.</p>
      <p>The next source of analysis is the address of practical psychologist O.M. Gurova, "Methodological
materials for curators of academic groups regarding the recognition of suicidal thoughts and their
effective actions at the stages of identifying and preventing destructive forms of behaviour among
student youth." [4]. The work is also is aimed at identifying suicidal intentions, which has the
"prejudice - fact" structure. For example, the first prejudice is that most suicides are carried out with
little or no warning. The fact is that most people give warning signals about possible suicide in the
form of direct statements, physical, body signs, emotional reactions or behavioural manifestations.
They report the possibility of choosing suicide as a means of relieving pain and tension, maintaining
control, or compensating for loss. These signals often can be considered as "cries for help". However,
the most important for the research are the indicators that present the growth of suicidal tendencies
among student youth. The author singles out the following indicators: situational indicators (any life
situation subjectively perceived by a person as a crisis can be considered a situational indicator of
suicidal risk), behavioural indicators of suicidal risk, communicative indicators, cognitive indicators,
and emotional indicators. Suicide prevention in the student environment is also described (advice for
curator): establishing a connection; identification of risks; notification of senior management;
referral to vocational assistance; interaction with family; support for spasticity in programs;
systematic control and consideration of the dynamics of changes in the student's personality and
behaviour. That is work on important "prejudices-facts", indicators of the growth of suicidal
intentions and an algorithm of actions for the prevention of suicide.</p>
      <p>The following work is [5] "Social and psychological factors and risk factors of suicide among
young people" by A.R. Ivats, O.P. Romaniv, and B.Ya. Nagy. The research aims to analyze the leading
causes of suicide among young people, identify risk factors that lead to suicide attempts, and
highlight the characteristics of the behaviour of persons with a tendency to suicide. The work
mentions four types of suicides: Selfish, Altruistic, Anomic, and Fatalistic. It also determined that the
socio-psychological risk factors for the development of suicidal behaviour of young people include
the following: family history of suicide; family history of violence; family history of psychoactive
substance abuse; family history of mental health problems; feeling of hopelessness; feelings of
isolation or loneliness; issues with the law; the influence of alcohol or drugs; the teenager
disciplinary, social problems or difficulties at school; the problem with the use of psychoactive
substances; mental disorder or mental illness; attempted suicide in the past; tendency to reckless or
impulsive behaviour; weapon ownership; sleep deprivation; identification of oneself as being related
to a person who committed suicide; psychomotor agitation, anxious or tense behaviour; changes in
habits, sleep patterns, appetite; talking about one's own worthlessness, guilt, shame; consuming more
alcohol than usual or starting to drink alcohol by people who have previously avoided him; careless
or risky behaviour (reckless and dangerous acts); buying means for committing suicide (pills,
weapons, poisonous substances); tendency to solitude, avoidance of close people; psychomotor
excitement; statement about the desire "not to burden" loved ones; talks about own death and
willingness to die; repentance and self-criticism; behavioural changes characteristic of people with
suicidal thoughts and tendencies; frequent mood swings. As a result, the work demonstrates that the
assessment of suicidal risk in a specific case is carried out by a specialist who, based on the data
obtained during the interview, concludes the degree of formation of intentions, the available
resources for solving the problem and the ability to use these resources for the benefit of the patient
effectively. From the above, we can determine that the main idea of most research is questionnaires,
communication and monitoring of a person [6-9]. The works demonstrate their exciting views on
solving problematic situations, provide a robust basis for delving into the topic of research, and
provide concrete solutions for the prevention, prevention and avoidance of committing suicidal acts
[10-12]. A large number of works on the topic of the detection of suicidal intentions demonstrate the
problem's importance since it is about a person's life [12-21]. It reveals the positive effect of solving
the problem and is another unique way of determining suicidal intentions [21-27].</p>
    </sec>
    <sec id="sec-3">
      <title>3. Materials and methods</title>
      <p>The research's primary goal is to develop an innovative system for early detection of suicidal
intentions using linguistic analysis. The primary function of the system is to assess the tendency for
suicidal intentions based on the study of creativity. This function includes the following tasks: data
collection/receiving data; data preparation (tokenization, lemmatization, removal of stop words,
removal of punctuation marks); conducting analyses (content analysis; tonality analysis; lexical;
psychological) [28-36]; visualization of results; output of the result. The program code consists of 4
components (blocks of code), each of which performs its direct functions and outputs changed data
presented in Fig. 1. During the research, the state diagram is also created. The state diagram shows
the states of the execution of certain parts of the code, and when an error is received, there is a
transition to the beginning. The result of creating this diagram is shown below in Fig. 2. The system
accepts the input data as docx files. This data is then prepared and combined into one object of type
string. Then, the data is pre-processed. The analysis is conducted based on the prepared data. As a
result, visualization and the result in percentages are displayed. Also, two files are created to remove
stop words and punctuation, where the corresponding values are written. That is, files with works
and two files with stop words and punctuation marks are submitted to the system. For work files,
there is a requirement for file extension. It must be docx. At the output, the system provides a
visualization of the analysis and the percentage of the author's propensity to suicidal intentions.</p>
      <sec id="sec-3-1">
        <title>1. Methods for text analysis are the following:</title>
        <p></p>
        <p>The content analysis method allows the analysis of the content of the text, revealing the
frequency of certain words or phrases that may indicate suicidal thoughts;












</p>
        <p>Tokenization is the process of dividing text into separate elements called tokens. Tokens can
be words, numbers, symbols, or even sentences. This process is the first step in many natural
language processing (NLP) tasks because it allows programs to parse and interpret text more
easily.</p>
        <p>Lemmatization is reducing the word to its basic form, or lemma. It allows combining different
word forms, such as verb tenses or noun cases, under one basic form, which facilitates further
text analysis.</p>
        <p>Remove stop words, such as usually common words in the language that do not carry
significant information for text analysis, such as "and", "but", "or", etc. Removing stop words
can help focus on more meaningful words in the text.</p>
        <p>Removal of punctuation marks such as periods, commas, and parentheses are often removed
from the text before parsing, as they may not be needed for specific NLP tasks and may
complicate text processing.</p>
        <p>The programming language used for text analysis is Python, and the following libraries for NLP:


</p>
        <p>Tonality analysis uses software to determine the emotional colour of the text, which may
indicate depressive states or suicidal moods;
The lexical analysis uses specific lexical units that may be associated with suicidal tendencies;
Psychological analysis studies the psychological motives described in the works and their
possible connection with the author's suicidal intentions.
2. The following methods are used to prepare the text for specific analyses:</p>
        <p>NLTK (Natural Language Toolkit) is one of the oldest and most used libraries for NLP. It
contains packages for various NLP tasks, including tokenization, stemming, part-of-speech
tagging, and stop-word removal.
spaCy is a modern library that focuses on speed and efficiency. spaCy is used for complex
NLP tasks such as named entity recognition and automatic tagging of parts of speech and
dependencies.</p>
        <p>TextBlob is a simple library for processing text data. It makes performing NLP tasks such as
tokenization, stemming, tonality analysis, and translation easy.</p>
        <p>The Gensim library is focused on topic modelling and semantic analysis. It is excellent for
working with large text corpora and discovering structure in text data.</p>
        <p>Hugging Face Transformers is a library that provides access to pre-trained models such as
BERT and GPT that can be used for various tasks, including text classification, text
generation, and natural language understanding.</p>
        <p>Pymorphy3 is the morphological analyzer (POS-tag + inflectional engine) for Ukrainian
languages. It enables a variety of NLP tasks, such as part-of-speech identification,
lemmatization, and word form generation. Pymorphy3 is a fork of the pymorphy2 library by
Mykhailo Korobov and follows all the rules of the MIT license.</p>
        <p>The os library provides numerous functions that interact with the operating system. It allows
one to perform operations related to the file system, such as changing the current working
directory, extracting information about the execution environment, starting own processes,
and more.</p>
        <p>The Python-docx library allows the creation, reading, and modification of Microsoft Word
(.docx) documents using Python. It can help automate the tasks of processing text documents.
The matplotlib.pyplot is a module of the Matplotlib library that provides a MATLAB-like
interface for creating plots. It is widely used to visualize data through graphs, histograms,
scatter plots, etc.</p>
        <p>Therefore, the features of the method are the following:

</p>
        <p>Stop words and punctuation marks are custom, meaning a manually created list;
The data is divided into three parts and has the docx type.</p>
        <p>When choosing programming tools such as IDEs or Python environments, it is essential to
compare them to other available options to determine why a choice might be best for a given project.
Here are some benchmarks for comparison:





</p>
        <p>The re library provides tools for working with regular expressions. It allows the performing
of complex searches and manipulations of text, using patterns to define sequences of
characters.</p>
        <p>Speed and performance. VS Code is known for its high performance and speed, which makes
it ideal for Python development, especially when it is needed to test and execute code quickly.
Flexibility and customization. VS Code allows the customization of the environment to
special needs with extensions, which can be helpful when working with NLP and data
analysis.</p>
        <p>Community Support. VS Code has a large community of users and developers who create
and support extensions, which can be helpful for troubleshooting and learning new features.
Integration with other tools. VS Code easily integrates with tools and services, such as Git
and Docker, and supports Jupyter Notebooks through extensions.</p>
        <p>Jupyter Notebooks allows you to execute code in parts and visualize data in a single
document, which is ideal for experiments and research results.</p>
        <p>Unlike other IDEs like PyCharm or Eclipse, VS Code and Jupyter Notebooks are more accessible
and flexible, especially for scientific research and data analysis.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Experiments, results and discussion</title>
      <p>As a result, the following files are included in the directory of the created software tool: files of
works, files with a list of stop words, files with a list of punctuation marks, and files with the
extension code .ipynb. Moreover, working files comprise collected works of Mykola Khvylovy.</p>
      <p>These files are taken from the website https://www.ukrlib.com.ua/books/author.php?id=20.
Moreover, the extension for files is .doc, and all the works provide text exclusively in Ukrainian. In
the course of research, the dataset is created. Three subdirectories have been created in the leading
directory, which correspond to the third period. The files are sorted into folders with names
according to the periods of their writing:
1. Early works (1920-1925) - the beginning of Khvylovy's work. Early experiments with form
and style and the search for one's voice in literature. The works of this period often reflect
the optimism and idealism characteristic of a young artist who has not yet faced the harsh
reality.
2. Mature works (1926-1930) - Khvylovy is already recognized in literary circles, and his works
reflect greater self-confidence and a deeper understanding of social and political realities. It
is also when he actively participates in public discussions and expresses his views on the
development of Ukrainian culture.
3. Depressive works (1931-1933) - the last years of Khvylovy's life were marked by increasing
repression and censorship. His works from this period often have a darker tone and reflect
internal conflicts, disillusionment with ideals, and struggles with depression. It may be
related to his suicide in 1933.</p>
      <p>The stop word list file contains stop words collected by the developer to filter out meaningless
words and combinations. The punctuation list file contains punctuation marks collected by the
developer for filtering in works. The last file is the main one.ipynb. The file has the following
structure: get data from files (part of the code responsible for importing the files mentioned above
into the environment); prepare data (block for processing and preparing imported data for analysis);
analysis (part of the code for data analysis); data visualization (visualization of analysis results);
conclusion (a conclusion about the presence of suicidal intentions). before using the code, the
following libraries are imported (Fig. 3):</p>
      <sec id="sec-4-1">
        <title>Next, there is the data block (Fig. 4-6):</title>
      </sec>
      <sec id="sec-4-2">
        <title>After importing data, analysis is needed (Fig. 7-9). Figure 7: Declaration of functions for tokenization and lemmatization Figure 8: Using tokenization and lemmatization functions, as well as defining names for periods within the code</title>
      </sec>
      <sec id="sec-4-3">
        <title>After the Prepare data block, there is an Analysis block (Fig.10-15): Figure 10: Calculation of the number of words in each period Figure 11: Calculation of the occurrence number of each word Figure 12: Declaration of function to calculate the average sentence length</title>
        <p>Interim results and the following two blocks, along with visualization and conclusions, should be
shown in the subsequent investigations. To view the main research document, the user needs to
download and open the main.ipynb file. To run the code in the environment, it is necessary to open
the project directory containing all the work files (listed at the beginning of the report). During the
work, the average length of sentences of each period has been determined (Fig. 16). Next, the average
word length of each period has been determined (Fig. 17). Based on the determined data, a graph of
the ratio of the average length of sentences and periods has been constructed (Fig. 18a).</p>
        <p>The graph of the ratio of the average length of words and periods is also developed and shown in
Fig. 18b. Next, the number of words in each period has been calculated, and the number of verbs has
been found and counted. The percentage of passivity/activity has been entered as the frequency of
verb use according to the number of words. The result of determining the rate of passivity for each
period is shown in Fig. 18c. The reshaped dataset needs to be run through the system. The results
can be seen below in Fig. 19-21. Also, due to the imbalance of the number of literary works in 3
periods, it is decided to reform the dataset into 2 periods of the same number of literary works. There
is a need to run the reshaped dataset through the system.</p>
        <p>The interim conclusion on the balanced dataset of Khvylovy's works shows that all indicators
have been increased the same way as on the unbalanced dataset. The software has been developed
to analyze specific writers such as Mykola Khvylovy. However, testing has been performed on the
works of Valerian Pidmogylny and Ivan Bahryany. So, periods similar to those of Khvylovy have
been taken. But there is also a nuance here: for Khvylovy, these were periods divided explicitly
according to the theme of his literary work; for Pidmohylyny, it was only a selection of works from
these periods; and for Bahryany, these were conditionally divided periods of creativity of his years.
During the testing, two datasets were created, each containing 3 periods. The program execution
result is shown below (Fig. 22-24):</p>
      </sec>
      <sec id="sec-4-4">
        <title>Conclusion Discussion In mature years, the Khvylovy has the shortest value has decreased sentences. Instability is revealed significantly only in Podmohylny's works.</title>
      </sec>
      <sec id="sec-4-5">
        <title>Khvylovy writes the longest</title>
        <p>words. Stable growth is
maintained in Khvylovy's and
Bahryany's works; Pidmogylny's
work shows a sharp increase in
value in the second period.</p>
        <p>Also, additional research has been conducted on stabilized datasets (performed by the same
number of 10 files for 2 periods). The result of determining the average length of sentences for three
writers (order: Khvylovy, Bahryany, Pidmogylny; from left to right) is shown in Fig. 25. The result
of determining the average length of words is in Fig. 26. The result of determining the percentage of
passivity in Fig. 27.</p>
        <p>Interim conclusions based on balanced data comprise the fact that the average sentence length
has been increasing steadily in all 3 cases, the average word length has been growing only in
Khvylovy's works, and the percentage of passivity has increased the most in Khvylovy's works, next
in Pidmogylny. The positive decline in this percentage has been in Bahryany's works.</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>5. Conclusion</title>
      <p>So, the dataset of Mykola Khvylovy's works has been collected during the research. Also, the list of
stop words and punctuation marks has been defined. As a result, software has been developed that
analyses Khvylovy's works of 3 periods. Based on the implementation of the control example, taking
into consideration that the length of words and sentences in Khvylovy's works has been increasing
gradually with slight acceleration according to different periods facing decreasing in Khvylovy's
activity, the following assumptions have been made:</p>
      <p>Khvylovy could express his thoughts more voluminously, as expressed by the increased text
volume. At the same time, his activity expressed using verbs decreased, which means he had
less life energy.</p>
      <p>Khvylovy could develop himself as a writer, making it possible to compose more complicated
texts. The decrease in activity can be due to age or the use of other literature constructions
instead of verbs, such as more detailed descriptions of objects, people, and locations.</p>
      <p>The software has prospects both for improvement and application. It is possible to improve the
software using the following methods: determining the mood of the works, detecting suicidal words,
verifying statistical values on different types of works, and using code on different datasets by other
writers to find patterns. It is possible to apply the software even on small datasets of modern writers
to detect changes in the statistical values of their writing.</p>
    </sec>
    <sec id="sec-6">
      <title>Acknowledgement References</title>
      <p>The research was carried out with the grant support of the National Research Fund of Ukraine
"Information system development for automatic detection of misinformation sources and inauthentic
behaviour of chat users", project registration number 187/0012 from 1/08/2024 (2023.04/0012).
[1] Recommendations for the evaluation and management of patients at risk of suicide, American
College of Physicians, 2019. URL:
https://www.dokazovo.in.ua/wpcontent/uploads/2021/03/rekomendaciji_z_ocinki_ta_vedennya_pacientiv_z_rizikom_sujicidu.
pdf.
[2] V. V. Rybalka, Psychological prevention of suicidal tendencies in students, 2007. URL:
http://poippo.pl.ua/files/pidrozdily/CPPSR/NP_DOC/Syitcud_2007.pdf.
[3] A. A. Tkachenko, Manual of Forensic Psychiatry, 2015. URL:
https://stud.com.ua/40956/psihologiya/diagnostika_suyitsidalnih_namiriv.
[4] O. M. Gurova, Methodical materials for curators of academic groups regarding the recognition
of suicidal thoughts and their effective actions at the stages of identifying and preventing
destructive forms of behavior among student youth, 2024. URL:
https://cusu.edu.ua/images/psihologicna-slujba/metod_recom_suicid.pdf.
[5] A. R. Ivats, O.P. Romanov, B.Ya. Nad, Socio-psychological factors and risk factors of suicides
among young people, 2024, URL:
https://dspace.uzhnu.edu.ua/jspui/bitstream/lib/21525/1/2829.pdf.
[6] M. Bublyk, V. Lytvyn, V. Vysotska, L. Chyrun, Y. Matseliukh, N. Sokulska, The Decision Tree
Usage for the Results Analysis of the Psychophysiological Testing, CEUR workshop
proceedings, Vol-2753 (2020) 458-472.
[7] O. Oborska, V. Andrunyk, L. Chyrun, R. Hasko, A. Vysotskyi, S. Mushasta, O. Petruchenko, I.</p>
      <p>Shakleina, The Intelligent System Development for Psychological Analysis of the Person's
Condition, CEUR Workshop Proceedings, Vol-2870 (2021) 1390-1419.
[8] O. Veres, O. Oborska, A. Vasyliuk, Y. Brezmen, I. Rishnyak, Problems and peculiarities of the IT
project managment of ontological engineering for person psychological state diagnosing. In:
CEUR Workshop Proceedings, Vol-2565 (2020) 162–177.
[9] V. Lytvyn, V. Vysotska, A. Rzheuskyi, Technology for the Psychological Portraits Formation of
Social Networks Users for the IT Specialists Recruitment Based on Big Five, NLP and Big Data
Analysis, CEUR Workshop Proceedings, Vol-2392 (2019) 147-171.
[10] L. Chyrun, V. Vysotska, I. Kis, L. Chyrun, Content Analysis Method for Cut Formation of Human
Psychological State, in: Proceedings of the International Conference on Data Stream Mining and
Processing, DSMP, 2018, pp. 139-144. doi: 10.1109/DSMP.2018.8478619
[11] A. Dyriv, V. Andrunyk, Y. Burov, I. Karpov, L. Chyrun, The user's psychological state
identification based on Big Data analysis for person's electronic diary, in: proceedings of the
16th International conference on computer science and information technologies on Computer
science and information technologies, pp. 101–112, 2021.
[12] L. Chyrun, I. Kis, V. Vysotska, L. Chyrun, Content monitoring method for cut formation of
person psychological state in social scoring, in: Proceedings of the International Conference on
Computer Sciences and Information Technologies, CSIT, 2018, pp. 106-112. DOI:
10.1109/STCCSIT.2018.8526624
[13] A. Abdulsalam, A. Alhothali, S. Al-Ghamdi, Detecting suicidality in Arabic Tweets using
machine learning and deep learning techniques, Arabian Journal for Science and Engineering,
1-14, 2024.
[14] E. Pranckeviciene, J. Kasperiuniene, Global Suicide Mortality Rates (2000–2019): Clustering,
Themes, and Causes Analyzed through Machine Learning and Bibliographic Data, International
Journal of Environmental Research and Public Health 21(9) (2024) 1202.
[15] M. A. Allayla, S. Ayvaz, A Big Data Analytics System for Predicting Suicidal Ideation in
Real</p>
      <p>Time Based on Social Media Streaming Data, arXiv preprint arXiv:2404.12394, 2024.
[16] M. Ghonge, T. Kachare, S. Kakade, S. Shintre, S. Nigade, Machine Learning and Web Integrated
Chatting Forum Which Detected Mental Health of the User, in Proceedings of the International
Conference on Smart Technologies in Urban Engineering, pp. 96-106, 2022.
[17] V. Slobodzian, M. Molchanova, O. Kovalchuk, O. Sobko, O. Mazurets, O. Barmak, I. Krak, An
Approach Based on the Visualization Model for the Ukrainian Web Content Classification,
in Proceedings of the 12th International Conference on Advanced Computer Information
Technologies (ACIT), pp. 400-405, 2022.
[18] K. Cosic, V. Kopilas, T. Jovanovic, War, emotions, mental health, and artificial intelligence,</p>
      <p>Frontiers in psychology 15 (2024) 1394045.
[19] M. Hassib, N. Hossam, J. Sameh, M. Torki, AraDepSu: Detecting depression and suicidal ideation
in Arabic tweets using transformers, in Proceedings of the Seventh Arabic Natural Language
Processing Workshop (WANLP). pp. 302-311, 2022.
[20] S. Albota, et. al., Linguistic traces of psychological manipulations in discussions of wikipedia
talk pages, CEUR Workshop Proceedings, Vol-2386 (2019) 183–193.
[21] S. Albota, Linguistic and Psychological Features of the Reddit News Post, in Proceedings of the
15th International Scientific and Technical Conference on Computer Sciences and Information
Technologies, CSIT 2020, 1, pp. 295–299.
[22] S. Albota, et. al., Discussions of Wikipedia Talk Pages: manipulations detected by
lingualpsychological analysis, CEUR Workshop Proceedings, Vol-2392 (2019) 309–320.
[23] A. Morushko, et. al., Determining the psychological portrait of members of web communities
through socionic analysis, CEUR Workshop Proceedings 2616 (2020) 112–124.
[24] V. Pasichnyk, et. al., The model of data analysis of the psychophysiological survey results,</p>
      <p>Advances in Intelligent Systems and Computing 512 (2017) 271-281.
[25] V. Vasyliuk, et. al., Information System of Psycholinguistic Text Analysis, CEUR workshop
proceedings, Vol-2604 (2020) 178-188.
[26] S. Fedushko, M. Davidekova, Analytical service for processing behavioral, psychological and
communicative features in the online communication, The International Workshop on
Digitalization and Servitization within Factory-Free Economy 160 (2019) 509-514.
[27] S. Fedushko, M. ml. Gregus, T. Ustyianovych, Medical card data imputation and patient
psychological and behavioral profile construction, in The 9th International Conference on
Current and Future Trends of Information and Communication Technologies in Healthcare 160
(2019) 354-361.
[28] I. Khomytska, V. Teslyuk, N. Kryvinska, I. Bazylevych, Software-based approach towards
automated authorship acknowledgement-chi-square test on one consonant group, Electronics
(Switzerland) 9(7) (2020) 1–11.
[29] A. R. Sydor, V. M. Teslyuk, P. Y. Denysyuk, Recurrent expressions for reliability indicators of
compound electropower systems, Technical Electrodynamics 4 (2014) 47–49.
[30] V. Motyka, V. Vysotska, L. Chyrun, O. Markiv, S. Chyrun, L. Kolyasa, System Project for
Ukrainian-language Feedback Tonality Analysis in the Health Care Field Based on BERT Model,
in: Proceedings of the 18th International Conference on Computer Sciences and Information
Technologies, CSIT, Lviv, 19-21 October 2023.
[31] N. Shakhovska, K. Shakhovska, The Method of Text Tonality Classification, in: International
Scientific and Technical Conference on Computer Sciences and Information Technologies, CSIT
2020 - Proceedings, 2020, 1, pp. 19–23.
[32] R. Peleshchak, V. Lytvyn, I. Peleshchak, A. Khudyy, Z. Rybchak, S. Mushasta, Text Tonality
Classification Using a Hybrid Convolutional Neural Network with Parallel and Sequential
Connections Between Layers, CEUR Workshop Proceedings, Vol-3171 (2022) 904-915.
[33] S. Voloshyn, V. Vysotska, O. Markiv, I. Dyyak, I. Budz and V. Schuchmann, Sentiment Analysis
Technology of English Newspapers Quotes Based on Neural Network as Public Opinion
Influences Identification Tool, in: Proceedings of the IEEE 17th International Conference on
Computer Sciences and Information Technologies (CSIT), 2022, pp. 83-88, doi:
10.1109/CSIT56902.2022.10000627.
[34] V. Vysotska, O. Markiv, S. Tchynetskyi, B. Polishchuk, O. Bratasyuk, V. Panasyuk, Sentiment
Analysis of Information Space as Feedback of Target Audience for Regional E-Business Support
in Ukraine, CEUR Workshop Proceedings, Vol-3426 (2023) 488-513.
[35] A. Sachenko, T. Lendiuk, K. Lipianina-Honcharenko, M. Dobrowolski, G. Boguta, L. Bytsyura,
Method of Determining the Text Sentiment by Thematic Rubrics, CEUR Workshop Proceedings
3688 (2024) 404-414.
[36] R. Nazarchuk, S. Albota, Tweets about Ukraine during the russian-Ukrainian War: Quantitative
Characteristics and Sentiment Analysis, CEUR Workshop Proceedings, Vol-3426 (2023) 551-560.</p>
    </sec>
  </body>
  <back>
    <ref-list />
  </back>
</article>