<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.0 20040830//EN" "http://dtd.nlm.nih.gov/publishing/2.0/journalpublishing.dtd">
<article article-type="research-article" dtd-version="2.0" xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">JC</journal-id>
      <journal-id journal-id-type="nlm-ta">JMIR Cancer</journal-id>
      <journal-title>JMIR Cancer</journal-title>
      <issn pub-type="epub">2369-1999</issn>
      <publisher>
        <publisher-name>JMIR Publications</publisher-name>
        <publisher-loc>Toronto, Canada</publisher-loc>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="publisher-id">v10i1e43070</article-id>
      <article-id pub-id-type="pmid">39037754</article-id>
      <article-id pub-id-type="doi">10.2196/43070</article-id>
      <article-categories>
        <subj-group subj-group-type="heading">
          <subject>Original Paper</subject>
        </subj-group>
        <subj-group subj-group-type="article-type">
          <subject>Original Paper</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>Artificial Intelligence–Based Co-Facilitator (AICF) for Detecting and Monitoring Group Cohesion Outcomes in Web-Based Cancer Support Groups: Single-Arm Trial Study</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="editor">
          <name>
            <surname>de Azevedo Cardoso</surname>
            <given-names>Taiane</given-names>
          </name>
        </contrib>
      </contrib-group>
      <contrib-group>
        <contrib contrib-type="reviewer">
          <name>
            <surname>Hu</surname>
            <given-names>Danqing</given-names>
          </name>
        </contrib>
        <contrib contrib-type="reviewer">
          <name>
            <surname>Guendouzi</surname>
            <given-names>Jacqueline</given-names>
          </name>
        </contrib>
        <contrib contrib-type="reviewer">
          <name>
            <surname>Haralambous</surname>
            <given-names>Yannis</given-names>
          </name>
        </contrib>
        <contrib contrib-type="reviewer">
          <name>
            <surname>Chatzimina</surname>
            <given-names>Maria</given-names>
          </name>
        </contrib>
        <contrib contrib-type="reviewer">
          <name>
            <surname>Chen</surname>
            <given-names>Pei-fu</given-names>
          </name>
        </contrib>
        <contrib contrib-type="reviewer">
          <name>
            <surname>Chrimes</surname>
            <given-names>Dillon</given-names>
          </name>
        </contrib>
        <contrib contrib-type="reviewer">
          <name>
            <surname>Ceron</surname>
            <given-names>Wilson</given-names>
          </name>
        </contrib>
      </contrib-group>
      <contrib-group>
        <contrib id="contrib1" contrib-type="author" corresp="yes">
          <name name-style="western">
            <surname>Leung</surname>
            <given-names>Yvonne W</given-names>
          </name>
          <degrees>PhD</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <address>
            <institution>de Souza Institute</institution>
            <institution>University Health Network</institution>
            <addr-line>de Souza Institute c/o Toronto General Hospital</addr-line>
            <addr-line>200 Elizabeth St RFE 3-440</addr-line>
            <addr-line>Toronto, ON, M5G 2C4</addr-line>
            <country>Canada</country>
            <phone>1 647 299 1360</phone>
            <email>yw.leung@utoronto.ca</email>
          </address>
          <xref rid="aff2" ref-type="aff">2</xref>
          <xref rid="aff3" ref-type="aff">3</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0002-3348-1547</ext-link>
        </contrib>
        <contrib id="contrib2" contrib-type="author">
          <name name-style="western">
            <surname>Wouterloot</surname>
            <given-names>Elise</given-names>
          </name>
          <degrees>PhD</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0002-3549-9900</ext-link>
        </contrib>
        <contrib id="contrib3" contrib-type="author">
          <name name-style="western">
            <surname>Adikari</surname>
            <given-names>Achini</given-names>
          </name>
          <degrees>PhD</degrees>
          <xref rid="aff4" ref-type="aff">4</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0001-5112-5063</ext-link>
        </contrib>
        <contrib id="contrib4" contrib-type="author">
          <name name-style="western">
            <surname>Hong</surname>
            <given-names>Jinny</given-names>
          </name>
          <degrees>PhD</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0002-7562-9140</ext-link>
        </contrib>
        <contrib id="contrib5" contrib-type="author">
          <name name-style="western">
            <surname>Asokan</surname>
            <given-names>Veenaajaa</given-names>
          </name>
          <degrees>BSCN, BSc</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0002-0972-4238</ext-link>
        </contrib>
        <contrib id="contrib6" contrib-type="author">
          <name name-style="western">
            <surname>Duan</surname>
            <given-names>Lauren</given-names>
          </name>
          <degrees>BSc</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0002-5849-0837</ext-link>
        </contrib>
        <contrib id="contrib7" contrib-type="author">
          <name name-style="western">
            <surname>Lam</surname>
            <given-names>Claire</given-names>
          </name>
          <degrees>BA</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0001-6201-0245</ext-link>
        </contrib>
        <contrib id="contrib8" contrib-type="author">
          <name name-style="western">
            <surname>Kim</surname>
            <given-names>Carlina</given-names>
          </name>
          <degrees>MDS</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0009-0004-6678-6605</ext-link>
        </contrib>
        <contrib id="contrib9" contrib-type="author">
          <name name-style="western">
            <surname>Chan</surname>
            <given-names>Kai P</given-names>
          </name>
          <degrees>MEng, DMin</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0003-2727-2527</ext-link>
        </contrib>
        <contrib id="contrib10" contrib-type="author">
          <name name-style="western">
            <surname>De Silva</surname>
            <given-names>Daswin</given-names>
          </name>
          <degrees>PhD</degrees>
          <xref rid="aff4" ref-type="aff">4</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0003-3878-5969</ext-link>
        </contrib>
        <contrib id="contrib11" contrib-type="author">
          <name name-style="western">
            <surname>Trachtenberg</surname>
            <given-names>Lianne</given-names>
          </name>
          <degrees>PhD</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <xref rid="aff5" ref-type="aff">5</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0002-6913-7318</ext-link>
        </contrib>
        <contrib id="contrib12" contrib-type="author">
          <name name-style="western">
            <surname>Rennie</surname>
            <given-names>Heather</given-names>
          </name>
          <degrees>RMFT, MA, MSc</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <xref rid="aff6" ref-type="aff">6</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0002-1907-8698</ext-link>
        </contrib>
        <contrib id="contrib13" contrib-type="author">
          <name name-style="western">
            <surname>Wong</surname>
            <given-names>Jiahui</given-names>
          </name>
          <degrees>MD, PhD</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0003-0369-2455</ext-link>
        </contrib>
        <contrib id="contrib14" contrib-type="author">
          <name name-style="western">
            <surname>Esplen</surname>
            <given-names>Mary Jane</given-names>
          </name>
          <degrees>PhD</degrees>
          <xref rid="aff2" ref-type="aff">2</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0002-6034-2235</ext-link>
        </contrib>
      </contrib-group>
      <aff id="aff1">
        <label>1</label>
        <institution>de Souza Institute</institution>
        <institution>University Health Network</institution>
        <addr-line>Toronto, ON</addr-line>
        <country>Canada</country>
      </aff>
      <aff id="aff2">
        <label>2</label>
        <institution>Department of Psychiatry</institution>
        <institution>Temerty Faculty of Medicine</institution>
        <institution>University of Toronto</institution>
        <addr-line>Toronto, ON</addr-line>
        <country>Canada</country>
      </aff>
      <aff id="aff3">
        <label>3</label>
        <institution>College of Professional Studies</institution>
        <institution>Northeastern University</institution>
        <addr-line>Toronto, ON</addr-line>
        <country>Canada</country>
      </aff>
      <aff id="aff4">
        <label>4</label>
        <institution>Centre for Data Analytics and Cognition</institution>
        <institution>La Trobe University</institution>
        <addr-line>Melbourne</addr-line>
        <country>Australia</country>
      </aff>
      <aff id="aff5">
        <label>5</label>
        <institution>Centre for Psychology and Emotional Health</institution>
        <addr-line>Toronto, ON</addr-line>
        <country>Canada</country>
      </aff>
      <aff id="aff6">
        <label>6</label>
        <institution>BC Cancer Agency</institution>
        <addr-line>Vancouver, BC</addr-line>
        <country>Canada</country>
      </aff>
      <author-notes>
        <corresp>Corresponding Author: Yvonne W Leung <email>yw.leung@utoronto.ca</email></corresp>
      </author-notes>
      <pub-date pub-type="collection">
        <year>2024</year>
      </pub-date>
      <pub-date pub-type="epub">
        <day>22</day>
        <month>7</month>
        <year>2024</year>
      </pub-date>
      <volume>10</volume>
      <elocation-id>e43070</elocation-id>
      <history>
        <date date-type="received">
          <day>3</day>
          <month>10</month>
          <year>2022</year>
        </date>
        <date date-type="rev-request">
          <day>10</day>
          <month>4</month>
          <year>2023</year>
        </date>
        <date date-type="rev-recd">
          <day>7</day>
          <month>7</month>
          <year>2023</year>
        </date>
        <date date-type="accepted">
          <day>8</day>
          <month>5</month>
          <year>2024</year>
        </date>
      </history>
      <copyright-statement>©Yvonne W Leung, Elise Wouterloot, Achini Adikari, Jinny Hong, Veenaajaa Asokan, Lauren Duan, Claire Lam, Carlina Kim, Kai P Chan, Daswin De Silva, Lianne Trachtenberg, Heather Rennie, Jiahui Wong, Mary Jane Esplen. Originally published in JMIR Cancer (https://cancer.jmir.org), 22.07.2024.</copyright-statement>
      <copyright-year>2024</copyright-year>
      <license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by/4.0/">
        <p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR Cancer, is properly cited. The complete bibliographic information, a link to the original publication on https://cancer.jmir.org/, as well as this copyright and license information must be included.</p>
      </license>
      <self-uri xlink:href="https://cancer.jmir.org/2024/1/e43070" xlink:type="simple"/>
      <abstract>
        <sec sec-type="background">
          <title>Background</title>
          <p>Commonly offered as supportive care, therapist-led online support groups (OSGs) are a cost-effective way to provide support to individuals affected by cancer. One important indicator of a successful OSG session is group cohesion; however, monitoring group cohesion can be challenging due to the lack of nonverbal cues and in-person interactions in text-based OSGs. The Artificial Intelligence–based Co-Facilitator (AICF) was designed to contextually identify therapeutic outcomes from conversations and produce real-time analytics.</p>
        </sec>
        <sec sec-type="objective">
          <title>Objective</title>
          <p>The aim of this study was to develop a method to train and evaluate AICF’s capacity to monitor group cohesion.</p>
        </sec>
        <sec sec-type="methods">
          <title>Methods</title>
          <p>AICF used a text classification approach to extract the mentions of group cohesion within conversations. A sample of data was annotated by human scorers, which was used as the training data to build the classification model. The annotations were further supported by finding contextually similar group cohesion expressions using word embedding models as well. AICF performance was also compared against the natural language processing software Linguistic Inquiry Word Count (LIWC).</p>
        </sec>
        <sec sec-type="results">
          <title>Results</title>
          <p>AICF was trained on 80,000 messages obtained from Cancer Chat Canada. We tested AICF on 34,048 messages. Human experts scored 6797 (20%) of the messages to evaluate the ability of AICF to classify group cohesion. Results showed that machine learning algorithms combined with human input could detect group cohesion, a clinically meaningful indicator of effective OSGs. After retraining with human input, AICF reached an <italic>F</italic><sub>1</sub>-score of 0.82. AICF performed slightly better at identifying group cohesion compared to LIWC.</p>
        </sec>
        <sec sec-type="conclusions">
          <title>Conclusions</title>
          <p>AICF has the potential to assist therapists by detecting discord in the group amenable to real-time intervention. Overall, AICF presents a unique opportunity to strengthen patient-centered care in web-based settings by attending to individual needs.</p>
        </sec>
        <sec sec-type="registered-report">
          <title>International Registered Report Identifier (IRRID)</title>
          <p>RR2-10.2196/21453</p>
        </sec>
      </abstract>
      <kwd-group>
        <kwd>group cohesion</kwd>
        <kwd>LIWC</kwd>
        <kwd>online support group</kwd>
        <kwd>natural language processing</kwd>
        <kwd>NLP</kwd>
        <kwd>emotion analysis</kwd>
        <kwd>machine learning</kwd>
        <kwd>sentiment analysis</kwd>
        <kwd>emotion detection</kwd>
        <kwd>integrating human knowledge</kwd>
        <kwd>emotion lining</kwd>
        <kwd>cancer</kwd>
        <kwd>oncology</kwd>
        <kwd>support group</kwd>
        <kwd>artificial intelligence</kwd>
        <kwd>AI</kwd>
        <kwd>therapy</kwd>
        <kwd>online therapist</kwd>
        <kwd>emotion</kwd>
        <kwd>affect</kwd>
        <kwd>speech tagging</kwd>
        <kwd>speech tag</kwd>
        <kwd>topic modeling</kwd>
        <kwd>named entity recognition</kwd>
        <kwd>spoken language processing</kwd>
        <kwd>focus group</kwd>
        <kwd>corpus</kwd>
        <kwd>language</kwd>
        <kwd>linguistic</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec sec-type="introduction">
      <title>Introduction</title>
      <sec>
        <title>Overview</title>
        <p>Web-based care has become increasingly important in health care delivery as a means to accessibly reduce emotional distress. Online support groups (OSG) offer a convenient solution to those who cannot attend in-person support groups [<xref ref-type="bibr" rid="ref1">1</xref>-<xref ref-type="bibr" rid="ref3">3</xref>]. Professionally led OSGs occur in real time with participants engaging with a therapist and other participants in the group. Therapists facilitate the sharing of personal experiences to foster a mutually supportive environment. OSG participants report an increased sense of empowerment and control, as well as improved knowledge about their conditions [<xref ref-type="bibr" rid="ref4">4</xref>].</p>
        <p>Cancer Chat Canada (CCC) offers web-based professionally led, synchronous, text-based support groups to patients with cancer or caregivers across 6 Canadian provinces with a text-based nature allowing for anonymity while reaching people in rural areas. All groups provided via CCC are manual-based, consisting of 8-12 sessions. Each session focuses on a specific theme, homework readings, and web-based activities. Participants exchanged their experiences and ideas through a chatbox on the CCC platform. During sessions, therapists facilitate discussions based on the weekly readings, address issues or concerns, attend to emergent emotional needs of the members, and employ therapeutic techniques that promote a continuous sense of mutual support among the 6-10 members [<xref ref-type="bibr" rid="ref5">5</xref>].</p>
        <p>For group interventions to be effective, therapists encourage authentic emotional expression while effectively monitoring and addressing signals of distress [<xref ref-type="bibr" rid="ref6">6</xref>]. However, the absence of visual cues, along with the simultaneous entries by multiple participants, can impose challenges for therapists to attend to all participants’ needs during the session [<xref ref-type="bibr" rid="ref4">4</xref>]. Therapists’ failure to recognize and respond to participants’ expressions of distress can reduce the participants’ perceived level of support, safety, and trust in the group, leading to disengagement and attrition [<xref ref-type="bibr" rid="ref7">7</xref>].</p>
        <p>One way to reduce attrition and improve OSG services is through tracking and monitoring group cohesion [<xref ref-type="bibr" rid="ref8">8</xref>,<xref ref-type="bibr" rid="ref9">9</xref>]. A cohesive group experiences a sense of warmth, comfort, acceptance, affiliation, and support from other members they value [<xref ref-type="bibr" rid="ref5">5</xref>]. Group cohesion is associated with positive participant outcomes, including reductions in distress and improvements in interpersonal functioning [<xref ref-type="bibr" rid="ref5">5</xref>].</p>
        <p>Traditionally, group cohesion is measured by participant self-report instruments, such as the Harvard Community Health Plan Group Cohesiveness Scale[<xref ref-type="bibr" rid="ref10">10</xref>] and the Group Cohesion Scale Revised [<xref ref-type="bibr" rid="ref10">10</xref>]. Alternatively, it can be measured by content analysis, where analysts assign ratings to the participants’ statements [<xref ref-type="bibr" rid="ref11">11</xref>]. While useful, these approaches have limitations of participant recall bias, measurement fatigue in self-reports, and time and cost of labor in post hoc qualitative analyses.</p>
        <p>Previous studies demonstrate that a higher frequency of first-person singular pronouns use (ie, I, my), also referred to as “iTalk” or self-referential language, is a linguistic marker of general distress and is associated with negative psychological outcomes such as depression and suicidal behaviors [<xref ref-type="bibr" rid="ref12">12</xref>-<xref ref-type="bibr" rid="ref14">14</xref>]. In contrast, collective identity language use (ie, our group, us) was instrumental to group attachment [<xref ref-type="bibr" rid="ref15">15</xref>]; with greater uses of references to the group as a whole and to other members predicting reduced symptoms of grief [<xref ref-type="bibr" rid="ref11">11</xref>]. Aside from content analysis, such as Psychodynamic Work, Object Rating System [<xref ref-type="bibr" rid="ref16">16</xref>], many studies adopted computerized textual analysis systems such as dtSearch [<xref ref-type="bibr" rid="ref17">17</xref>], Linguistic Inquiry, and Word Count (LIWC) to track levels of cohesion through text [<xref ref-type="bibr" rid="ref18">18</xref>-<xref ref-type="bibr" rid="ref21">21</xref>]. In particular, Lieberman et al [<xref ref-type="bibr" rid="ref20">20</xref>] detected group cohesion by combining LIWC to count the proportion of group referential language use and dtSearch to count words indicative of positive connotations (ie, hope, altruistic, accept, affection) within 10 words of such group referential language in an OSG for patients with Parkinson. However, Alpers et al [<xref ref-type="bibr" rid="ref19">19</xref>] questioned the software’s ability to process complex communications, suggesting that future studies should develop systems that analyze the context of discourse for real-time analysis.</p>
        <p>Given the evidence, group cohesion can be systematically measured by a well-designed computer analytical system. We designed the Artificial Intelligence–based Co-Facilitator (AICF) to contextually identify therapeutic outcomes, including group cohesion from conversations, and produce real-time analytics [<xref ref-type="bibr" rid="ref22">22</xref>-<xref ref-type="bibr" rid="ref25">25</xref>]. AICF can track basic emotions, including joy, sadness, anger, trust, fear, anticipation, disgust, surprise, and psychological outcomes such as distress, group cohesion, and hopelessness for each participant in the OSGs [<xref ref-type="bibr" rid="ref22">22</xref>,<xref ref-type="bibr" rid="ref23">23</xref>]. AICF extracted emotions from the text by parsing through over 120,000 lines of chat messages from a training data set to multiple levels of granularity: word, phrase, sentence, post, and posts by each user [<xref ref-type="bibr" rid="ref26">26</xref>]. AICF employed several natural language processing (NLP) techniques, such as Word2Vec [<xref ref-type="bibr" rid="ref27">27</xref>] and text classification models. Classification models were trained to classify posts containing group cohesion mentions to determine the level of group cohesion in this web-based conversation setting. Each level of extraction served as an input for calibration for the subsequent extraction to increase accuracy [<xref ref-type="bibr" rid="ref26">26</xref>,<xref ref-type="bibr" rid="ref28">28</xref>,<xref ref-type="bibr" rid="ref29">29</xref>]. AICF could, therefore, track and inform facilitators of each participant’s level of cohesive statement use in their posts.</p>
        <p>We hypothesized that AICF could detect first-person plural pronoun use (eg, we, our) in OSGs and group-references language use (“we-talk”) as group cohesion, machine learning–based NLP could also identify a broader definition of group cohesion, including expressing gratitude, mutual support, and sense of belonging.</p>
      </sec>
      <sec>
        <title>Objective</title>
        <p>This study is focused on the development of a method to train and evaluate AICF’s ability to detect group cohesion among cancer OSG members.</p>
      </sec>
    </sec>
    <sec sec-type="methods">
      <title>Methods</title>
      <sec>
        <title>AICF Training and Development</title>
        <p>The steps involved in the training and development of AICF’s cohesion detection is outlined below.</p>
        <sec>
          <title>Collecting Design Specifications</title>
          <p>Experienced CCC therapists participated in phase 1 and phase 3 focus groups to obtain design specifications for which clinically meaningful outcomes AICF should capture and provide real-time analytics for, as well as the pros and cons after experiencing AICF clinically. All therapists who responded to our request to participate were involved in the study and are experienced in their field. In addition to the individual emotion tracking feature, the therapists expressed interest in tracking group processes with a particular emphasis on group cohesion. Therapists described group cohesion as a high frequency of posting by members with a sense of interconnectedness through replying to others. A successful group session results in members feeling supported and acknowledged by other group members. The results herein this manuscript excluded the results of these focus groups as they were published elsewhere.</p>
        </sec>
        <sec>
          <title>Scoring Guide Development</title>
          <p>A literature-based guide was developed to ensure that group cohesion statements were consistently identified and annotated by the human team.</p>
          <p>Group cohesion is the sense of warmth, acceptance, support, and belongingness to the members [<xref ref-type="bibr" rid="ref5">5</xref>], a sense of closeness, and participation [<xref ref-type="bibr" rid="ref30">30</xref>]. It is measured by statements that reflect a sense of belonging and support in the group.</p>
          <p>This belonging and support could be expressed with the statement themes below [<xref ref-type="bibr" rid="ref31">31</xref>]. The following examples were from the CCC chat training data.</p>
          <list list-type="order">
            <list-item>
              <p>Reassurance or encouragement between peers</p>
            </list-item>
            <list-item>
              <p>Expressing support or feeling supported</p>
            </list-item>
            <list-item>
              <p>Deepening emotional disclosure and trust</p>
            </list-item>
            <list-item>
              <p>A sense of belonging</p>
            </list-item>
            <list-item>
              <p>Gratitude for the group</p>
            </list-item>
            <list-item>
              <p>Finding shared experiences and commonalities</p>
            </list-item>
            <list-item>
              <p>Looking forward to future sessions or connecting outside of the group</p>
            </list-item>
            <list-item>
              <p>Reflecting on the positive aspects of the group</p>
            </list-item>
          </list>
        </sec>
        <sec>
          <title>Creating Training Data</title>
          <p>To train AICF to identify group cohesion, 1000 examples of cohesive statements from 10 OSG sessions were annotated by 2 human group therapists (EW and JH). These annotated examples were used for training the algorithm.</p>
        </sec>
      </sec>
      <sec>
        <title>Algorithm Development</title>
        <sec>
          <title>Feature Selection of Group Cohesion Expressions</title>
          <p>First, a corpus of CCC chat sessions (~80,000 messages) was used to train a word embedding model using Word2Vec using the Gensim library in Python (gensim.models.Word2Vec [documents, size=100, window=10, min_count=2, workers=10]). This enabled the creation of a vector representation for each word in the corpus. This positioned semantically similar expressions in closer proximity to generate contexts of cancer OSG discussion. Second, to expand the group cohesion mentions, the annotated samples were fed into the trained Word2Vec model as inputs to query for neighboring words. This resulted in a set of semantically similar, contextually relevant group cohesion expressions. This enabled AICF to identify statements representing group cohesion, including keywords such as “us,” “we,” and “our group,” as well as themes such as expressing gratitude, eagerness to attend upcoming group sessions, chatting outside of group time, mutual support, and a sense of belonging.</p>
        </sec>
        <sec>
          <title>Training the Classifiers of Group Cohesion</title>
          <p>To produce the probability of each post containing group cohesion, 3 models, multinomial naive Bayes, logistic regression, and multilayer perceptron (MLP) classifier with the group cohesion features selected were trained using the training data set.</p>
          <p>Before training the classifier, a series of feature engineering steps were followed. Feature engineering is the process of creating features by extracting information from the data. For this purpose, the term frequency–inverse document frequency (TF-IDF) approach was used. TF-IDF is a statistical measure that evaluates how relevant a word is to a document in a collection of documents. It is performed by multiplying the term frequency and inverse document frequency of the word across a set of documents. In this classification task, the TF-IDF vectorizer was used with a limit of 5000 words capturing both unigrams (single words) and bi-grams (2 words that occur together). Next, the vectorizer was applied to the preprocessed training data set.</p>
          <p>Once the data set was transformed, it was used to train multiple classifiers; naïve Bayes, random forest, support vector machine (SVM), multilayer perceptron (MLP), and logistic regression models. The objective of training multiple classifiers was to increase the performance of the final classification by incorporating multiple high-performing classifiers. This technique is called “soft voting,” which is an ensemble machine learning technique that combines predictions from multiple models. <xref ref-type="table" rid="table1">Table 1</xref> shows the <italic>F</italic><sub>1</sub>-scores of the trained classifiers.</p>
          <table-wrap position="float" id="table1">
            <label>Table 1</label>
            <caption>
              <p>The F1-scores of trained classifiers.</p>
            </caption>
            <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
              <col width="500"/>
              <col width="500"/>
              <thead>
                <tr valign="top">
                  <td>Classifier</td>
                  <td><italic>F</italic><sub>1</sub>-score</td>
                </tr>
              </thead>
              <tbody>
                <tr valign="top">
                  <td>Support vector machine</td>
                  <td>0.63</td>
                </tr>
                <tr valign="top">
                  <td>Naïve Bayes</td>
                  <td>0.79</td>
                </tr>
                <tr valign="top">
                  <td>Multilayer perceptron</td>
                  <td>0.77</td>
                </tr>
                <tr valign="top">
                  <td>Random forest</td>
                  <td>0.72</td>
                </tr>
                <tr valign="top">
                  <td>Logistic regression</td>
                  <td>0.82</td>
                </tr>
              </tbody>
            </table>
          </table-wrap>
        </sec>
        <sec>
          <title>Group Cohesion Score Calculation</title>
          <p>Based on this, the top 3 classifiers were selected: naïve Bayes, MLP, and logistic regression. The outcomes of all 3 classifiers were used to make the final prediction. If a post is classified into the same label by 2 of the 3 classifiers, then the output label is used as the final outcome. A confidence value was generated for each classification based on the weighted <italic>F</italic><sub>1</sub>-scores of each classifier. The average <italic>F</italic><sub>1</sub>-score using 3 classifiers was 0.8.</p>
          <p>In order to improve the performance of the model, an active learning approach [<xref ref-type="bibr" rid="ref32">32</xref>] was used where human input is used as feedback to fine-tune the models. Therapists examined 20% (6797/34048) of the outputs using a confusion matrix (see Active Learning via Human Scoring section). The scoring results were then used as a feedback loop to improve the list of keywords of queried expressions. Lastly, to fine-tune group cohesion extraction, linguistic rules were hand-coded to handle exceptions such as past tense and empathetic questions by participants (<xref rid="figure1" ref-type="fig">Figure 1</xref>).</p>
          <fig id="figure1" position="float">
            <label>Figure 1</label>
            <caption>
              <p>Process of group cohesion extraction. CCC: Cancer Chat Canada. </p>
            </caption>
            <graphic xlink:href="cancer_v10i1e43070_fig1.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
          </fig>
        </sec>
        <sec>
          <title>Linguistic Rules for Group Cohesion Score Adjustment</title>
          <p>The following rules were added after the first round of scoring based on therapists’ feedback:</p>
          <list list-type="order">
            <list-item>
              <p>Intensifiers: We have used the intensifiers from a pretrained library, Valence Aware Dictionary and Sentiment Reasoner (VADER; [<xref ref-type="bibr" rid="ref33">33</xref>], which considers intensity boosters such as “very” and “so much” to enhance the valence.</p>
            </list-item>
            <list-item>
              <p>Past tense (in the part-of-speech tagging via the NLTK Python library): The score would be multiplied by 0.5 if past tense was present, as the event had happened in the past, we assume that the effect of the event on the person would subside.</p>
            </list-item>
            <list-item>
              <p>Negation: The calculated cohesion score would be set to zero in case of a negation expression.</p>
            </list-item>
            <list-item>
              <p>First-person tagging: This was set to be “False” if second or third person pronouns were found.</p>
            </list-item>
            <list-item>
              <p>Empathy: If an empathy statement were found, then the calculated group cohesion score would be doubled to denote the intensity.</p>
            </list-item>
          </list>
          <p>Finally, an aggregated score of group cohesion (<italic>β</italic>) was calculated for specific time intervals using the following formula:</p>
          <disp-formula>
            <graphic xlink:href="cancer_v10i1e43070_fig2.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
          </disp-formula>
          <p>where <italic>β</italic> is the group cohesion score; <italic>T</italic> is the specified time interval (30 minutes); <italic>A</italic>(<italic>t</italic>,<italic>t</italic>+<italic>T</italic>) is the set of all posts the occurred during the time <italic>t</italic> to <italic>t</italic>+<italic>T</italic>; and <italic>C</italic>(<italic>t</italic>,<italic>t</italic>+<italic>T</italic>) is the set of cohesion mentioned posts that occurred during the time <italic>t</italic> to <italic>t</italic>+<italic>T</italic>.</p>
          <p>A group cohesion score was displayed and updated at 30-minute intervals on the 90-minute timeline in a real-time dashboard for therapists.</p>
        </sec>
        <sec>
          <title>Active Learning via Human Scoring</title>
          <p>Outputs were scored by undergraduate students (responsible for basic emotions), graduate students, and clinical experts (responsible for clinical and process outcomes). The team scored 20% of the output to inform AICF development, which was improved in light of the human scoring results. The updated AICF was run on the data of a new OSG (test data). Each AICF version was saved before training with new data. The team scored the output using definitions or examples from well-established psychometric measures such as the Group Cohesiveness Scale and Group Openness and Cohesion Questionnaire. A confusion matrix was used to score AICF outputs. The scoring process was based on recall, precision, and <italic>F</italic><sub>1</sub> measures. Scorers’ feedback using their domain expertise was used to improve AICF’s performance until it achieved an <italic>F</italic><sub>1</sub>-score of 80% before deploying in real-time OSG for beta-testing [<xref ref-type="bibr" rid="ref34">34</xref>].</p>
        </sec>
        <sec>
          <title>LIWC Evaluation</title>
          <p>The Linguistic Inquiry Word Count (LIWC) software [<xref ref-type="bibr" rid="ref35">35</xref>], considered the gold standard of psychology-based NLP, was used as a validation tool. LIWC reads a given text and calculates the percentage of total words in the text that match each of the LIWC dictionary categories. We tried to capture the concept of group cohesion using multiple LIWC dictionary categories: “we,” “positive emotion,” “family,” “friend,” and “affiliation” as the measurement criteria. We classified the text as an instance of group cohesion when at least 3 out of 5 criteria were met.</p>
        </sec>
      </sec>
      <sec>
        <title>Ethical Considerations</title>
        <p>The study protocol including the human participant recruitment method was approved by the University Health Network Research Ethics Board (confirmation number: UHN REB#18-5354). All identifiable information was removed from the quotes in this report. Participants were compensated with a CAD (73.34 USD) gift card upon the completion of the focus group.</p>
      </sec>
    </sec>
    <sec sec-type="results">
      <title>Results</title>
      <p>The results herein only focus on the human evaluation of the AICF system and its ability to detect group cohesion. We compared AICF to LIWC using human judgment using the confusion matrix and <italic>F</italic><sub>1</sub>-score to measure accuracy and precision. AICF was run on 34,048 messages of CCC chat history to generate outputs for human scoring. Every fifth message was scored, totaling 6797 messages (20%). The precision, recall, and <italic>F</italic><sub>1</sub>-scores are reported in <xref ref-type="table" rid="table1">Table 1</xref> and show that logistic regression, followed by naive Bayes and MLP classifiers performed the best.</p>
      <p>In this first round, AICF missed a high number of group cohesive statements (<xref ref-type="table" rid="table2">Table 2</xref>).</p>
      <p>All scored statements were incorporated into AICF for improvement. In the second round, the team checked another 296 of 1208 messages (20%) from a separate set of CCC group conversations. AICF was able to improve the false-negative rate (recall) from 0.52 to 0.70.</p>
      <p>We also ran LIWC on new OSG data (12,034 messages) from the CCC platform. Precision, recall, and <italic>F</italic><sub>1</sub>-scores are listed in <xref ref-type="table" rid="table3">Table 3</xref>.</p>
      <p>Within the “true positive” instances identified by AICF in agreement with the human scorers, several thematic categories and keywords emerged. They closely align with established measures of group cohesion [<xref ref-type="bibr" rid="ref31">31</xref>], including expressions of support or a sense of belonging (<xref ref-type="table" rid="table2">Table 2</xref>). Moreover, some keywords consistently emerged within the true-positive statement classifications (eg, “we,” “us,” “our,” “group,” “support”). Among the false-positive identifications, it was typically due to a missed subtle negation within the sentence or when a participant wrote about a supportive person or activity from outside the group (<xref ref-type="table" rid="table2">Table 2</xref>).</p>
      <p>Where AICF missed a classification of group cohesion (ie, a false negative), it was typically also due to nuanced conversational features on which it had not yet been trained, such as local expressions or idioms, supportive responses to others or statements missing identified group cohesion keywords (such as “we,” “us,” and “our”; <xref ref-type="table" rid="table2">Table 2</xref>). These correct and incorrect classifications were used to refine AICF detection of group cohesion as the algorithm progresses in development.</p>
      <table-wrap position="float" id="table2">
        <label>Table 2</label>
        <caption>
          <p>Themes, keywords, and examples of AICF<sup>a</sup> outputs.</p>
        </caption>
        <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
          <col width="30"/>
          <col width="400"/>
          <col width="570"/>
          <thead>
            <tr valign="top">
              <td colspan="2">Themes</td>
              <td>Examples</td>
            </tr>
          </thead>
          <tbody>
            <tr valign="top">
              <td colspan="3">
                <bold>True-positive themes</bold>
              </td>
            </tr>
            <tr valign="top">
              <td>
                <break/>
              </td>
              <td>Reassurance among peers</td>
              <td>“Good for you, that must have been really difficult to do”</td>
            </tr>
            <tr valign="top">
              <td>
                <break/>
              </td>
              <td>Expressing support/feeling supported</td>
              <td>“sending hugs”; “thanks everyone for your support &lt;3”</td>
            </tr>
            <tr valign="top">
              <td>
                <break/>
              </td>
              <td>Deeping emotional disclosure and trust</td>
              <td>“At my last treatment, I felt really scared, I didn’t want to tell my family this. But I can tell this group”</td>
            </tr>
            <tr valign="top">
              <td>
                <break/>
              </td>
              <td>Sense of belonging</td>
              <td>“I am glad to be part of this group”</td>
            </tr>
            <tr valign="top">
              <td>
                <break/>
              </td>
              <td>Gratitude for the group and peers</td>
              <td>“Thank you everyone, this is such a great group.”</td>
            </tr>
            <tr valign="top">
              <td>
                <break/>
              </td>
              <td>Shared experiences</td>
              <td>“It is amazing how much we all have in common”</td>
            </tr>
            <tr valign="top">
              <td>
                <break/>
              </td>
              <td>Reflecting on the positive aspects of the group</td>
              <td>“This group has been a great resource venue for meeting and I will continue down the road with fond memories of the time spent here”</td>
            </tr>
            <tr valign="top">
              <td>
                <break/>
              </td>
              <td>Anticipating future groups/chats</td>
              <td>“I can’t wait to chat with you all next week”</td>
            </tr>
            <tr valign="top">
              <td>
                <break/>
              </td>
              <td>Keywords: we, us, our, you all/all of you, thanks / thank you, time, chat, group, support, miss</td>
              <td>“we are friends”; “thinking of you all!”; “time went by fast!”;“A very good chat session”; “I’m so glad I found this group”; “thank you for your support and input”; “I am going to miss this group”</td>
            </tr>
            <tr valign="top">
              <td colspan="3">
                <bold>False-positive themes</bold>
              </td>
            </tr>
            <tr valign="top">
              <td>
                <break/>
              </td>
              <td>False detection of “we” or “us” when it is not indicative of group cohesion</td>
              <td>“When I mentioned that last week, when we all said what our situations were, no one even acknowledged it. I was very hurt by that”</td>
            </tr>
            <tr valign="top">
              <td>
                <break/>
              </td>
              <td>Talking about support from nongroup members</td>
              <td>“When I put my things in order I involved my children and as challenging and emotional as it was it made it easier for me and for them - we laughed and cried but it really made me feel supported”</td>
            </tr>
            <tr valign="top">
              <td colspan="3">
                <bold>False-negative themes</bold>
              </td>
            </tr>
            <tr valign="top">
              <td>
                <break/>
              </td>
              <td>Idioms/expressions</td>
              <td>“been there, am there... got the t-shirt”; “I hope you don't think you've been placed in a hot seat. It's just that I missed you and worried about you.”; “we are joining our circle“</td>
            </tr>
            <tr valign="top">
              <td>
                <break/>
              </td>
              <td>Missed detection of providing empathy, encouragement, appreciation, and support to other members</td>
              <td>“I am with you, be strong please”; “Are you going to be alright? I want you to know how much I appreciate your presence.”</td>
            </tr>
            <tr valign="top">
              <td>
                <break/>
              </td>
              <td>Missed detection of agreeing with or relating to others’ stories</td>
              <td>“I can relate”; “I feel the same way”;</td>
            </tr>
            <tr valign="top">
              <td>
                <break/>
              </td>
              <td>Missed statements because of lack of “we” language</td>
              <td>“I am sure there will be a sense of connection, so much sharing already”; “I am sure I will think of you often”</td>
            </tr>
          </tbody>
        </table>
        <table-wrap-foot>
          <fn id="table2fn1">
            <p><sup>a</sup>AICF: Artificial Intelligence–based Co-Facilitator.</p>
          </fn>
        </table-wrap-foot>
      </table-wrap>
      <table-wrap position="float" id="table3">
        <label>Table 3</label>
        <caption>
          <p>Artificial Intelligence–based Co-Facilitator performance evaluation for identification of group cohesion.</p>
        </caption>
        <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
          <col width="350"/>
          <col width="230"/>
          <col width="210"/>
          <col width="210"/>
          <thead>
            <tr valign="top">
              <td>Scoring round/method</td>
              <td>Precision</td>
              <td>Recall</td>
              <td><italic>F</italic><sub>1</sub>-score</td>
            </tr>
          </thead>
          <tbody>
            <tr valign="top">
              <td>First</td>
              <td>0.99</td>
              <td>0.52</td>
              <td>0.68</td>
            </tr>
            <tr valign="top">
              <td>Second</td>
              <td>0.98</td>
              <td>0.70</td>
              <td>0.82</td>
            </tr>
            <tr valign="top">
              <td>Linguistic Inquiry and Word Count</td>
              <td>0.36</td>
              <td>0.23</td>
              <td>0.28</td>
            </tr>
          </tbody>
        </table>
      </table-wrap>
    </sec>
    <sec sec-type="discussion">
      <title>Discussion</title>
      <sec>
        <title>Principal Results</title>
        <p>AICF, an ensemble of NLP and machine learning algorithms combined with annotation and human scoring, offers a novel way of measuring the group cohesion changes for each group member and alerting the therapist of these changes in real time. This affords therapists the opportunity to allocate their attention and resources for effective facilitation. The objective was to determine whether AICF can detect group cohesion beyond the first-person plural pronunciation use. The findings indicate that it is feasible to measure group cohesion in text-based complex human interactions using AICF. The level of congruency with human scoring suggests that it can be a helpful tool to therapists in improving the group cohesion outcome.</p>
        <p>This study has opened an avenue to person-centered and process-outcome research using AI combined with human inputs to improve the quality of care, which otherwise is a labor-intensive research process. Initially, after being trained with 1000 annotated group cohesion statements processed by word embeddings and the domain expertise from therapists, AICF was able to achieve reasonable <italic>F</italic><sub>1</sub>, precision, and recall scores. Furthermore, training the algorithm using only word embeddings allows AICF to identify the various cohesion themes that emerged, which are consistent with previous research 34]. These themes include expressing support, reassurance, a sense of belonging, trust, deepening emotional disclosure, gratitude, remarking on shared experiences, reflecting on positive aspects of the group, and anticipating future chats. The findings suggest that training AICF to monitor therapeutic responses in web-based care is promising.</p>
        <p>When combined with the human scoring examples in the algorithm, as little as 20% of the outputs, AICF obtained a high <italic>F</italic><sub>1</sub>-score. The human rater detected both false-positive examples (eg, “Just have to find what works for you, I listen to a lot of audible books while I do chores, it's a mental distraction and really helps me”) and false-negative examples (eg, “Thanks so much to all of you, for being in this moment. You've helped me get ready for yet another week.”). These examples contributed to the rule-based algorithms as a second layer of analysis. While precision values remained relatively low in both rounds (0.99 vs 0.98), the recall value improved from 0.52 to 0.70 due to a reduction in false-negative classifications. These increases strongly suggest that a continuous effort to train AICF using human input can lead to a higher level of accuracy in detecting group cohesion.</p>
        <p>After running LIWC on a test data set, its performance was evaluated by a human scorer. The precision, recall, and <italic>F</italic><sub>1</sub>-scores were lower compared to the performance of AICF. Unlike AICF, which is capable of identifying group cohesion expressions and idioms, LIWC is programmed to identify certain keywords. For a false-negative example, LIWC was unable to detect the following quote as an instance of group cohesion due to the lack of the keyword “we”: “I feel like I’ve suddenly inherited a whole group of sisters.” Another instance of an LIWC false positive was that LIWC dictionary categories “family,” “positive emotion,” and “affiliation” falsely detected group cohesion from this quote: “My husband has helped me see that it isn't something I did, or who I am.”</p>
      </sec>
      <sec>
        <title>Comparison With Prior Work</title>
        <p>This study successfully trained a machine learning system to detect cohesive statements in contrast to qualitative content analysis, which tends to be onerous and prone to human errors when dealing with large amounts of data [<xref ref-type="bibr" rid="ref11">11</xref>]. Emerging computer programs such as Discourse Attributes Analysis Program (DAAP) [<xref ref-type="bibr" rid="ref36">36</xref>] and LIWC [<xref ref-type="bibr" rid="ref35">35</xref>,<xref ref-type="bibr" rid="ref37">37</xref>] offer an iterative psycholinguistic approach to coding transcripts of psychotherapy for therapeutic moments [<xref ref-type="bibr" rid="ref18">18</xref>,<xref ref-type="bibr" rid="ref21">21</xref>]. For example, DAAP is based on a weighted dictionary that assigns weights to different words instead of solely detecting them as belonging to various categories where all matching words contribute equally to the generated scores. This method allows for greater accuracy in measuring different concepts compared to human coding while processing large amounts of data. However, these weighted dictionary approaches can be limited by a fixed number of instances that can be detected, and only one keyword can be considered in each matching rather than taking contexts into account. Additionally, they do not consider emerging words, phrases, idioms of expressions, word order, negation, and context-dependent factors, as well as their post hoc nature [<xref ref-type="bibr" rid="ref19">19</xref>]. In this study, the word embedding approach was used to create contextual variables from the keywords to successfully detect a reasonably broad definition of cohesiveness. Thus, work will continue toward improving the accuracy of AICF in upcoming OSG sessions.</p>
      </sec>
      <sec>
        <title>Limitations</title>
        <p>AICF is based on a previously trained ensemble called Patient-Reported Information Multidimensional Exploration (PRIME) that was primarily trained on Australian web-based forum data [<xref ref-type="bibr" rid="ref29">29</xref>]. Thus, Canadians may have used expressions or idioms that were unfamiliar to the original PRIME system and, therefore, not detected (eg, “My head is swirling” to describe feeling overwhelmed or “the clock is ticking” to describe an impending end of life). The local idioms and expressions were handled by the rule-based approach; ideally, AICF would be (re)trained with a large amount of local data in order to capture such idioms and expressions.</p>
        <p>Currently, the interactional nature of the statement is not incorporated into AICF, including responses to other members’ or therapists’ statements. Furthermore, AICF cannot consistently distinguish whether participants are speaking about the group or about people outside of the group. When data accumulate, this distinction will become more obvious and refine AICF’s detection ability within the context of an OSG.</p>
        <p>The performance of AICF’s group cohesion classification was evaluated in comparison to scores by 2 human experts, whose scoring was guided by the same criteria. However, given the nuanced nature of a group process like cohesion, there was still an element of personal judgment and openness to interpretation in the statements. Finally, emojis were not considered in the algorithm; future studies need to incorporate them as expressions of group cohesion.</p>
      </sec>
      <sec>
        <title>Future Directions</title>
        <p>ICF has been running in the background on 3 CCC groups and will soon be deployed for beta-testing on 10-12 groups. Participants will be filling out a survey package that includes the psychometrically validated questionnaire that tabs group cohesion for further validation. For algorithm development, sequencing the emotions expressed by each participant will be explored to capture more accurate emotional profiles.</p>
        <p>The use of large language models (LLMs), such as ChatGPT, has revolutionized natural language understanding in the field of affective computing. Research suggests that an LLM called ROBERTa [<xref ref-type="bibr" rid="ref38">38</xref>] has been equipped with emotion knowledge that contains 14 human conceptual attributes of emotions, including 2 affective, 6 appraisals, and 6 basic emotions. Future work will incorporate LLMs into our system to enhance AICF’s ability to detect group cohesion and other significant clinical outcomes. For example, the LLM has already understood the syntactic difference between first-person and third-person pronunciation uses and their contexts. Combining both of these emotional attributes and syntax, we are able to better formulate an equation to calculate the tendency of a writer to be self-focused or other-focused. This will truly improve the accuracy and precision of group cohesion detection.</p>
        <p>Lastly, In this study, 5 LIWC dictionary categories were used to capture the concept of group cohesion. Future studies may test whether there is a way that will improve the performance of group cohesion prediction using LIWC by (1) adding more categories, (2) reducing some categories, and (3) adding weighting to each criterion.</p>
        <p>AICF will explore ways to measure multiple processes comprising group climate, including the level of participation, expression of emotion, signs of cohesion, avoidance, and therapeutic factors such as conflict, altruism, universality, interpersonal learning input and output, catharsis, identification, self-understanding, and instillation of hope [<xref ref-type="bibr" rid="ref5">5</xref>,<xref ref-type="bibr" rid="ref9">9</xref>,<xref ref-type="bibr" rid="ref31">31</xref>]. If successful, AICF will be applied alongside the mobile health chatbot technology to provide a scalable, automated monitoring and referral system that screens users for specific symptoms, recommends individualized web-based and community resources, tracks each user’s psychological outcomes through, and refers them to local therapists when necessary.</p>
      </sec>
      <sec>
        <title>Conclusions</title>
        <p>Optimal OSG delivery requires rapid alerts for therapists to effectively monitor markers of positive and negative responses within the group. This study has demonstrated that advanced machine learning algorithms combined with human inputs can reasonably detect the clinically meaningful indicator of group cohesion in OSGs. Future research in utilizing LLMs in AICF could enhance the capabilities in understanding the context, given the capability of creating a highly customized model in a short time. Therefore, AICF has the potential to assist therapists by highlighting issues that are amenable to intervention in real time, which allows therapists to provide greater levels of individualized support.</p>
      </sec>
    </sec>
  </body>
  <back>
    <app-group/>
    <glossary>
      <title>Abbreviations</title>
      <def-list>
        <def-item>
          <term id="abb1">AICF</term>
          <def>
            <p>Artificial Intelligence–based Co-Facilitator</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb2">CCC</term>
          <def>
            <p>Cancer Chat Canada</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb3">DAAP</term>
          <def>
            <p>Discourse Attributes Analysis Program</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb4">LIWC</term>
          <def>
            <p>Linguistic Inquiry and Word Count</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb5">NLP</term>
          <def>
            <p>natural language processing</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb6">OSG</term>
          <def>
            <p>online support group</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb7">PRIME</term>
          <def>
            <p>Patient-Reported Information Multidimensional Exploration</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb8">TF-IDF</term>
          <def>
            <p>term frequency–inverse document frequency</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb9">VADER</term>
          <def>
            <p>Valence Aware Dictionary and Sentiment Reasoner</p>
          </def>
        </def-item>
      </def-list>
    </glossary>
    <ack>
      <p>This research is funded by the Ontario Institute for Cancer Research Cancer Care Ontario Health Services Research Network.</p>
    </ack>
    <notes>
      <sec>
        <title>Data Availability</title>
        <p>The data sets generated during or analyzed during this study are not publicly available due to the presence of private health information but are available from the corresponding author on reasonable request.</p>
      </sec>
    </notes>
    <fn-group>
      <fn fn-type="con">
        <p>YWL contributed to conceptualization, data curation, formal analysis, funding acquisition, investigation, methodology, project administration, resources, supervision, validation, writing the original draft, and reviewing and editing the manuscript. EW was involved in formal analysis and methodology. AA handled visualization, writing the original draft, reviewing and editing, formal analysis, and software. JH participated in formal analysis and methodology. VA contributed to writing the original draft and reviewing and editing. LD and CL were involved in the formal analysis. CK and KPC were involved in software validation. DDS provided supervision and funding acquisition. LT and HR contributed to validation and conceptualization. JW and MJE were responsible for writing, reviewing and editing, supervision, data curation, and funding acquisition.</p>
      </fn>
      <fn fn-type="conflict">
        <p>None declared.</p>
      </fn>
    </fn-group>
    <ref-list>
      <ref id="ref1">
        <label>1</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Gratzer</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Goldbloom</surname>
              <given-names>D</given-names>
            </name>
          </person-group>
          <article-title>Making evidence-based psychotherapy more accessible in Canada</article-title>
          <source>Can J Psychiatry</source>
          <year>2016</year>
          <volume>61</volume>
          <issue>10</issue>
          <fpage>618</fpage>
          <lpage>623</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/27310234"/>
          </comment>
          <pub-id pub-id-type="doi">10.1177/0706743716642416</pub-id>
          <pub-id pub-id-type="medline">27310234</pub-id>
          <pub-id pub-id-type="pii">0706743716642416</pub-id>
          <pub-id pub-id-type="pmcid">PMC5348091</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref2">
        <label>2</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Male</surname>
              <given-names>DA</given-names>
            </name>
            <name name-style="western">
              <surname>Fergus</surname>
              <given-names>KD</given-names>
            </name>
            <name name-style="western">
              <surname>Stephen</surname>
              <given-names>JE</given-names>
            </name>
          </person-group>
          <article-title>Professional online support group facilitators: guarantors of maximal group utility</article-title>
          <source>Int J Group Psychother</source>
          <year>2017</year>
          <volume>67</volume>
          <issue>3</issue>
          <fpage>314</fpage>
          <lpage>336</lpage>
          <pub-id pub-id-type="doi">10.1080/00207284.2016.1240587</pub-id>
          <pub-id pub-id-type="medline">38475609</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref3">
        <label>3</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>McCaughan</surname>
              <given-names>E</given-names>
            </name>
            <name name-style="western">
              <surname>Parahoo</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Hueter</surname>
              <given-names>I</given-names>
            </name>
            <name name-style="western">
              <surname>Northouse</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Bradbury</surname>
              <given-names>I</given-names>
            </name>
          </person-group>
          <article-title>Online support groups for women with breast cancer</article-title>
          <source>Cochrane Database Syst Rev</source>
          <year>2017</year>
          <month>03</month>
          <day>10</day>
          <volume>3</volume>
          <issue>3</issue>
          <fpage>CD011652</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/28278559"/>
          </comment>
          <pub-id pub-id-type="doi">10.1002/14651858.CD011652.pub2</pub-id>
          <pub-id pub-id-type="medline">28278559</pub-id>
          <pub-id pub-id-type="pmcid">PMC6464660</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref4">
        <label>4</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>van Uden-Kraan</surname>
              <given-names>CF</given-names>
            </name>
            <name name-style="western">
              <surname>Drossaert</surname>
              <given-names>CHC</given-names>
            </name>
            <name name-style="western">
              <surname>Taal</surname>
              <given-names>E</given-names>
            </name>
            <name name-style="western">
              <surname>Shaw</surname>
              <given-names>BR</given-names>
            </name>
            <name name-style="western">
              <surname>Seydel</surname>
              <given-names>ER</given-names>
            </name>
            <name name-style="western">
              <surname>van de Laar</surname>
              <given-names>MAFJ</given-names>
            </name>
          </person-group>
          <article-title>Empowering processes and outcomes of participation in online support groups for patients with breast cancer, arthritis, or fibromyalgia</article-title>
          <source>Qual Health Res</source>
          <year>2008</year>
          <volume>18</volume>
          <issue>3</issue>
          <fpage>405</fpage>
          <lpage>417</lpage>
          <pub-id pub-id-type="doi">10.1177/1049732307313429</pub-id>
          <pub-id pub-id-type="medline">18235163</pub-id>
          <pub-id pub-id-type="pii">18/3/405</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref5">
        <label>5</label>
        <nlm-citation citation-type="book">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Yalom</surname>
              <given-names>ID</given-names>
            </name>
          </person-group>
          <article-title>The Theory and practice of group psychotherapy, 5th ed</article-title>
          <source>The Theory and Practice of Group Psychotherapy</source>
          <year>2005</year>
          <publisher-loc>New York, NY, US</publisher-loc>
          <publisher-name>Basic Books/Hachette Book Group</publisher-name>
        </nlm-citation>
      </ref>
      <ref id="ref6">
        <label>6</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Anderson</surname>
              <given-names>WG</given-names>
            </name>
            <name name-style="western">
              <surname>Alexander</surname>
              <given-names>SC</given-names>
            </name>
            <name name-style="western">
              <surname>Rodriguez</surname>
              <given-names>KL</given-names>
            </name>
            <name name-style="western">
              <surname>Jeffreys</surname>
              <given-names>AS</given-names>
            </name>
            <name name-style="western">
              <surname>Olsen</surname>
              <given-names>MK</given-names>
            </name>
            <name name-style="western">
              <surname>Pollak</surname>
              <given-names>KI</given-names>
            </name>
            <name name-style="western">
              <surname>Tulsky</surname>
              <given-names>JA</given-names>
            </name>
            <name name-style="western">
              <surname>Arnold</surname>
              <given-names>RM</given-names>
            </name>
          </person-group>
          <article-title>"What concerns me is..." Expression of emotion by advanced cancer patients during outpatient visits</article-title>
          <source>Support Care Cancer</source>
          <year>2008</year>
          <volume>16</volume>
          <issue>7</issue>
          <fpage>803</fpage>
          <lpage>811</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/17960430"/>
          </comment>
          <pub-id pub-id-type="doi">10.1007/s00520-007-0350-8</pub-id>
          <pub-id pub-id-type="medline">17960430</pub-id>
          <pub-id pub-id-type="pmcid">PMC2838893</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref7">
        <label>7</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Roos</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Werbart</surname>
              <given-names>A</given-names>
            </name>
          </person-group>
          <article-title>Therapist and relationship factors influencing dropout from individual psychotherapy: a literature review</article-title>
          <source>Psychother Res</source>
          <year>2013</year>
          <volume>23</volume>
          <issue>4</issue>
          <fpage>394</fpage>
          <lpage>418</lpage>
          <pub-id pub-id-type="doi">10.1080/10503307.2013.775528</pub-id>
          <pub-id pub-id-type="medline">23461273</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref8">
        <label>8</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Clarke</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Eubanks</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Reid</surname>
              <given-names>E</given-names>
            </name>
            <name name-style="western">
              <surname>Kelleher</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>O'Connor</surname>
              <given-names>E</given-names>
            </name>
            <name name-style="western">
              <surname>DeBar</surname>
              <given-names>LL</given-names>
            </name>
            <name name-style="western">
              <surname>Lynch</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Nunley</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Gullion</surname>
              <given-names>C</given-names>
            </name>
          </person-group>
          <article-title>Overcoming Depression on the Internet (ODIN) (2): a randomized trial of a self-help depression skills program with reminders</article-title>
          <source>J Med Internet Res</source>
          <year>2005</year>
          <volume>7</volume>
          <issue>2</issue>
          <fpage>e16</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.jmir.org/2005/2/e16/"/>
          </comment>
          <pub-id pub-id-type="doi">10.2196/jmir.7.2.e16</pub-id>
          <pub-id pub-id-type="medline">15998607</pub-id>
          <pub-id pub-id-type="pii">v7i2e16</pub-id>
          <pub-id pub-id-type="pmcid">PMC1550641</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref9">
        <label>9</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Johnson</surname>
              <given-names>JE</given-names>
            </name>
            <name name-style="western">
              <surname>Burlingame</surname>
              <given-names>GM</given-names>
            </name>
            <name name-style="western">
              <surname>Olsen</surname>
              <given-names>JA</given-names>
            </name>
            <name name-style="western">
              <surname>Davies</surname>
              <given-names>DR</given-names>
            </name>
            <name name-style="western">
              <surname>Gleave</surname>
              <given-names>RL</given-names>
            </name>
          </person-group>
          <article-title>Group climate, cohesion, alliance, and empathy in group psychotherapy: multilevel structural equation models</article-title>
          <source>J. Couns. Psychol</source>
          <year>2005</year>
          <volume>52</volume>
          <issue>3</issue>
          <fpage>316</fpage>
          <lpage>321</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="http://dx.doi.org.myaccess.library.utoronto.ca/10.1637/0022-0167.52.3.310"/>
          </comment>
          <pub-id pub-id-type="doi">10.1037/0022-0167.52.3.310</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref10">
        <label>10</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Treadwell</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Lavertue</surname>
              <given-names>N</given-names>
            </name>
            <name name-style="western">
              <surname>Kumar</surname>
              <given-names>VK</given-names>
            </name>
            <name name-style="western">
              <surname>Veeraraghavan</surname>
              <given-names>V</given-names>
            </name>
          </person-group>
          <article-title>The group cohesion scale-revised: reliability and validity</article-title>
          <source>Int. J. Action Methods Psychodrama Ski. Train. Role Play</source>
          <year>2001</year>
          <volume>54</volume>
          <fpage>3</fpage>
          <lpage>12</lpage>
        </nlm-citation>
      </ref>
      <ref id="ref11">
        <label>11</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Sierra Hernandez</surname>
              <given-names>CAS</given-names>
            </name>
            <name name-style="western">
              <surname>Piper</surname>
              <given-names>WE</given-names>
            </name>
            <name name-style="western">
              <surname>Ogrodniczuk</surname>
              <given-names>JS</given-names>
            </name>
            <name name-style="western">
              <surname>Joyce</surname>
              <given-names>AS</given-names>
            </name>
            <name name-style="western">
              <surname>Weideman</surname>
              <given-names>R</given-names>
            </name>
          </person-group>
          <article-title>Use of referential language in short-term group psychotherapy for complicated grief</article-title>
          <source>Group Dyn. Theory Res. Pract. Wash</source>
          <year>2016</year>
          <volume>20</volume>
          <issue>1</issue>
          <fpage>1</fpage>
          <lpage>15</lpage>
          <pub-id pub-id-type="doi">10.1037/gdn0000038</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref12">
        <label>12</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Fineberg</surname>
              <given-names>SK</given-names>
            </name>
            <name name-style="western">
              <surname>Leavitt</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Deutsch-Link</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Dealy</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Landry</surname>
              <given-names>CD</given-names>
            </name>
            <name name-style="western">
              <surname>Pirruccio</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Shea</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Trent</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Cecchi</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Corlett</surname>
              <given-names>PR</given-names>
            </name>
          </person-group>
          <article-title>Self-reference in psychosis and depression: a language marker of illness</article-title>
          <source>Psychol Med</source>
          <year>2016</year>
          <volume>46</volume>
          <issue>12</issue>
          <fpage>2605</fpage>
          <lpage>2615</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/27353541"/>
          </comment>
          <pub-id pub-id-type="doi">10.1017/S0033291716001215</pub-id>
          <pub-id pub-id-type="medline">27353541</pub-id>
          <pub-id pub-id-type="pii">S0033291716001215</pub-id>
          <pub-id pub-id-type="pmcid">PMC7944937</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref13">
        <label>13</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Pennebaker</surname>
              <given-names>JW</given-names>
            </name>
            <name name-style="western">
              <surname>King</surname>
              <given-names>LA</given-names>
            </name>
          </person-group>
          <article-title>Linguistic styles: language use as an individual difference</article-title>
          <source>J Pers Soc Psychol</source>
          <year>1999</year>
          <volume>77</volume>
          <issue>6</issue>
          <fpage>1296</fpage>
          <lpage>1312</lpage>
          <pub-id pub-id-type="doi">10.1037//0022-3514.77.6.1296</pub-id>
          <pub-id pub-id-type="medline">10626371</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref14">
        <label>14</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Tackman</surname>
              <given-names>AM</given-names>
            </name>
            <name name-style="western">
              <surname>Sbarra</surname>
              <given-names>DA</given-names>
            </name>
            <name name-style="western">
              <surname>Carey</surname>
              <given-names>AL</given-names>
            </name>
            <name name-style="western">
              <surname>Donnellan</surname>
              <given-names>MB</given-names>
            </name>
            <name name-style="western">
              <surname>Horn</surname>
              <given-names>AB</given-names>
            </name>
            <name name-style="western">
              <surname>Holtzman</surname>
              <given-names>NS</given-names>
            </name>
            <name name-style="western">
              <surname>Edwards</surname>
              <given-names>TS</given-names>
            </name>
            <name name-style="western">
              <surname>Pennebaker</surname>
              <given-names>JW</given-names>
            </name>
            <name name-style="western">
              <surname>Mehl</surname>
              <given-names>MR</given-names>
            </name>
          </person-group>
          <article-title>Depression, negative emotionality, and self-referential language: A multi-lab, multi-measure, and multi-language-task research synthesis</article-title>
          <source>J Pers Soc Psychol</source>
          <year>2019</year>
          <volume>116</volume>
          <issue>5</issue>
          <fpage>817</fpage>
          <lpage>834</lpage>
          <pub-id pub-id-type="doi">10.1037/pspp0000187</pub-id>
          <pub-id pub-id-type="medline">29504797</pub-id>
          <pub-id pub-id-type="pii">2018-09035-001</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref15">
        <label>15</label>
        <nlm-citation citation-type="web">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Swol</surname>
              <given-names>LMV</given-names>
            </name>
            <name name-style="western">
              <surname>Kane</surname>
              <given-names>AA</given-names>
            </name>
          </person-group>
          <article-title>Language and group processes: an integrative, interdisciplinary review</article-title>
          <source>Small Group Res</source>
          <access-date>2019-09-20</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://journals-sagepub-com.myaccess.library.utoronto.ca/doi/10.1177/1046496418785019">https://journals-sagepub-com.myaccess.library.utoronto.ca/doi/10.1177/1046496418785019</ext-link>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref16">
        <label>16</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Piper</surname>
              <given-names>WE</given-names>
            </name>
            <name name-style="western">
              <surname>McCallum</surname>
              <given-names>WE</given-names>
            </name>
          </person-group>
          <article-title>The psychodynamic work and object rating system</article-title>
          <source>APA</source>
          <year>2000</year>
          <fpage>263</fpage>
          <lpage>281</lpage>
          <pub-id pub-id-type="doi">10.1037/10378-010</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref17">
        <label>17</label>
        <nlm-citation citation-type="web">
          <source>dtSearch</source>
          <year>1991</year>
          <access-date>2020-09-19</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://dtsearch.com/">https://dtsearch.com/</ext-link>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref18">
        <label>18</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Brockmeyer</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Zimmermann</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Kulessa</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Hautzinger</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Bents</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Friederich</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Herzog</surname>
              <given-names>W</given-names>
            </name>
            <name name-style="western">
              <surname>Backenstrass</surname>
              <given-names>M</given-names>
            </name>
          </person-group>
          <article-title>Me, myself, and I: self-referent word use as an indicator of self-focused attention in relation to depression and anxiety</article-title>
          <source>Front Psychol</source>
          <year>2015</year>
          <volume>6</volume>
          <fpage>1564</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/26500601"/>
          </comment>
          <pub-id pub-id-type="doi">10.3389/fpsyg.2015.01564</pub-id>
          <pub-id pub-id-type="medline">26500601</pub-id>
          <pub-id pub-id-type="pmcid">PMC4598574</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref19">
        <label>19</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Alpers</surname>
              <given-names>GW</given-names>
            </name>
            <name name-style="western">
              <surname>Winzelberg</surname>
              <given-names>AJ</given-names>
            </name>
            <name name-style="western">
              <surname>Classen</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Roberts</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Dev</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Koopman</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Barr Taylor</surname>
              <given-names>C</given-names>
            </name>
          </person-group>
          <article-title>Evaluation of computerized text analysis in an Internet breast cancer support group</article-title>
          <source>Comput. Hum. Behav</source>
          <year>2005</year>
          <volume>21</volume>
          <issue>2</issue>
          <fpage>361</fpage>
          <lpage>376</lpage>
          <pub-id pub-id-type="doi">10.1016/j.chb.2004.02.008</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref20">
        <label>20</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Lieberman</surname>
              <given-names>MA</given-names>
            </name>
            <name name-style="western">
              <surname>Wizlenberg</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Golant</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Di Minno</surname>
              <given-names>M</given-names>
            </name>
          </person-group>
          <article-title>The impact of group composition on Internet support groups: Homogeneous versus heterogeneous Parkinson's groups</article-title>
          <source>Group Dyn. Theory Res. Pract</source>
          <year>2005</year>
          <volume>9</volume>
          <issue>4</issue>
          <fpage>239</fpage>
          <lpage>250</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.zotero.org/google-docs/?TmhgRD"/>
          </comment>
          <pub-id pub-id-type="doi">10.1037/1089-2699.9.4.239</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref21">
        <label>21</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Mariani</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Maskit</surname>
              <given-names>B</given-names>
            </name>
            <name name-style="western">
              <surname>Bucci</surname>
              <given-names>W</given-names>
            </name>
            <name name-style="western">
              <surname>De Coro</surname>
              <given-names>A</given-names>
            </name>
          </person-group>
          <article-title>Linguistic measures of the referential process in psychodynamic treatment: the English and Italian versions</article-title>
          <source>Psychother Res</source>
          <year>2013</year>
          <volume>23</volume>
          <issue>4</issue>
          <fpage>430</fpage>
          <lpage>447</lpage>
          <pub-id pub-id-type="doi">10.1080/10503307.2013.794399</pub-id>
          <pub-id pub-id-type="medline">23656534</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref22">
        <label>22</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Yvonne</surname>
              <given-names>Leung</given-names>
            </name>
            <name name-style="western">
              <surname>Elise</surname>
              <given-names>Wouterloot</given-names>
            </name>
            <name name-style="western">
              <surname>Achini</surname>
              <given-names>Adikari</given-names>
            </name>
            <name name-style="western">
              <surname>Graeme</surname>
              <given-names>Hirst</given-names>
            </name>
            <name name-style="western">
              <surname>Daswin</surname>
              <given-names>De Silva</given-names>
            </name>
            <name name-style="western">
              <surname>Jiahui</surname>
              <given-names>Wong</given-names>
            </name>
            <name name-style="western">
              <surname>Jacqueline</surname>
              <given-names>Bender</given-names>
            </name>
            <name name-style="western">
              <surname>Mathew</surname>
              <given-names>Gancarz</given-names>
            </name>
            <name name-style="western">
              <surname>David</surname>
              <given-names>Gratzer</given-names>
            </name>
            <name name-style="western">
              <surname>Damminda</surname>
              <given-names>Alahakoon</given-names>
            </name>
            <name name-style="western">
              <surname>Mary Jane</surname>
              <given-names>Esplen</given-names>
            </name>
          </person-group>
          <article-title>Natural language processing–based virtual cofacilitator for online cancer support groups: protocol for an algorithm development and validation study</article-title>
          <source>JMIR research protocols</source>
          <year>2021</year>
          <fpage>e21453</fpage>
        </nlm-citation>
      </ref>
      <ref id="ref23">
        <label>23</label>
        <nlm-citation citation-type="book">
          <person-group person-group-type="author">
            <collab>Robert Plutchik</collab>
          </person-group>
          <article-title>Chapter 1 - A general psychoevolutionary theory of emotion</article-title>
          <source>Theories of Emotion</source>
          <year>1980</year>
          <publisher-loc>Amsterdam, The Netherlands</publisher-loc>
          <publisher-name>Elsevier</publisher-name>
          <fpage>3</fpage>
          <lpage>33</lpage>
        </nlm-citation>
      </ref>
      <ref id="ref24">
        <label>24</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Leung</surname>
              <given-names>YW</given-names>
            </name>
            <name name-style="western">
              <surname>Wouterloot</surname>
              <given-names>E</given-names>
            </name>
            <name name-style="western">
              <surname>Adikari</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Hirst</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>de Silva</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Wong</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Bender</surname>
              <given-names>JL</given-names>
            </name>
            <name name-style="western">
              <surname>Gancarz</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Gratzer</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Alahakoon</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Esplen</surname>
              <given-names>MJ</given-names>
            </name>
          </person-group>
          <article-title>Natural language processing-based virtual cofacilitator for online cancer support groups: protocol for an algorithm development and validation study</article-title>
          <source>JMIR Res Protoc</source>
          <year>2021</year>
          <volume>10</volume>
          <issue>1</issue>
          <fpage>e21453</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.researchprotocols.org/2021/1/e21453/"/>
          </comment>
          <pub-id pub-id-type="doi">10.2196/21453</pub-id>
          <pub-id pub-id-type="medline">33410754</pub-id>
          <pub-id pub-id-type="pii">v10i1e21453</pub-id>
          <pub-id pub-id-type="pmcid">PMC7819785</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref25">
        <label>25</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Leung</surname>
              <given-names>YW</given-names>
            </name>
            <name name-style="western">
              <surname>Park</surname>
              <given-names>B</given-names>
            </name>
            <name name-style="western">
              <surname>Heo</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Adikari</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Chackochan</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Wong</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Alie</surname>
              <given-names>E</given-names>
            </name>
            <name name-style="western">
              <surname>Gancarz</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Kacala</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Hirst</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>de Silva</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>French</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Bender</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Mishna</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Gratzer</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Alahakoon</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Esplen</surname>
              <given-names>M</given-names>
            </name>
          </person-group>
          <article-title>Providing care beyond therapy sessions with a natural language processing-based recommender system that identifies cancer patients who experience psychosocial challenges and provides self-care support: pilot study</article-title>
          <source>JMIR Cancer</source>
          <year>2022</year>
          <volume>8</volume>
          <issue>3</issue>
          <fpage>e35893</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://cancer.jmir.org/2022/3/e35893/"/>
          </comment>
          <pub-id pub-id-type="doi">10.2196/35893</pub-id>
          <pub-id pub-id-type="medline">35904877</pub-id>
          <pub-id pub-id-type="pii">v8i3e35893</pub-id>
          <pub-id pub-id-type="pmcid">PMC9377447</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref26">
        <label>26</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Leung</surname>
              <given-names>YW</given-names>
            </name>
            <name name-style="western">
              <surname>Park</surname>
              <given-names>B</given-names>
            </name>
            <name name-style="western">
              <surname>Heo</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Adikari</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Chackochan</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Wong</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Alie</surname>
              <given-names>E</given-names>
            </name>
            <name name-style="western">
              <surname>Gancarz</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Kacala</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Hirst</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>de Silva</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>French</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Bender</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Mishna</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Gratzer</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Alahakoon</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Esplen</surname>
              <given-names>MJ</given-names>
            </name>
          </person-group>
          <article-title>The Patient-Reported Information Multidimensional Exploration (PRIME) framework for investigating emotions and other factors of prostate cancer patients with low intermediate risk based on online cancer support group discussions</article-title>
          <source>JMIR Cancer</source>
          <year>2022</year>
          <volume>8</volume>
          <issue>3</issue>
          <fpage>e35893</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://cancer.jmir.org/2022/3/e35893/"/>
          </comment>
          <pub-id pub-id-type="doi">10.2196/35893</pub-id>
          <pub-id pub-id-type="medline">35904877</pub-id>
          <pub-id pub-id-type="pii">v8i3e35893</pub-id>
          <pub-id pub-id-type="pmcid">PMC9377447</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref27">
        <label>27</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Hu</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Jin</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Zhang</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Wang</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Yang</surname>
              <given-names>Y</given-names>
            </name>
          </person-group>
          <article-title>A user profile modeling method based on Word2Vec</article-title>
          <year>2017</year>
          <conf-name>2017 IEEE International Conference on Software Quality, Reliability and Security Companion</conf-name>
          <conf-date>July 25-29, 2017</conf-date>
          <conf-loc>Prague, Czech Republic</conf-loc>
          <pub-id pub-id-type="doi">10.1109/qrs-c.2017.74</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref28">
        <label>28</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>De Silva</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Ranasinghe</surname>
              <given-names>W</given-names>
            </name>
            <name name-style="western">
              <surname>Bandaragoda</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Adikari</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Mills</surname>
              <given-names>N</given-names>
            </name>
            <name name-style="western">
              <surname>Iddamalgoda</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Alahakoon</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Lawrentschuk</surname>
              <given-names>N</given-names>
            </name>
            <name name-style="western">
              <surname>Persad</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Osipov</surname>
              <given-names>E</given-names>
            </name>
            <name name-style="western">
              <surname>Gray</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Bolton</surname>
              <given-names>D</given-names>
            </name>
          </person-group>
          <article-title>Machine learning to support social media empowered patients in cancer care and cancer treatment decisions</article-title>
          <source>PLoS One</source>
          <year>2018</year>
          <volume>13</volume>
          <issue>10</issue>
          <fpage>e0205855</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://dx.plos.org/10.1371/journal.pone.0205855"/>
          </comment>
          <pub-id pub-id-type="doi">10.1371/journal.pone.0205855</pub-id>
          <pub-id pub-id-type="medline">30335805</pub-id>
          <pub-id pub-id-type="pii">PONE-D-18-17935</pub-id>
          <pub-id pub-id-type="pmcid">PMC6193663</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref29">
        <label>29</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Ranasinghe</surname>
              <given-names>W</given-names>
            </name>
            <name name-style="western">
              <surname>Bandaragoda</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>De Silva</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Alahakoon</surname>
              <given-names>D</given-names>
            </name>
          </person-group>
          <article-title>A novel framework for automated, intelligent extraction and analysis of online support group discussions for cancer related outcomes</article-title>
          <source>BJU Int</source>
          <year>2017</year>
          <volume>120 Suppl 3</volume>
          <fpage>59</fpage>
          <lpage>61</lpage>
          <pub-id pub-id-type="doi">10.1111/bju.14036</pub-id>
          <pub-id pub-id-type="medline">29058379</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref30">
        <label>30</label>
        <nlm-citation citation-type="book">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Dies</surname>
              <given-names>RR</given-names>
            </name>
          </person-group>
          <person-group person-group-type="editor">
            <name name-style="western">
              <surname>MacKenzie</surname>
              <given-names>KR</given-names>
            </name>
          </person-group>
          <article-title>Advances in group psychotherapy: integrating research and practice</article-title>
          <source>AGPA</source>
          <year>1983</year>
          <publisher-loc>New York</publisher-loc>
          <publisher-name>International Universities Press</publisher-name>
        </nlm-citation>
      </ref>
      <ref id="ref31">
        <label>31</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Borek</surname>
              <given-names>AJ</given-names>
            </name>
          </person-group>
          <article-title>Developing and applying a framework to understand mechanisms of action in group-based, behaviour change interventions: the MAGI mixed-methods study</article-title>
          <source>Effic. Mech. Eval</source>
          <year>2019</year>
          <volume>6</volume>
          <issue>3</issue>
          <fpage>1</fpage>
          <lpage>162</lpage>
          <pub-id pub-id-type="medline">31233299</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref32">
        <label>32</label>
        <nlm-citation citation-type="book">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Zeng</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Liang</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Wang</surname>
              <given-names>X</given-names>
            </name>
            <name name-style="western">
              <surname>Li</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Zeng</surname>
              <given-names>D</given-names>
            </name>
          </person-group>
          <person-group person-group-type="editor">
            <name name-style="western">
              <surname>Luo</surname>
              <given-names>B</given-names>
            </name>
            <name name-style="western">
              <surname>Cheng</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Wu</surname>
              <given-names>ZG</given-names>
            </name>
            <name name-style="western">
              <surname>Li</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Li</surname>
              <given-names>C</given-names>
            </name>
          </person-group>
          <article-title>A two-stage active learning algorithm for NLP based on feature mixing</article-title>
          <source>Neural Information Processing. ICONIP 2023 Communications in Computer and Information Science</source>
          <year>2024</year>
          <publisher-loc>Singapore</publisher-loc>
          <publisher-name>Springer</publisher-name>
        </nlm-citation>
      </ref>
      <ref id="ref33">
        <label>33</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Hutto</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Gilbert</surname>
              <given-names>E</given-names>
            </name>
          </person-group>
          <article-title>VADER: A parsimonious rule-based model for sentiment analysis of social media text</article-title>
          <source>ICWSM</source>
          <year>2014</year>
          <volume>8</volume>
          <issue>1</issue>
          <fpage>216</fpage>
          <lpage>225</lpage>
          <pub-id pub-id-type="doi">10.1609/icwsm.v8i1.14550</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref34">
        <label>34</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Cota</surname>
              <given-names>AA</given-names>
            </name>
            <name name-style="western">
              <surname>Dion</surname>
              <given-names>KL</given-names>
            </name>
            <name name-style="western">
              <surname>Evans</surname>
              <given-names>CR</given-names>
            </name>
          </person-group>
          <article-title>A Reexamination of the Structure of the Gross Cohesiveness Scale</article-title>
          <source>Educ. Psychol. Meas</source>
          <year>2016</year>
          <volume>53</volume>
          <issue>2</issue>
          <fpage>499</fpage>
          <lpage>506</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.zotero.org/google-docs/?TmhgRD"/>
          </comment>
          <pub-id pub-id-type="doi">10.1177/0013164493053002019</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref35">
        <label>35</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Tausczik</surname>
              <given-names>YR</given-names>
            </name>
            <name name-style="western">
              <surname>Pennebaker</surname>
              <given-names>JW</given-names>
            </name>
          </person-group>
          <article-title>The psychological meaning of words: LIWC and computerized text analysis methods</article-title>
          <source>J. Lang. Soc. Psychol</source>
          <year>2009</year>
          <volume>29</volume>
          <issue>1</issue>
          <fpage>24</fpage>
          <lpage>54</lpage>
          <pub-id pub-id-type="doi">10.1177/0261927X09351676</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref36">
        <label>36</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Maskit</surname>
              <given-names>Bernard</given-names>
            </name>
          </person-group>
          <article-title>Overview of Computer Measures of the Referential Process</article-title>
          <source>J Psycholinguist Res</source>
          <year>2021</year>
          <month>02</month>
          <volume>50</volume>
          <issue>1</issue>
          <fpage>29</fpage>
          <lpage>49</lpage>
          <pub-id pub-id-type="doi">10.1007/s10936-021-09761-8</pub-id>
          <pub-id pub-id-type="medline">33464426</pub-id>
          <pub-id pub-id-type="pii">10.1007/s10936-021-09761-8</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref37">
        <label>37</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Pennebaker</surname>
              <given-names>JW</given-names>
            </name>
            <name name-style="western">
              <surname>Mayne</surname>
              <given-names>TJ</given-names>
            </name>
            <name name-style="western">
              <surname>Francis</surname>
              <given-names>ME</given-names>
            </name>
          </person-group>
          <article-title>Linguistic predictors of adaptive bereavement</article-title>
          <source>J Pers Soc Psychol</source>
          <year>1997</year>
          <volume>72</volume>
          <issue>4</issue>
          <fpage>863</fpage>
          <lpage>871</lpage>
          <pub-id pub-id-type="doi">10.1037//0022-3514.72.4.863</pub-id>
          <pub-id pub-id-type="medline">9108699</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref38">
        <label>38</label>
        <nlm-citation citation-type="book">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Li</surname>
              <given-names>M</given-names>
            </name>
          </person-group>
          <source>Human emotion knowledge representation emerges in large language model and supports discrete emotion inference</source>
          <year>2023</year>
          <publisher-loc>Beijing, China</publisher-loc>
          <publisher-name>Tsinghua University</publisher-name>
        </nlm-citation>
      </ref>
    </ref-list>
  </back>
</article>
