<?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 xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article" dtd-version="2.0">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">JMI</journal-id>
      <journal-id journal-id-type="nlm-ta">JMIR Med Inform</journal-id>
      <journal-title>JMIR Medical Informatics</journal-title>
      <issn pub-type="epub">2291-9694</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">v10i4e29385</article-id>
      <article-id pub-id-type="pmid">35404254</article-id>
      <article-id pub-id-type="doi">10.2196/29385</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>Automating Large-scale Health Care Service Feedback Analysis: Sentiment Analysis and Topic Modeling Study</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="editor">
          <name>
            <surname>Lovis</surname>
            <given-names>Christian</given-names>
          </name>
        </contrib>
      </contrib-group>
      <contrib-group>
        <contrib contrib-type="reviewer">
          <name>
            <surname>Hammad</surname>
            <given-names>Rawad</given-names>
          </name>
        </contrib>
        <contrib contrib-type="reviewer">
          <name>
            <surname>Choi</surname>
            <given-names>Youngseok Thomas</given-names>
          </name>
        </contrib>
      </contrib-group>
      <contrib-group>
        <contrib id="contrib1" contrib-type="author" corresp="yes" equal-contrib="yes">
          <name name-style="western">
            <surname>Alexander</surname>
            <given-names>George</given-names>
          </name>
          <degrees>MSci</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <address>
            <institution>The School of Computer Science</institution>
            <institution>University of Birmingham</institution>
            <addr-line>The School of Computer Science, The University of Birmingham</addr-line>
            <addr-line>Edgbaston</addr-line>
            <addr-line>Birmingham, B15 2TT</addr-line>
            <country>United Kingdom</country>
            <phone>44 0121 414 3344</phone>
            <email>gxa548@alumni.bham.ac.uk</email>
          </address>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0003-0412-9349</ext-link>
        </contrib>
        <contrib id="contrib2" contrib-type="author" equal-contrib="yes">
          <name name-style="western">
            <surname>Bahja</surname>
            <given-names>Mohammed</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-2138-1784</ext-link>
        </contrib>
        <contrib id="contrib3" contrib-type="author" equal-contrib="yes">
          <name name-style="western">
            <surname>Butt</surname>
            <given-names>Gibran Farook</given-names>
          </name>
          <degrees>MD</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0001-5306-4647</ext-link>
        </contrib>
      </contrib-group>
      <aff id="aff1">
        <label>1</label>
        <institution>The School of Computer Science</institution>
        <institution>University of Birmingham</institution>
        <addr-line>Birmingham</addr-line>
        <country>United Kingdom</country>
      </aff>
      <author-notes>
        <corresp>Corresponding Author: George Alexander <email>gxa548@alumni.bham.ac.uk</email></corresp>
      </author-notes>
      <pub-date pub-type="collection">
        <month>4</month>
        <year>2022</year>
      </pub-date>
      <pub-date pub-type="epub">
        <day>11</day>
        <month>4</month>
        <year>2022</year>
      </pub-date>
      <volume>10</volume>
      <issue>4</issue>
      <elocation-id>e29385</elocation-id>
      <history>
        <date date-type="received">
          <day>5</day>
          <month>4</month>
          <year>2021</year>
        </date>
        <date date-type="rev-request">
          <day>24</day>
          <month>4</month>
          <year>2021</year>
        </date>
        <date date-type="rev-recd">
          <day>8</day>
          <month>9</month>
          <year>2021</year>
        </date>
        <date date-type="accepted">
          <day>4</day>
          <month>12</month>
          <year>2021</year>
        </date>
      </history>
      <copyright-statement>©George Alexander, Mohammed Bahja, Gibran Farook Butt. Originally published in JMIR Medical Informatics (https://medinform.jmir.org), 11.04.2022.</copyright-statement>
      <copyright-year>2022</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 Medical Informatics, is properly cited. The complete bibliographic information, a link to the original publication on https://medinform.jmir.org/, as well as this copyright and license information must be included.</p>
      </license>
      <self-uri xlink:href="https://medinform.jmir.org/2022/4/e29385" xlink:type="simple"/>
      <abstract>
        <sec sec-type="background">
          <title>Background</title>
          <p>Obtaining patient feedback is an essential mechanism for health care service providers to assess their quality and effectiveness. Unlike assessments of clinical outcomes, feedback from patients offers insights into their lived experiences. The Department of Health and Social Care in England via National Health Service Digital operates a patient feedback web service through which patients can leave feedback of their experiences in structured and free-text report forms. Free-text feedback, compared with structured questionnaires, may be less biased by the feedback collector and, thus, more representative; however, it is harder to analyze in large quantities and challenging to derive meaningful, quantitative outcomes.</p>
        </sec>
        <sec sec-type="objective">
          <title>Objective</title>
          <p>The aim of this study is to build a novel data analysis and interactive visualization pipeline accessible through an interactive web application to facilitate the interrogation of and provide unique insights into National Health Service patient feedback.</p>
        </sec>
        <sec sec-type="methods">
          <title>Methods</title>
          <p>This study details the development of a text analysis tool that uses contemporary natural language processing and machine learning models to analyze free-text clinical service reviews to develop a robust classification model and interactive visualization web application. The methodology is based on the design science research paradigm and was conducted in three iterations: a sentiment analysis of the patient feedback corpus in the first iteration, topic modeling (unigram and bigram)–based analysis for topic identification in the second iteration, and nested topic modeling in the third iteration that combines sentiment analysis and topic modeling methods. An interactive data visualization web application for use by the general public was then created, presenting the data on a geographic representation of the country, making it easily accessible.</p>
        </sec>
        <sec sec-type="results">
          <title>Results</title>
          <p>Of the 11,103 possible clinical services that could be reviewed across England, 2030 (18.28%) different services received a combined total of 51,845 reviews between October 1, 2017, and September 30, 2019. Dominant topics were identified for the entire corpus followed by negative- and positive-sentiment topics in turn. Reviews containing high- and low-sentiment topics occurred more frequently than reviews containing less polarized topics. Time-series analysis identified trends in topic and sentiment occurrence frequency across the study period.</p>
        </sec>
        <sec sec-type="conclusions">
          <title>Conclusions</title>
          <p>Using contemporary natural language processing techniques, unstructured text data were effectively characterized for further analysis and visualization. An efficient pipeline was successfully combined with a web application, making automated analysis and dissemination of large volumes of information accessible. This study represents a significant step in efforts to generate and visualize useful, actionable, and unique information from free-text patient reviews.</p>
        </sec>
      </abstract>
      <kwd-group>
        <kwd>natural language processing</kwd>
        <kwd>topic modeling</kwd>
        <kwd>National Health Service</kwd>
        <kwd>latent Dirichlet allocation</kwd>
        <kwd>reviews</kwd>
        <kwd>patient feedback</kwd>
        <kwd>automated solutions</kwd>
        <kwd>large-scale health service</kwd>
        <kwd>free-text</kwd>
        <kwd>unstructured data</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec sec-type="introduction">
      <title>Introduction</title>
      <sec>
        <title>Background</title>
        <p>Patient experience is described by the Beryl Institute as “the sum of all interactions, shaped by an organisation’s culture, that influence patient perceptions across the continuum of care” [<xref ref-type="bibr" rid="ref1">1</xref>]. It is a vital consideration of the health service provider’s planning strategy to reflect patient engagement and service quality [<xref ref-type="bibr" rid="ref2">2</xref>]. It is also a contributing factor to patient engagement, which is key to delivering effective and efficient care [<xref ref-type="bibr" rid="ref3">3</xref>-<xref ref-type="bibr" rid="ref6">6</xref>]. The <italic>Patient experience improvement framework</italic> of the National Health Service (NHS) defines several quality indicators, among which patient feedback is a priority [<xref ref-type="bibr" rid="ref7">7</xref>]. Thus, to deliver truly patient-centered care, the patient experience must be a central consideration [<xref ref-type="bibr" rid="ref8">8</xref>], and health care providers must have mechanisms in place through which the patient experience can be understood.</p>
        <p>Over the past 2 decades, there has been a greater emphasis on using patient feedback to inform and improve service delivery, largely in the United Kingdom, Europe, and the United States [<xref ref-type="bibr" rid="ref9">9</xref>,<xref ref-type="bibr" rid="ref10">10</xref>]. The way feedback is obtained can vary greatly, ranging from individual interviews and focus groups to official complaints as well as surveys conducted through various media (postal or web-based). Surveys and similar quantitative methodologies generate measurable results that can be used for benchmarking and comparisons over time or between subjects. Although they can help identify some problem areas in services, they can lack the specificity required to drive change [<xref ref-type="bibr" rid="ref10">10</xref>-<xref ref-type="bibr" rid="ref12">12</xref>]. Feedback mechanisms that allow in-depth ideas to be shared, such as patient forums, can help generate detailed patient experience insights [<xref ref-type="bibr" rid="ref10">10</xref>-<xref ref-type="bibr" rid="ref12">12</xref>].</p>
        <p>The NHS website allows users to anonymously rate and share their experience in a public forum [<xref ref-type="bibr" rid="ref13">13</xref>]. All NHS-provided services across England can be found on the site, where users can leave a free-text comment and give an overall <italic>star</italic> rating out of 6. These publicly available reviews are invaluable insights into the work of the NHS for the service providers themselves, national bodies such as NHS England, and the Care Quality Commission as well as patients deliberating on which services to use. This is a source of vast amounts of rich data, which has the potential to significantly influence the quality of services nationwide as well as policy regarding the NHS. Patient feedback in free-text form is typically hard to analyze on a large scale, which is why standardized scales are more frequently used to generate numerical measures for comparisons [<xref ref-type="bibr" rid="ref14">14</xref>]. The difficulty from the patients’ perspective lies in the accessibility to the data, which is limited to scrolling through individual responses in a particular service.</p>
        <p>This type of data lends itself well to analysis using computed natural language processing (NLP) techniques, enabling high-volume automated analysis of text information. In their seminal work, Greaves et al [<xref ref-type="bibr" rid="ref15">15</xref>] reported on the utility of this NHS web-based feedback data to gain insights into the health care service while allaying concerns about the risk of unsolicited reviews creating biased feedback. Greaves also reported that, with regard to the accuracy of the feedback about a given clinical service, web-based feedback was comparable with conventional surveys of patient experience [<xref ref-type="bibr" rid="ref15">15</xref>].</p>
        <p>The advent of machine learning and the development of sophisticated NLP algorithms have significantly advanced the analysis of text corpora. A significant amount of research has focused on applying advanced NLP methods to web-based reviews. Web-based reviews provide an opportunity to explore free-text corpora that do not usually adhere to a structure or format. The free text in reviews, such as the patient experience, makes the process of automated analysis of the review challenging when compared with closed questions with an expected text input. As web-based patient feedback is extensive, the traditional text analysis methods may provide limited capabilities for analysis. The latest machine learning– and artificial intelligence–based NLP methods have been well explored for analyzing large review data sets, especially for analyzing the user experience. The latest NLP methods provide capabilities to classify the reviews as positive or negative with high accuracy. Identifying the underlying themes and topics in the user experience allows us to understand the frequently reported service areas in user feedback.</p>
      </sec>
      <sec>
        <title>Objective</title>
        <p>The aim of the study presented in this paper is to provide an automated solution for the large-scale analysis of patient feedback on health care service providers. This study achieves this by exploring NLP techniques, including sentiment analysis and topic modeling. The objective of this study is also to present an interactive interface that provides stakeholders with a portal to analyze and identify outcomes of the patient feedback analysis. This work builds on previous work in the field [<xref ref-type="bibr" rid="ref16">16</xref>,<xref ref-type="bibr" rid="ref17">17</xref>] and presents the design and implementation of an unsupervised machine learning NLP model combined with an interactive interface to produce a user-friendly web application that allows for the exploration of service reviews across England.</p>
      </sec>
    </sec>
    <sec sec-type="methods">
      <title>Methods</title>
      <sec>
        <title>Overview</title>
        <p>For this study, the design science research (DSR) methodology was used. The DSR paradigm is a widely popular research approach in information systems research. It is referred to as a problem-solving paradigm as it aims to build <italic>artifacts</italic> that are aimed at addressing a problem. The artifacts address the problems or enhance existing solutions and are important tools for arriving at research outcomes and reviewing them to decide how the adopted artifact can be further used [<xref ref-type="bibr" rid="ref18">18</xref>]. The DSR process follows a systematic procedure in which the artifacts are developed through the systematic creation, capturing, and communication of knowledge from the design process. DSR uses an iterative process whereby the artifacts are reconstructed at each iteration and, thus, can be described as a continuous learning process that enhances the artifact quality incrementally [<xref ref-type="bibr" rid="ref19">19</xref>]. Further details on the DSR methodology in this study can be found in our previous study [<xref ref-type="bibr" rid="ref17">17</xref>].</p>
        <p><xref rid="figure1" ref-type="fig">Figure 1</xref> illustrates the methodology carried out for this research. The patient review corpus was subjected to three different iterations of NLP analysis: sentiment analysis, topic modeling, and nested topic modeling. The first iteration, sentiment analysis, enabled the automated analysis of the patient reviews and identified the sentiment of the reviews as either positive or negative. The second iteration, topic modeling analysis, applied the unigram and bigram topic modeling methods to annotate reviews with a group of words that reflected a theme or topic. A single review might have one or more topics. In the third iteration of the study, a nested topic modeling approach was applied. Nested topic modeling analysis combines sentiment analysis and topic modeling methods. The patient reviews were annotated with their associated sentiment score and then split into the <italic>good</italic> corpus and <italic>bad</italic> corpus based on the associated positive or negative sentiment. The <italic>good</italic> corpus and <italic>bad</italic> corpus were analyzed with topic modeling to identify topics within the reviews.</p>
        <fig id="figure1" position="float">
          <label>Figure 1</label>
          <caption>
            <p>The research methodology followed for the analysis of the patient feedback corpus. LDA: latent Dirichlet allocation.</p>
          </caption>
          <graphic xlink:href="medinform_v10i4e29385_fig1.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
      </sec>
      <sec>
        <title>NHS Patient Feedback</title>
        <p>The NHS website includes a platform where patients provide both ratings and reviews for a particular NHS service. The NHS website rating system provides an outline of patient experience; the rating is an optional feature that is collected for a specific set of parameters such as <italic>cleanliness</italic> and <italic>dealt with dignity</italic>, among others.</p>
        <p>Patients can provide feedback about NHS hospitals in 3 main sections. First, they are asked to rate, on a scale of 1 to 6, <italic>how likely they are to recommend the particular hospital to family and friends?</italic> This is the central question on the NHS website in that the ratings provided are used to calculate the overall rating for a given hospital. The rating for this question provides a quick and easy indicator of a hospital’s performance in providing patient care. However, the rating is single and straightforward, and it is insufficient to obtain a detailed understanding of hospital performance. For a more detailed understanding of patient feedback, the NHS website includes questions where the patients are asked to provide ratings on five parameters: cleanliness, staff co-operation, dignity and respect, involvement in decisions, and same-sex accommodation (out of 6 stars). The website-allocated ratings for these 5 parameters are optional to the users. Finally, there is an optional free-text review of a maximum of 3000 characters. These reviews follow the NHS comment policy and are moderated. The moderators remove any personal information and ensure that the reviews do not cause any legal issues such as defamation [<xref ref-type="bibr" rid="ref13">13</xref>]. Responses to the 5 parameters and free-text data provide an opportunity for a granular assessment and understanding of patient feedback for a hospital.</p>
        <p>All available reviews between October 1, 2017, and September 30, 2019, were collected from the NHS website.</p>
        <p>The NHS platform provides an application programming interface (API) that allows access to the patient ratings and reviews [<xref ref-type="bibr" rid="ref20">20</xref>]. A custom web scraper was built for the project using the NHS API to collect the patient ratings and reviews. The NHS platform provides the data with the standard license terms that cover the requirements of the General Data Protection Regulations [<xref ref-type="bibr" rid="ref21">21</xref>].</p>
      </sec>
      <sec>
        <title>Data Preprocessing</title>
        <p>The data set underwent a few processing steps where only columns from the data set that were relevant for this study were selected. Specifically, for parsimony purposes, only relevant data fields were extracted and relabeled into <italic>Date</italic>, <italic>Comment</italic>, and <italic>Label</italic> columns in the database. The <italic>Date</italic> and <italic>Comment</italic> columns referred to the posted date and the content of the participant’s comment, and the <italic>Label</italic> column was used to hold the sentiment of the comment, classified as either positive or negative.</p>
        <p>Data were organized by posting date [<xref ref-type="bibr" rid="ref22">22</xref>,<xref ref-type="bibr" rid="ref23">23</xref>] and partitioned into training, test, and validation data sets. In the training data set, observations were labeled according to the sentiment inferred from the comments. The test data set was used as an input to derive patterns from the training data set using text-mining models. In the validation data set, the values in the <italic>Label</italic> column were not defined.</p>
        <p>Within the data set, the ratings given by the participants for the following question—<italic>How likely are you to recommend this hospital to friends and family if they needed similar care or treatment?</italic>—were used as the actual data against which the performance of the text-mining model (ie, in predicting the patient feedback) was tested. Owing to the skewed distribution of the numerical responses and limitations of the machine learning methods, to reduce complexity in the modeling procedure, the continuous-scale patient feedback ratings were discretized. Following discretization, rating scores of 1 and 2 were categorized as negative, and those of 5 and 6 were categorized as positive. Rating scores of 3 and 4 were discarded as they were deemed neutral ratings that did not portray polarization. This categorization served as a binary sentiment label for which each text-mining model was trained and assessed.</p>
      </sec>
      <sec>
        <title>Sentiment Analysis</title>
        <p>Sentiment analysis, also referred to as opinion mining, refers to the computational study of people’s opinions, sentiments, attitudes, and emotions toward an entity. The entity can be another individual or a public figure, a product such as an electronic device, or service providers such as restaurants and hospitals. The identification of sentiment is performed based on the presence of words or phrases that are likely to refer to an opinion, sentiment, or emotion. If the sentence is identified as having a sentiment or opinion, it is then subjected to the feature selection process. During this process, the identified sentiment is associated with the feature that is being discussed. Finally, the sentiment is categorized into a chosen classification type. For instance, the sentiment can be classified into a binary, such as positive or negative. The sentiment analysis is associated with a score.</p>
        <p>The fine-grained sentiment score detects polarity within a text; in this case, whether the review is a positive or negative opinion. There are several approaches to sentiment analysis, including the strength of association, naïve Bayes (NB), and the support vector model. NB-based sentiment analysis models are popular and widely used. The NB classifier is a probabilistic classifier, which uses a mixture of models for classification and is widely popular for sentiment classification. Given a document, and based on the distribution of words in the document, the NB approach computes the probability of a document belonging to a class. This model calculates boundaries according to the distribution of the words across the labels while at the same time considering the joint probability of the words occurring independently together. Specifically, NB considers each word independently of one another and then tries to estimate the posterior distribution of a review being positive or negative according to the joint distribution of the words in the review. The probability is computed using the Bayes theorem to predict that a given word belongs to a specific sentiment.</p>
        <p>One of the popular implementations of sentiment analysis based on NB is the TextBlob rule-based sentiment analysis [<xref ref-type="bibr" rid="ref24">24</xref>], which was adopted in our study. The TextBlob approach allows for the performance of different NLP tasks, including part-of-speech tagging, noun phrase extraction, sentiment analysis, classification, and translation. The TextBlob approach is suitable in the current version of our study when compared with advanced machine learning–based approaches because of the relatively smaller size of the data set that is used. A machine learning–based method inherently requires large, labeled data sets for training and testing that could be prohibitive and expensive [<xref ref-type="bibr" rid="ref25">25</xref>].</p>
        <p>The TextBlob implementation was used to analyze each of the 51,845 reviews to determine their sentiment value. This produced a score for each review between −1 and 1, where 1 represents a wholly positive sentiment, −1 represents an entirely negative sentiment, and 0 represents a neutral sentiment. This provided a method for evaluating whether reviews were <italic>good</italic> or <italic>bad</italic> more quickly and consistently than a human-based process.</p>
      </sec>
      <sec>
        <title>Topic Modeling</title>
        <p>Topic modeling is an unsupervised NLP approach where unlabeled documents are used to create a set of topics represented by a list of words that frequently occur in each topic. There are several topic modeling approaches, and most use dimensionality-reducing techniques with the goal of representing a document using fewer words. Some of the most popular topic modeling approaches are probabilistic latent semantic indexing (LSI), latent Dirichlet allocation (LDA), and correlated topic modeling (CTM).</p>
        <p>The LSI approach uses linear algebraic approaches such as singular value decomposition and <italic>bags of words</italic> to represent documents. It aims to extract words that carry similar meanings (ie, it uses synonyms and polysemy for topic identification [<xref ref-type="bibr" rid="ref26">26</xref>]). The LSI approach assumes that each document has multiple topics and that the probability of each consists of a weight for a given document. On the basis of this assumption, the topics in a document are identified.</p>
        <p>A disadvantage of the LSI approach is that the number of parameters in the model increases as the volume of data increases, and this could lead to overfitting problems. Furthermore, when the LSI model is used on documents that were not part of the training data set, the topic probabilities have to be assigned again [<xref ref-type="bibr" rid="ref27">27</xref>].</p>
        <p>The CTM approach helps in identifying the correlation between a specific topic and others. The correlation information might help the users in identifying links or associations between a specific topic from a database and other similar topics. The CTM approach uses a logistic normal distribution to identify topics from documents. A covariance matrix used for parameterizing the distribution is then used to identify the correlation between the topics. A topic graph is subsequently drawn, in which the topics are represented by nodes and their correlations with other topics are depicted [<xref ref-type="bibr" rid="ref28">28</xref>]. The correlation approach provides more information to the user and, thus, enables better interpretation of the information. The CTM approach achieves a higher predictive likelihood than the LSI approach [<xref ref-type="bibr" rid="ref29">29</xref>].</p>
        <p>The LDA approach also works under the assumption of LSI (ie, that each topic is a distribution of words and each document has a certain distribution of topics). However, this assumption is extended by using a hidden variable model of documents that consists of hidden random variables with which the observed data interact [<xref ref-type="bibr" rid="ref30">30</xref>]. In LDA, the hidden variables are the topics and how the document exhibits them, and the observed data are the words. The learned or posterior distribution of the hidden variables for the given documents determines their topical composition. Furthermore, the LDA approach uses the Dirichlet distribution to define the distribution of topics in a document [<xref ref-type="bibr" rid="ref31">31</xref>].</p>
        <p>An advantage of the LDA approach is that the statistical assumptions it makes for topic modeling enable it to uncover sophisticated structures in the texts. For instance, the <italic>bag of words</italic> assumption used in the LDA approach makes it invariant to the order of words in the document. Furthermore, the order of documents in the corpus is also not a criterion for the LDA approach to extract topics from the document. This might not be suitable if the patient’s experience needs to be analyzed longitudinally (ie, over a period). However, in this study, as the patient experience analysis did not consider the time factor, the LDA method suited its aims.</p>
        <p>We used the LDA topic modeling approach to categorize each review into computer-generated topics. LDA initially assumes the number of topics and attempts to calculate topics that best represent the documents. It does this by calculating the probability estimate of a word for a given topic as well as the probability of a topic for a given document [<xref ref-type="bibr" rid="ref32">32</xref>].</p>
        <p>We used an LDA implementation called LDA Mallet owing to its use of a more precise sampling method called Gibbs sampling [<xref ref-type="bibr" rid="ref33">33</xref>]. Data were preprocessed, including the removal of stop words, verbs, and adverbs as well as lemmatization, formation of bigrams, and conversion of the corpus into the bag-of-words format. Bigrams were generated using the Gensim library (RARE Technologies, Ltd), which automatically detects common phrases [<xref ref-type="bibr" rid="ref34">34</xref>]. LDA Mallet has 2 parameters, a number of topics, and a hyperparameter α. These parameters were optimized through a series of experiments, with the number of topics ranging from 5 to 25 and α ranging from .01 to .99. Each test was measured using the coherence score [<xref ref-type="bibr" rid="ref35">35</xref>] as well as using human judgment to determine the validity of the generated topics. The highest-rated LDA model was then used to determine the topic mixture of each review.</p>
        <p>Reviews were then labeled according to the dominant topic. The dominant topic was defined by the LDA model, predicting the percentage contribution of that topic to be ≥50%. The reviews that did not have any topic that contributed ≥50% were not included in the following analysis.</p>
      </sec>
      <sec>
        <title>Nested Topic Modeling</title>
        <p>The corpus was divided into two subcorpora, the first one being negative-sentiment–scoring reviews and the second one being any positive-sentiment–scoring reviews. Similar to the topic model for the entire corpus, we then performed experiments to determine the optimal parameters for both corpora. Using these parameters, we produced two models, one showing the topics generated from negative-sentiment reviews and the other showing topics generated from positive-sentiment reviews. Applying these new LDA models to their respective corpora produced a topic mixture for each entry of their respective corpora.</p>
        <p>The nested topic modeling approach enables the identification of the rationale behind a particular sentiment of the patient in each comment or review. The intent is to find out why the patient was happy or unhappy about a particular topic in each comment. The problem being addressed in this iteration of the study was to find the possible reason behind a patient’s sentiment for a particular topic in each comment.</p>
      </sec>
      <sec>
        <title>Visualization</title>
        <p>Visualizing the results from the NLP methods relied on a Microsoft Azure Cloud Service [<xref ref-type="bibr" rid="ref36">36</xref>] to host the SQL server, web functions (API), and the web application. The SQL server stored each review and service as well as the results from both the sentiment analysis and topic modeling. The web functions acted as an API to allow for a Representational State Transfer and secure connection to the database. Finally, the cloud service hosted the web application, which used NodeJS (OpenJS Foundation) [<xref ref-type="bibr" rid="ref37">37</xref>] as the back-end framework and VueJS [<xref ref-type="bibr" rid="ref38">38</xref>] as the front-end framework. The web application also used packages such as Google Maps [<xref ref-type="bibr" rid="ref39">39</xref>] and VueChartJS [<xref ref-type="bibr" rid="ref40">40</xref>]. Both of these packages ensured that the results were shown in a logical, effective, and efficient way.</p>
      </sec>
    </sec>
    <sec sec-type="results">
      <title>Results</title>
      <sec>
        <title>NHS Patient Feedback</title>
        <p>NHS England is segmented into seven geographical regions with teams supporting the delivery of care locally: London, Midlands, North East and Yorkshire, North West, East of England, South East, and South West. Of the 11,103 possible services across these regions, 2030 (18.28%) services received a combined total of 51,845 reviews between October 1, 2017, and October 31, 2019. Among the reviewed services, the mean number of reviews per service was 26 (SD 60.3), and the highest number of reviews for a single service was 550 for Lincoln County Hospital. During the study period, the mean number of reviews per month across England was 2028 (SD 449.1). The number of reviews per month declined from 2625 in October 2017 to 1611 in September 2019.</p>
        <p>The number of services per 10,000 population was similar around England, with the lowest being in London, which also has the highest-density population (<xref ref-type="table" rid="table1">Table 1</xref>). Across England, 18.11% (2011/11,103) of the services received a review during the study period, with the fewest services reviewed being in the North East and Yorkshire and the most reviewed being in London. The number of reviews per 10,000 population across England was similar, with the fewest being in the South East region and the highest in the East of England (<xref ref-type="table" rid="table1">Table 1</xref>).</p>
        <table-wrap position="float" id="table1">
          <label>Table 1</label>
          <caption>
            <p>National Health Service England regions, services, and reviews.</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="170"/>
            <col width="100"/>
            <col width="110"/>
            <col width="100"/>
            <col width="120"/>
            <col width="130"/>
            <col width="90"/>
            <col width="90"/>
            <col width="90"/>
            <thead>
              <tr valign="top">
                <td>Characteristic</td>
                <td>England</td>
                <td>East of England</td>
                <td>London</td>
                <td>Midlands</td>
                <td>North East and Yorkshire</td>
                <td>North West</td>
                <td>South East</td>
                <td>South West</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td>Population (million)<sup>a</sup></td>
                <td>53.8</td>
                <td>4.5</td>
                <td>8.2</td>
                <td>10.1</td>
                <td>7.9</td>
                <td>7.1</td>
                <td>8.6</td>
                <td>5.3</td>
              </tr>
              <tr valign="top">
                <td>Services, n (%)</td>
                <td>11,103 (100)</td>
                <td>1095 (9.9)</td>
                <td>1343 (12.1)</td>
                <td>2123 (19.1)</td>
                <td>1865 (16.8)</td>
                <td>1572 (14.2)</td>
                <td>1929 (17.4)</td>
                <td>1176 (10.6)</td>
              </tr>
              <tr valign="top">
                <td>Reviewed services, n (%)</td>
                <td>2011 (18.1)</td>
                <td>221 (20.2)</td>
                <td>309 (23)</td>
                <td>369 (17.4)</td>
                <td>299 (16)</td>
                <td>269 (17.1)</td>
                <td>323 (16.7)</td>
                <td>221 (18.8)</td>
              </tr>
              <tr valign="top">
                <td>Unreviewed services, n (%)</td>
                <td>9092 (81.9)</td>
                <td>874 (79.8)</td>
                <td>1034 (77)</td>
                <td>1754 (82.6)</td>
                <td>1566 (84)</td>
                <td>1303 (82.9)</td>
                <td>1606 (83.3)</td>
                <td>955 (81.2)</td>
              </tr>
              <tr valign="top">
                <td>Total reviews, n (%)</td>
                <td>50,707 (100)</td>
                <td>5517 (10.9)</td>
                <td>8337 (16.4)</td>
                <td>10,047 (19.8)</td>
                <td>7212 (14.2)</td>
                <td>6896 (13.6)</td>
                <td>7709 (15.2)</td>
                <td>4989 (9.8)</td>
              </tr>
              <tr valign="top">
                <td>Reviews per 10,000</td>
                <td>9.4</td>
                <td>12.3</td>
                <td>10.2</td>
                <td>9.9</td>
                <td>9.1</td>
                <td>9.7</td>
                <td>9.0</td>
                <td>9.4</td>
              </tr>
              <tr valign="top">
                <td>Services per 10,000</td>
                <td>2.1</td>
                <td>2.4</td>
                <td>1.6</td>
                <td>2.1</td>
                <td>2.4</td>
                <td>2.2</td>
                <td>2.2</td>
                <td>2.2</td>
              </tr>
            </tbody>
          </table>
          <table-wrap-foot>
            <fn id="table1fn1">
              <p><sup>a</sup>Population data from the Office for National Statistics Census, 2011.</p>
            </fn>
          </table-wrap-foot>
        </table-wrap>
      </sec>
      <sec>
        <title>Sentiment Analysis</title>
        <p>To explore the opinions held within the reviews, the sentiment was analyzed for the entire corpus and for individual reviews. The analysis generated a score for how positive (eg, happy or pleased) or negative (eg, unhappy or disappointed) the sentiment was between −1 (most negative) and 1 (most positive). Examples of reviews and their corresponding score can be found in <xref ref-type="table" rid="table2">Table 2</xref>. The average sentiment of all reviews across the study period did not demonstrate any significant changes (<xref rid="figure2" ref-type="fig">Figure 2</xref>A). A comparison of sentiment by season revealed that there were no significant differences among spring (March 20 to June 21), summer (June 21 to September 22), and autumn (September 22 to December 21); however, a statistically significant decrease occurred in winter (December 21 to March 20; mean sentiment 0.178, SD 0.21) compared with summer (mean sentiment 0.185, SD 0.21; <italic>P</italic>=.02).</p>
        <p><xref ref-type="table" rid="table3">Table 3</xref> reports the sentiment scores for each of the topics in the corpus. Topics that are innately associated with positive sentiments, such as good experience and good staff, have higher sentiment scores than inherently negative topics such as rude staff. The distribution of sentiment and topic frequency demonstrates a tendency in the most frequently mentioned topics to be the most polarized, appearing as a u-shaped curve (<xref rid="figure2" ref-type="fig">Figure 2</xref>B). The topic sentiment scores over time appeared to vary around their overall corpus sentiment score and did not significantly change throughout the study period. Consultancy appeared to vary most significantly across the study period. Mental health demonstrated a downward trend toward the latter part of the study period. Good experience, good staff, and operations and surgery had consistently higher sentiment scores across the study period compared with the other topics (<xref rid="figure2" ref-type="fig">Figure 2</xref>C).</p>
        <table-wrap position="float" id="table2">
          <label>Table 2</label>
          <caption>
            <p>Sentiment scale examples.</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="140"/>
            <col width="860"/>
            <thead>
              <tr valign="top">
                <td>Sentiment score</td>
                <td>Review</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td>−1.0</td>
                <td>“Awful treatment in the SAU<sup>a</sup> area. Avoid using if you can!”</td>
              </tr>
              <tr valign="top">
                <td>−0.5</td>
                <td>“I think there a load of rubbish whenever you ring them they dont answer tried 8 times today what a joke.”</td>
              </tr>
              <tr valign="top">
                <td>0.0</td>
                <td>“Have been attending clinic regularly. Always have eye problems after drops. Despite several attempts to bring this to staff attention it has been dealt with in a dismissive manner. GP<sup>b</sup> attendance has been necessary. Phone always engaged or left ringing.”</td>
              </tr>
              <tr valign="top">
                <td>0.1</td>
                <td>“All midwives very helpful. An improvement could be that proper beds are provided for partners.”</td>
              </tr>
              <tr valign="top">
                <td>0.2</td>
                <td>“I felt very respected and would like to say thank you.”</td>
              </tr>
              <tr valign="top">
                <td>0.5</td>
                <td>“Excellent result from the procedure performed from the team, my sight is back to what I want. As always (department name) do the business.”</td>
              </tr>
              <tr valign="top">
                <td>1.0</td>
                <td>“The care of all the staff was excellent; and some of them deserved an MBE<sup>c</sup>.”</td>
              </tr>
            </tbody>
          </table>
          <table-wrap-foot>
            <fn id="table2fn1">
              <p><sup>a</sup>SAU: surgical assessment unit.</p>
            </fn>
            <fn id="table2fn2">
              <p><sup>b</sup>GP: general practitioner.</p>
            </fn>
            <fn id="table2fn3">
              <p><sup>c</sup>MBE: Member of the Order of the British Empire.</p>
            </fn>
          </table-wrap-foot>
        </table-wrap>
        <fig id="figure2" position="float">
          <label>Figure 2</label>
          <caption>
            <p>A collection of relationships within the data set. A: sentiment score over time; B: Relationship between topic frequency and sentiment score over time; C: Relationship between topic frequency and sentiment. A&#38;E: accident and emergency.</p>
          </caption>
          <graphic xlink:href="medinform_v10i4e29385_fig2.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
        <table-wrap position="float" id="table3">
          <label>Table 3</label>
          <caption>
            <p>Latent Dirichlet allocation–generated topics with their sentiment score (refer to <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref> for keywords generated for each cluster).</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="110"/>
            <col width="410"/>
            <col width="290"/>
            <col width="190"/>
            <thead>
              <tr valign="top">
                <td>ID</td>
                <td>Topic</td>
                <td>Classified reviews, n (%)</td>
                <td>Sentiment score</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td>1</td>
                <td>Good staff</td>
                <td>1579 (7.1)</td>
                <td>0.305795</td>
              </tr>
              <tr valign="top">
                <td>2</td>
                <td>Waiting times</td>
                <td>1136 (5.1)</td>
                <td>−0.006903</td>
              </tr>
              <tr valign="top">
                <td>3</td>
                <td>A&#38;E<sup>a</sup></td>
                <td>2238 (10.1)</td>
                <td>0.277627</td>
              </tr>
              <tr valign="top">
                <td>4</td>
                <td>Operations and surgery</td>
                <td>2205 (9.9)</td>
                <td>0.331010</td>
              </tr>
              <tr valign="top">
                <td>5</td>
                <td>Food and cleanliness</td>
                <td>647 (2.9)</td>
                <td>0.002680</td>
              </tr>
              <tr valign="top">
                <td>6</td>
                <td>Mental health</td>
                <td>1463 (6.6)</td>
                <td>0.122655</td>
              </tr>
              <tr valign="top">
                <td>7</td>
                <td>Good experience</td>
                <td>2369 (10.7)</td>
                <td>0.333013</td>
              </tr>
              <tr valign="top">
                <td>8</td>
                <td>Booking appointments</td>
                <td>2272 (10.2)</td>
                <td>−0.038362</td>
              </tr>
              <tr valign="top">
                <td>9</td>
                <td>Consultancy and tests</td>
                <td>640 (2.9)</td>
                <td>0.139792</td>
              </tr>
              <tr valign="top">
                <td>10</td>
                <td>Car parking</td>
                <td>1577 (7.1)</td>
                <td>0.028805</td>
              </tr>
              <tr valign="top">
                <td>11</td>
                <td>Obstetrics</td>
                <td>1075 (4.8)</td>
                <td>0.272878</td>
              </tr>
              <tr valign="top">
                <td>12</td>
                <td>Rude staff</td>
                <td>1128 (5.1)</td>
                <td>−0.110659</td>
              </tr>
              <tr valign="top">
                <td>13</td>
                <td>Procedure and dealing with anxieties</td>
                <td>2646 (11.9)</td>
                <td>0.330488</td>
              </tr>
              <tr valign="top">
                <td>14</td>
                <td>Paramedic and ambulance</td>
                <td>1246 (5.6)</td>
                <td>0.250670</td>
              </tr>
              <tr valign="top">
                <td>N/A<sup>b</sup></td>
                <td>Total</td>
                <td>22,221 (100)</td>
                <td>0.182695</td>
              </tr>
            </tbody>
          </table>
          <table-wrap-foot>
            <fn id="table3fn1">
              <p><sup>a</sup>A&#38;E: accident and emergency.</p>
            </fn>
            <fn id="table3fn2">
              <p><sup>b</sup>N/A: not applicable.</p>
            </fn>
          </table-wrap-foot>
        </table-wrap>
      </sec>
      <sec>
        <title>Topic Modeling</title>
        <p>A total of 14 clusters were identified from the entire corpus, from which themes were derived manually (<xref ref-type="table" rid="table3">Table 3</xref>). Reviews were then classified according to their dominant topic (ie, the topic to which the review had a &#62;50% probability of belonging as identified by the LDA model). This threshold was selected to reduce the confounding effect of sentiment analysis by co-occurring opposing sentiments that may be encountered in reviews that contained multiple topics. Associations between topic frequency and geographic distribution and their changes over time were then characterized.</p>
        <p>In total, 22,221 reviews were classified with a dominant topic, as shown in <xref ref-type="table" rid="table3">Table 3</xref>, and the topics identified were reviewed and labeled by GFB, who is a medical doctor in the NHS. The most frequent topics identified were <italic>paramedic and ambulance</italic> (topic 14; 1246/22,221, 5.61%), <italic>booking appointment</italic> (topic 8; 2272/22,221, 10.22%), <italic>good experience</italic> (topic 7; 2369/22,221, 10.66%), <italic>operations and surgery</italic> (topic 4; 2205/22,221, 9.92%), and <italic>A&#38;E</italic> (topic 3; 2238/22,221, 10.07%). These topics comprised 46.49% (10,330/22,221) of the labeled reviews. Most topics occurred at a steady rate across the study period. No patterns in that variation in topic frequency were identified; however, <italic>procedure and dealing with anxieties</italic> increased, whereas <italic>obstetrics</italic> decreased in frequency across the study period (<xref rid="figure3" ref-type="fig">Figure 3</xref>). Most topics were of similar proportions across all regions in England; however, <italic>waiting time</italic> and <italic>A&#38;E</italic> were proportionately greater in London and the South West, respectively (<xref rid="figure4" ref-type="fig">Figure 4</xref>).</p>
        <fig id="figure3" position="float">
          <label>Figure 3</label>
          <caption>
            <p>Topics over time. A&#38;E: accident and emergency.</p>
          </caption>
          <graphic xlink:href="medinform_v10i4e29385_fig3.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
        <fig id="figure4" position="float">
          <label>Figure 4</label>
          <caption>
            <p>Topic frequency across different regions. A&#38;E: accident and emergency.</p>
          </caption>
          <graphic xlink:href="medinform_v10i4e29385_fig4.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
      </sec>
      <sec>
        <title>Nested Topic Modeling</title>
        <p>Using sentiment scoring, positive-scoring reviews (≥0.2) and negative-scoring reviews (≤0.2) were separated into 2 smaller corpora to undergo topic modeling to obtain new sets of positive and negative topics. The optimal number of topics was decided by creating a model for each number of topics in the range of 5 to 20 and using the coherence score as well as human intuition to determine the best topic model. Positive and negative clusters were identified, and the topics were labeled manually (<xref ref-type="table" rid="table4">Tables 4</xref> and <xref ref-type="table" rid="table5">5</xref>). The sentiments of both the positive and negative topics demonstrated typical undulations over time, remaining around their average. Regarding positive topics, <italic>admissions</italic> and <italic>surgery</italic> demonstrated rapid increases and decreases back to their average in 2019 and, of the negative topics, <italic>rude</italic>, <italic>booking appointment</italic>, and <italic>food and cleanliness</italic> scored the lowest sentiment.</p>
        <table-wrap position="float" id="table4">
          <label>Table 4</label>
          <caption>
            <p>Negative-sentiment topics (any review with a sentiment score &#60;−0.2; refer to <xref ref-type="supplementary-material" rid="app2">Multimedia Appendix 2</xref> for keywords generated for each cluster; n=863)</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="90"/>
            <col width="500"/>
            <col width="410"/>
            <thead>
              <tr valign="top">
                <td>ID</td>
                <td>Human-generated name</td>
                <td>Reviews, n (%)</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td>1</td>
                <td>Mental health</td>
                <td>77 (8.9)</td>
              </tr>
              <tr valign="top">
                <td>2</td>
                <td>Care</td>
                <td>58 (6.7)</td>
              </tr>
              <tr valign="top">
                <td>3</td>
                <td>Rudeness</td>
                <td>65 (7.5)</td>
              </tr>
              <tr valign="top">
                <td>4</td>
                <td>Children</td>
                <td>31 (3.6)</td>
              </tr>
              <tr valign="top">
                <td>5</td>
                <td>Pain management</td>
                <td>81 (9.4)</td>
              </tr>
              <tr valign="top">
                <td>6</td>
                <td>Waiting for appointment</td>
                <td>107 (12.4)</td>
              </tr>
              <tr valign="top">
                <td>7</td>
                <td>Phone</td>
                <td>68 (7.9)</td>
              </tr>
              <tr valign="top">
                <td>8</td>
                <td>Cleanliness</td>
                <td>49 (5.7)</td>
              </tr>
              <tr valign="top">
                <td>9</td>
                <td>Care</td>
                <td>48 (5.6)</td>
              </tr>
              <tr valign="top">
                <td>10</td>
                <td>Booking appointment</td>
                <td>159 (18.4)</td>
              </tr>
              <tr valign="top">
                <td>11</td>
                <td>GP<sup>a</sup></td>
                <td>31 (3.6)</td>
              </tr>
              <tr valign="top">
                <td>12</td>
                <td>Results</td>
                <td>89 (10.3)</td>
              </tr>
            </tbody>
          </table>
          <table-wrap-foot>
            <fn id="table4fn1">
              <p><sup>a</sup>GP: general practitioner.</p>
            </fn>
          </table-wrap-foot>
        </table-wrap>
        <table-wrap position="float" id="table5">
          <label>Table 5</label>
          <caption>
            <p>Positive-sentiment topics (any review with a sentiment score &#62;+0.2; refer to <xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref> for keywords generated for each cluster; n=917)</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="90"/>
            <col width="510"/>
            <col width="400"/>
            <thead>
              <tr valign="top">
                <td>ID</td>
                <td>Human-generated name</td>
                <td>Reviews, n (%)</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td>1</td>
                <td>General care</td>
                <td>119 (13)</td>
              </tr>
              <tr valign="top">
                <td>2</td>
                <td>A&#38;E<sup>a</sup></td>
                <td>104 (11.3)</td>
              </tr>
              <tr valign="top">
                <td>3</td>
                <td>Admissions</td>
                <td>57 (6.2)</td>
              </tr>
              <tr valign="top">
                <td>4</td>
                <td>Service</td>
                <td>93 (10.1)</td>
              </tr>
              <tr valign="top">
                <td>5</td>
                <td>Pediatrics</td>
                <td>156 (17)</td>
              </tr>
              <tr valign="top">
                <td>6</td>
                <td>Appointment and consultation</td>
                <td>177 (19.3)</td>
              </tr>
              <tr valign="top">
                <td>7</td>
                <td>Dealing with anxieties</td>
                <td>74 (8.1)</td>
              </tr>
              <tr valign="top">
                <td>8</td>
                <td>Surgery</td>
                <td>137 (14.9)</td>
              </tr>
            </tbody>
          </table>
          <table-wrap-foot>
            <fn id="table5fn1">
              <p><sup>a</sup>A&#38;E: accident and emergency.</p>
            </fn>
          </table-wrap-foot>
        </table-wrap>
      </sec>
      <sec>
        <title>Visualization</title>
        <p>The NLP analytics were then incorporated into a user-friendly web-based interface that enables the exploration of the data through the graphical user interface (<xref rid="figure5" ref-type="fig">Figure 5</xref>). Users can navigate around the country using the Google Maps–based map, which displays color-coded pins that aggregate analytics for areas (<xref rid="figure5" ref-type="fig">Figure 5</xref>A). The color of the pins represents the average sentiment score for that service. As the user zooms into an area, the aggregated pins are divided into color-coded pins for individual services (<xref rid="figure5" ref-type="fig">Figure 5</xref>B). Clicking on a service reveals a short overview of the service, displaying the average sentiment, the emotions, and the proportion of each topic derived from the reviews of that service (<xref rid="figure5" ref-type="fig">Figure 5</xref>B). The emotions were derived from an emotional analysis algorithm applied to each review and accumulated to find the most common emotion. This improves usability as it increases its appeal to the users.</p>
        <fig id="figure5" position="float">
          <label>Figure 5</label>
          <caption>
            <p>Screenshots of the web-based interface user journey. A: Visualizing NHS services on a map of the United Kingdom; B: A closer view of London and its NHS services; C: The visualization of the sentiment, emotion and topic model analysis. A&#38;E: accident and emergency; NHS: National Health Service.</p>
          </caption>
          <graphic xlink:href="medinform_v10i4e29385_fig5.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
      </sec>
    </sec>
    <sec sec-type="discussion">
      <title>Discussion</title>
      <sec>
        <title>Principal Findings</title>
        <p>The outcomes of the study presented in this paper demonstrate that NLP-based analysis using sentiment analysis and topic modeling can be used to develop an automated solution for analyzing patient feedback and reviewing the performance of a health care center. The results of the sentiment analysis showed that patient feedback can be accurately classified into positive or negative sentiments and the topic modeling approach can be used to identify topics in a patient review. Furthermore, the identified topics were associated with a sentiment based on the results of the sentiment analysis. This study also presented an interface for stakeholders to view and interact with the outcomes of the patient feedback analysis.</p>
        <p>In this study, close to 52,000 reviews from 2030 services were considered for analysis over a period of 2 years. The average number of reviews per service was 26 (SD 60.3). This is indicative of a generally low level of patient engagement with providing service feedback. Furthermore, the number of reviews over time shows that patient review activities have seen a consistent downward trend.</p>
        <p>A larger corpus of patient reviews can significantly contribute to building analytical models with capabilities to perform more granular analyses such as individual service performance, areas of concern for a selected service, and similar fine-grained analyses. They improve the communication channel between patients and services, and incentives for patient engagement are necessary for increasing the average number of patient reviews and contributing to the development of improved assessment tools.</p>
        <p>The identification of a topic based on topic modeling is a useful tool as it helps in understanding the areas of performance and areas of concern for the NHS services. In this study, the most frequent topic was <italic>procedure and dealing with anxieties</italic> (2646/22,221, 11.91%), implying that undertaking a procedure might be an anxious process for patients, and the average sentiment score of 0.33 (SD 0.17; positive score) indicates that the patients are generally happy with the service and care provided by the NHS services.</p>
        <p>On the contrary, another frequently reviewed topic was <italic>booking appointments</italic> (2272/22,221, 10.22%; however, the associated average sentiment score of −0.03 (SD 0.18) implies that the patients might be unhappy with the current appointment booking service. Therefore, topic identification, along with the associated sentiment score, allows policy makers to use the learnings from areas of success and potentially apply them to areas of concern to improve patient satisfaction with the NHS services.</p>
        <p>The study presented demonstrates a multifactorial analysis that can be performed using topic modeling and sentiment analysis approaches. A large corpus helps in achieving temporal analysis of patient feedback, as demonstrated in <xref rid="figure2" ref-type="fig">Figures 2</xref>A-C. Such time-based analysis could shed light on identifying the point when the decline in an area of service occurred and the duration for which the service performed well or poorly. For instance, if the appointment booking service malfunctions frequently, and assuming patients review the appointment service, a temporal analysis could help understand the time and duration for which the service malfunctions and help the service providers diagnose the issue.</p>
        <p><xref rid="figure4" ref-type="fig">Figure 4</xref> illustrates the topic frequency distribution for different regions of NHS centers. It can be observed that topic frequency largely varies from region to region. However, there are some commonalities in the frequently reviewed topics. For instance, the topic of <italic>A&#38;E</italic> was most frequently reviewed across the regions. <italic>Procedure and dealing with anxieties</italic> was another frequently reviewed topic across regions. Region-based, frequently reviewed topics are a piece of beneficial information for policy makers to gain insights into the weak areas of NHS services for each region and, in general, across all regions.</p>
        <p>The combined approach of sentiment analysis of topics identified from topic modeling methods helps collect insightful information about health care services. In our study, the sentiment classification of each topic helped in assessing the public’s perception of the NHS services for a given topic, thus reflecting the service quality. With a large corpus of reviews, the sentiment analysis of identified topics over time can potentially explore the links between temporal factors, such as seasons, and patient experience for each topic. The results of this study demonstrate a decrease in sentiment during the winter. A more extensive and diverse data set of patient reviews has the potential to extract links between seasons and specific topics for further causal inferences to be made. For instance, a variation in sentiment scores for a topic across seasons can be analyzed for external causal factors such as influenza outbreaks, pandemics, staff shortages, technological hindrances, political changes, and similar outside factors.</p>
        <p>We note that there are limitations to this study; the first one was that we discounted reviews that did not include a dominant topic. This reduced the population size and ignored reviews that might provide valuable insight. Second, both sentiment analysis and topic modeling inevitably have misclassification errors, especially when the user reviews can be misspelled or have a double meaning (sarcasm). The third limitation is that the topics from the topic modeling are influenced by words that carry sentiment; this causes some topics to carry sentimental meaning, such as <italic>good staff</italic>, rather than just the topic itself. Although this did not affect the accuracy of the results, it could cause the topics to be less useful.</p>
        <p>Providing patient reviews in an easily inferable format through visualization tools to the public can foster competitiveness to improve among the NHS services. It is essential to provide analytical outcomes in an accessible format to general users to support patient autonomy and decision-making. The visualization tool developed in this study has the potential to rapidly and easily disseminate the findings of this study using maps and graph-based visual analytics. The visualization further enables users to view the feedback of an NHS service based on the key areas identified from the topics.</p>
      </sec>
      <sec>
        <title>Conclusions</title>
        <p>This study presents an automated system for the analysis of patient feedback based on NLP techniques and topic modeling. The DSR methodology was adopted for this study to conduct the patient feedback analysis in 3 iterations. In the first iteration, sentiment analysis of the patient feedback corpus was performed followed by a topic modeling–based analysis of the corpus. In the third iteration, the sentiment scores and topics identified were further analyzed to associate the sentiment scores with the topics identified and categorize the corpus into good and bad corpora. Furthermore, we provided a data visualization interface with potential use for policy makers and associated stakeholders to review the performance of health care centers individually as well as by regions and identify the possible causes behind the performance of a health care center. The future work of our study aims to collect and analyze larger patient feedback databases to build more accurate analytical models. We are exploring artificial intelligence–based NLP models to include them in our analysis.</p>
      </sec>
    </sec>
  </body>
  <back>
    <app-group>
      <supplementary-material id="app1">
        <label>Multimedia Appendix 1</label>
        <p>Latent Dirichlet allocation–generated topics with their sentiment score.</p>
        <media xlink:href="medinform_v10i4e29385_app1.docx" xlink:title="DOCX File , 18 KB"/>
      </supplementary-material>
      <supplementary-material id="app2">
        <label>Multimedia Appendix 2</label>
        <media xlink:href="medinform_v10i4e29385_app2.docx" xlink:title="DOCX File , 15 KB"/>
      </supplementary-material>
      <supplementary-material id="app3">
        <label>Multimedia Appendix 3</label>
        <p>Positive-sentiment topics (any review with a sentiment score &#62;+0.2).</p>
        <media xlink:href="medinform_v10i4e29385_app3.docx" xlink:title="DOCX File , 14 KB"/>
      </supplementary-material>
    </app-group>
    <glossary>
      <title>Abbreviations</title>
      <def-list>
        <def-item>
          <term id="abb1">API</term>
          <def>
            <p>application programming interface</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb2">CTM</term>
          <def>
            <p>correlated topic modeling</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb3">DSR</term>
          <def>
            <p>design science research</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb4">LDA</term>
          <def>
            <p>latent Dirichlet allocation</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb5">LSI</term>
          <def>
            <p>latent semantic indexing</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb6">NB</term>
          <def>
            <p>naïve Bayes</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb7">NHS</term>
          <def>
            <p>National Health Service</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb8">NLP</term>
          <def>
            <p>natural language processing</p>
          </def>
        </def-item>
      </def-list>
    </glossary>
    <fn-group>
      <fn fn-type="conflict">
        <p>None declared.</p>
      </fn>
    </fn-group>
    <ref-list>
      <ref id="ref1">
        <label>1</label>
        <nlm-citation citation-type="web">
          <article-title>Defining patient experience</article-title>
          <source>The Beryl Institute</source>
          <access-date>2022-03-16</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.theberylinstitute.org/page/DefiningPatientExp">https://www.theberylinstitute.org/page/DefiningPatientExp</ext-link>
          </comment>
        </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>Manary</surname>
              <given-names>MP</given-names>
            </name>
            <name name-style="western">
              <surname>Boulding</surname>
              <given-names>W</given-names>
            </name>
            <name name-style="western">
              <surname>Staelin</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Glickman</surname>
              <given-names>SW</given-names>
            </name>
          </person-group>
          <article-title>The patient experience and health outcomes</article-title>
          <source>N Engl J Med</source>
          <year>2013</year>
          <month>01</month>
          <day>17</day>
          <volume>368</volume>
          <issue>3</issue>
          <fpage>201</fpage>
          <lpage>3</lpage>
          <pub-id pub-id-type="doi">10.1056/NEJMp1211775</pub-id>
          <pub-id pub-id-type="medline">23268647</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref3">
        <label>3</label>
        <nlm-citation citation-type="web">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Coulter</surname>
              <given-names>A</given-names>
            </name>
          </person-group>
          <article-title>Leadership for patient engagement</article-title>
          <source>Kings Fund</source>
          <year>2012</year>
          <access-date>2022-03-08</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.kingsfund.org.uk/publications/leadership-engagement-for-improvement-nhs">https://www.kingsfund.org.uk/publications/leadership-engagement-for-improvement-nhs</ext-link>
          </comment>
        </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>Barello</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Graffigna</surname>
              <given-names>G</given-names>
            </name>
          </person-group>
          <article-title>Engaging patients to recover life projectuality: an Italian cross-disease framework</article-title>
          <source>Qual Life Res</source>
          <year>2015</year>
          <month>05</month>
          <day>6</day>
          <volume>24</volume>
          <issue>5</issue>
          <fpage>1087</fpage>
          <lpage>96</lpage>
          <pub-id pub-id-type="doi">10.1007/s11136-014-0846-x</pub-id>
          <pub-id pub-id-type="medline">25373927</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref5">
        <label>5</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Renedo</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Marston</surname>
              <given-names>C</given-names>
            </name>
          </person-group>
          <article-title>Healthcare professionals' representations of ‘patient and public involvement’ and creation of ‘public participant’ identities: Implications for the development of inclusive and bottom‐up community participation initiatives</article-title>
          <source>J Community Appl Soc Psychol</source>
          <year>2011</year>
          <month>04</month>
          <day>25</day>
          <volume>21</volume>
          <issue>3</issue>
          <fpage>268</fpage>
          <lpage>80</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://doi.org/10.1002/casp.1092"/>
          </comment>
          <pub-id pub-id-type="doi">10.1002/casp.1092</pub-id>
        </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>Doyle</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Lennox</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Bell</surname>
              <given-names>D</given-names>
            </name>
          </person-group>
          <article-title>A systematic review of evidence on the links between patient experience and clinical safety and effectiveness</article-title>
          <source>BMJ Open</source>
          <year>2013</year>
          <month>01</month>
          <day>03</day>
          <volume>3</volume>
          <issue>1</issue>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="http://bmjopen.bmj.com/cgi/pmidlookup?view=long&#38;pmid=23293244"/>
          </comment>
          <pub-id pub-id-type="doi">10.1136/bmjopen-2012-001570</pub-id>
          <pub-id pub-id-type="medline">23293244</pub-id>
          <pub-id pub-id-type="pii">bmjopen-2012-001570</pub-id>
          <pub-id pub-id-type="pmcid">PMC3549241</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref7">
        <label>7</label>
        <nlm-citation citation-type="web">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Dunderdale</surname>
              <given-names>K</given-names>
            </name>
          </person-group>
          <article-title>Patient experience improvement framework</article-title>
          <source>National Health Services</source>
          <year>2018</year>
          <access-date>2022-03-08</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.england.nhs.uk/publication/patient-experience-improvement-framework/">https://www.england.nhs.uk/publication/patient-experience-improvement-framework/</ext-link>
          </comment>
        </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>Gluyas</surname>
              <given-names>H</given-names>
            </name>
          </person-group>
          <article-title>Patient-centred care: improving healthcare outcomes</article-title>
          <source>Nurs Stand</source>
          <year>2015</year>
          <month>09</month>
          <day>23</day>
          <volume>30</volume>
          <issue>4</issue>
          <fpage>50</fpage>
          <lpage>9</lpage>
          <pub-id pub-id-type="doi">10.7748/ns.30.4.50.e10186</pub-id>
          <pub-id pub-id-type="medline">26394978</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>Davidson</surname>
              <given-names>KW</given-names>
            </name>
            <name name-style="western">
              <surname>Shaffer</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Ye</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Falzon</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Emeruwa</surname>
              <given-names>IO</given-names>
            </name>
            <name name-style="western">
              <surname>Sundquist</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Inneh</surname>
              <given-names>IA</given-names>
            </name>
            <name name-style="western">
              <surname>Mascitelli</surname>
              <given-names>SL</given-names>
            </name>
            <name name-style="western">
              <surname>Manzano</surname>
              <given-names>WM</given-names>
            </name>
            <name name-style="western">
              <surname>Vawdrey</surname>
              <given-names>DK</given-names>
            </name>
            <name name-style="western">
              <surname>Ting</surname>
              <given-names>HH</given-names>
            </name>
          </person-group>
          <article-title>Interventions to improve hospital patient satisfaction with healthcare providers and systems: a systematic review</article-title>
          <source>BMJ Qual Saf</source>
          <year>2017</year>
          <month>07</month>
          <day>03</day>
          <volume>26</volume>
          <issue>7</issue>
          <fpage>596</fpage>
          <lpage>606</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="http://europepmc.org/abstract/MED/27488124"/>
          </comment>
          <pub-id pub-id-type="doi">10.1136/bmjqs-2015-004758</pub-id>
          <pub-id pub-id-type="medline">27488124</pub-id>
          <pub-id pub-id-type="pii">bmjqs-2015-004758</pub-id>
          <pub-id pub-id-type="pmcid">PMC5290224</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>Gleeson</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Calderon</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Swami</surname>
              <given-names>V</given-names>
            </name>
            <name name-style="western">
              <surname>Deighton</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Wolpert</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Edbrooke-Childs</surname>
              <given-names>J</given-names>
            </name>
          </person-group>
          <article-title>Systematic review of approaches to using patient experience data for quality improvement in healthcare settings</article-title>
          <source>BMJ Open</source>
          <year>2016</year>
          <month>08</month>
          <day>16</day>
          <volume>6</volume>
          <issue>8</issue>
          <fpage>e011907</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://bmjopen.bmj.com/lookup/pmidlookup?view=long&#38;pmid=27531733"/>
          </comment>
          <pub-id pub-id-type="doi">10.1136/bmjopen-2016-011907</pub-id>
          <pub-id pub-id-type="medline">27531733</pub-id>
          <pub-id pub-id-type="pii">bmjopen-2016-011907</pub-id>
          <pub-id pub-id-type="pmcid">PMC5013495</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref11">
        <label>11</label>
        <nlm-citation citation-type="web">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Coulter</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Fitzpatrick</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Cornwell</surname>
              <given-names>J</given-names>
            </name>
          </person-group>
          <article-title>The point of care. Measures of patients' experience in hospital: purpose, methods and uses</article-title>
          <source>King's Fund</source>
          <year>2009</year>
          <access-date>2022-03-08</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.researchgate.net/publication/230687403_The_Point_of_Care_Measures_of_Patients'_Experience_in_Hospital_Purpose_Methods_and_Uses">https://www.researchgate.net/publication/230687403_The_Point_of_Care_Measures_of_Patients'_Experience_in_Hospital_Purpose_Methods_and_Uses</ext-link>
          </comment>
        </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>Beattie</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Murphy</surname>
              <given-names>DJ</given-names>
            </name>
            <name name-style="western">
              <surname>Atherton</surname>
              <given-names>I</given-names>
            </name>
            <name name-style="western">
              <surname>Lauder</surname>
              <given-names>W</given-names>
            </name>
          </person-group>
          <article-title>Instruments to measure patient experience of healthcare quality in hospitals: a systematic review</article-title>
          <source>Syst Rev</source>
          <year>2015</year>
          <month>07</month>
          <day>23</day>
          <volume>4</volume>
          <issue>1</issue>
          <fpage>97</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://systematicreviewsjournal.biomedcentral.com/articles/10.1186/s13643-015-0089-0"/>
          </comment>
          <pub-id pub-id-type="doi">10.1186/s13643-015-0089-0</pub-id>
          <pub-id pub-id-type="medline">26202326</pub-id>
          <pub-id pub-id-type="pii">10.1186/s13643-015-0089-0</pub-id>
          <pub-id pub-id-type="pmcid">PMC4511995</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref13">
        <label>13</label>
        <nlm-citation citation-type="web">
          <article-title>Managing patient feedback</article-title>
          <source>National Health Services</source>
          <access-date>2022-03-08</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.nhs.uk/about-us/managing-patient-feedback/">https://www.nhs.uk/about-us/managing-patient-feedback/</ext-link>
          </comment>
        </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>Siegrist</surname>
              <given-names>RB</given-names>
            </name>
          </person-group>
          <article-title>Patient satisfaction: history, myths, and misperceptions</article-title>
          <source>Virtual Mentor</source>
          <year>2013</year>
          <month>11</month>
          <day>01</day>
          <volume>15</volume>
          <issue>11</issue>
          <fpage>982</fpage>
          <lpage>7</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://journalofethics.ama-assn.org/article/patient-satisfaction-history-myths-and-misperceptions/2013-11"/>
          </comment>
          <pub-id pub-id-type="doi">10.1001/virtualmentor.2013.15.11.mhst1-1311</pub-id>
          <pub-id pub-id-type="medline">24257092</pub-id>
          <pub-id pub-id-type="pii">virtualmentor.2013.15.11.mhst1-1311</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref15">
        <label>15</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Greaves</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Pape</surname>
              <given-names>UJ</given-names>
            </name>
            <name name-style="western">
              <surname>King</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Darzi</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Majeed</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Wachter</surname>
              <given-names>RM</given-names>
            </name>
            <name name-style="western">
              <surname>Millett</surname>
              <given-names>C</given-names>
            </name>
          </person-group>
          <article-title>Associations between web-based patient ratings and objective measures of hospital quality</article-title>
          <source>Arch Intern Med</source>
          <year>2012</year>
          <month>03</month>
          <day>12</day>
          <volume>172</volume>
          <issue>5</issue>
          <fpage>435</fpage>
          <lpage>6</lpage>
          <pub-id pub-id-type="doi">10.1001/archinternmed.2011.1675</pub-id>
          <pub-id pub-id-type="medline">22331980</pub-id>
          <pub-id pub-id-type="pii">archinternmed.2011.1675</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref16">
        <label>16</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Bahja</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Lycett</surname>
              <given-names>M</given-names>
            </name>
          </person-group>
          <article-title>Identifying patient experience from online resources via sentiment analysis and topic modelling</article-title>
          <source>Proceedings of the 3rd IEEE/ACM International Conference on Big Data Computing, Applications and Technologies</source>
          <year>2016</year>
          <conf-name>UCC '16: 9th International Conference on Utility and Cloud Computing</conf-name>
          <conf-date>December 6 - 9, 2016</conf-date>
          <conf-loc>Shanghai China</conf-loc>
          <fpage>94</fpage>
          <lpage>9</lpage>
          <pub-id pub-id-type="doi">10.1145/3006299.3006335</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref17">
        <label>17</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Bahja</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Razaak</surname>
              <given-names>M</given-names>
            </name>
          </person-group>
          <article-title>Automated analysis of patient experience text mining using a design science research (DSR) approach</article-title>
          <source>Proceedings of the BUSTECH 2018: The Eighth International Conference on Business Intelligence and Technology</source>
          <year>2018</year>
          <conf-name>BUSTECH 2018: The Eighth International Conference on Business Intelligence and Technology</conf-name>
          <conf-date>February 18 - 22, 2018</conf-date>
          <conf-loc>Barcelona, Spain</conf-loc>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://thinkmind.org/index.php?view=article&#38;articleid=bustech_2018_2_10_98002"/>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref18">
        <label>18</label>
        <nlm-citation citation-type="web">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Peffers</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Tuunanen</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Gengler</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Rossi</surname>
              <given-names>M</given-names>
            </name>
          </person-group>
          <article-title>The design science research process: a model for producing and presenting information systems research</article-title>
          <source>ResearchGate</source>
          <year>2006</year>
          <access-date>2022-03-08</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.researchgate.net/publication/238077290_The_design_science_research_process_a_model_for_producing_and_presenting_information_systems_research">https://www.researchgate.net/publication/238077290_The_design_science_research_process_a_model_for_producing_and_presenting_information_systems_research</ext-link>
          </comment>
        </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>Gregor</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Hevner</surname>
              <given-names>AR</given-names>
            </name>
          </person-group>
          <article-title>Positioning and presenting design science research for maximum impact</article-title>
          <source>MIS Q</source>
          <year>2013</year>
          <month>2</month>
          <day>2</day>
          <volume>37</volume>
          <issue>2</issue>
          <fpage>337</fpage>
          <lpage>55</lpage>
          <pub-id pub-id-type="doi">10.25300/misq/2013/37.2.01</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref20">
        <label>20</label>
        <nlm-citation citation-type="web">
          <article-title>Ratings and reviews API</article-title>
          <source>NHS APIs</source>
          <access-date>2022-03-08</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://developer.api.nhs.uk/nhs-api/documentation/comments">https://developer.api.nhs.uk/nhs-api/documentation/comments</ext-link>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref21">
        <label>21</label>
        <nlm-citation citation-type="web">
          <article-title>NHS website syndicated content: standard licence terms</article-title>
          <source>National Health Services</source>
          <access-date>2022-08-03</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://apimgmtst3acoupair9misya.blob.core.windows.net/content/MediaLibrary/Terms/NHS-website-syndication-terms.pdf">https://apimgmtst3acoupair9misya.blob.core.windows.net/content/MediaLibrary/Terms/NHS-website-syndication-terms.pdf</ext-link>
          </comment>
        </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>Feldman</surname>
              <given-names>R</given-names>
            </name>
          </person-group>
          <article-title>Techniques and applications for sentiment analysis</article-title>
          <source>Commun ACM</source>
          <year>2013</year>
          <month>04</month>
          <volume>56</volume>
          <issue>4</issue>
          <fpage>82</fpage>
          <lpage>9</lpage>
          <pub-id pub-id-type="doi">10.1145/2436256.2436274</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref23">
        <label>23</label>
        <nlm-citation citation-type="web">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Feinerer</surname>
              <given-names>I</given-names>
            </name>
          </person-group>
          <article-title>A text mining framework in R and its applications</article-title>
          <source>ResearchGate</source>
          <year>2008</year>
          <access-date>2022-03-08</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://www.researchgate.net/publication/277070985_A_text_mining_framework_in_R_and_its_applications">https://www.researchgate.net/publication/277070985_A_text_mining_framework_in_R_and_its_applications</ext-link>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref24">
        <label>24</label>
        <nlm-citation citation-type="web">
          <article-title>Advanced usage: overriding models and the Blobber Class</article-title>
          <source>TextBlob</source>
          <access-date>2022-03-08</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://textblob.readthedocs.io/en/dev/advanced_usage.html#sentiment-analyzers">https://textblob.readthedocs.io/en/dev/advanced_usage.html#sentiment-analyzers</ext-link>
          </comment>
        </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>D'Andrea</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Ferri</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Grifoni</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Guzzo</surname>
              <given-names>T</given-names>
            </name>
          </person-group>
          <article-title>Approaches, tools and applications for sentiment analysis implementation</article-title>
          <source>Int J Comput Appl</source>
          <year>2015</year>
          <month>09</month>
          <day>17</day>
          <volume>125</volume>
          <issue>3</issue>
          <fpage>26</fpage>
          <lpage>33</lpage>
          <pub-id pub-id-type="doi">10.5120/ijca2015905866</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref26">
        <label>26</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Su</surname>
              <given-names>Q</given-names>
            </name>
            <name name-style="western">
              <surname>Xiang</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Wang</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Sun</surname>
              <given-names>B</given-names>
            </name>
            <name name-style="western">
              <surname>Yu</surname>
              <given-names>S</given-names>
            </name>
          </person-group>
          <article-title>Using pointwise mutual information to identify implicit features in customer reviews</article-title>
          <source>Proceedings of the International Conference on Computer Processing of Oriental Languages</source>
          <year>2006</year>
          <conf-name>International Conference on Computer Processing of Oriental Languages</conf-name>
          <conf-date>December 17-19, 2006</conf-date>
          <conf-loc>Singapore</conf-loc>
          <pub-id pub-id-type="doi">10.1007/11940098_3</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref27">
        <label>27</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Boushaki</surname>
              <given-names>SI</given-names>
            </name>
            <name name-style="western">
              <surname>Kamel</surname>
              <given-names>N</given-names>
            </name>
            <name name-style="western">
              <surname>Bendjeghaba</surname>
              <given-names>O</given-names>
            </name>
          </person-group>
          <article-title>High-dimensional text datasets clustering algorithm based on Cuckoo search and latent semantic indexing</article-title>
          <source>J Info Know Manag</source>
          <year>2018</year>
          <month>10</month>
          <day>02</day>
          <volume>17</volume>
          <issue>03</issue>
          <fpage>1850033</fpage>
          <pub-id pub-id-type="doi">10.1142/s0219649218500338</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>Blei</surname>
              <given-names>DM</given-names>
            </name>
            <name name-style="western">
              <surname>Lafferty</surname>
              <given-names>JD</given-names>
            </name>
          </person-group>
          <article-title>A correlated topic model of science</article-title>
          <source>Ann Appl Stat</source>
          <year>2007</year>
          <month>6</month>
          <day>1</day>
          <volume>1</volume>
          <issue>1</issue>
          <fpage>17</fpage>
          <lpage>35</lpage>
          <pub-id pub-id-type="doi">10.1214/07-aoas114</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref29">
        <label>29</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>He</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Hu</surname>
              <given-names>Z</given-names>
            </name>
            <name name-style="western">
              <surname>Berg-Kirkpatrick</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Huang</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Xing</surname>
              <given-names>EP</given-names>
            </name>
          </person-group>
          <article-title>Efficient correlated topic modeling with topic embedding</article-title>
          <source>Proceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining</source>
          <year>2017</year>
          <conf-name>KDD '17: The 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining</conf-name>
          <conf-date>August 13 - 17, 2017</conf-date>
          <conf-loc>Halifax NS Canada</conf-loc>
          <fpage>225</fpage>
          <lpage>33</lpage>
          <pub-id pub-id-type="doi">10.1145/3097983.3098074</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref30">
        <label>30</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Jelodar</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Wang</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Yuan</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Feng</surname>
              <given-names>X</given-names>
            </name>
            <name name-style="western">
              <surname>Jiang</surname>
              <given-names>X</given-names>
            </name>
            <name name-style="western">
              <surname>Li</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Zhao</surname>
              <given-names>L</given-names>
            </name>
          </person-group>
          <article-title>Latent Dirichlet allocation (LDA) and topic modeling: models, applications, a survey</article-title>
          <source>Multimed Tools Appl</source>
          <year>2018</year>
          <month>11</month>
          <day>28</day>
          <volume>78</volume>
          <issue>11</issue>
          <fpage>15169</fpage>
          <lpage>211</lpage>
          <pub-id pub-id-type="doi">10.1007/s11042-018-6894-4</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref31">
        <label>31</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Arun</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Suresh</surname>
              <given-names>V</given-names>
            </name>
            <name name-style="western">
              <surname>Madhavan</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Murthy</surname>
              <given-names>M</given-names>
            </name>
          </person-group>
          <article-title>On finding the natural number of topics with latent dirichlet allocation: some observations</article-title>
          <source>Proceedings of the Pacific-Asia Conference on Knowledge Discovery and Data Mining</source>
          <year>2010</year>
          <conf-name>Pacific-Asia Conference on Knowledge Discovery and Data Mining</conf-name>
          <conf-date>June 21-24, 2010</conf-date>
          <conf-loc>Hyderabad, India</conf-loc>
          <pub-id pub-id-type="doi">10.1007/978-3-642-13657-3_43</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref32">
        <label>32</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Blei</surname>
              <given-names>DM</given-names>
            </name>
            <name name-style="western">
              <surname>Ng</surname>
              <given-names>AY</given-names>
            </name>
            <name name-style="western">
              <surname>Jordan</surname>
              <given-names>MI</given-names>
            </name>
          </person-group>
          <article-title>Latent dirichlet allocation</article-title>
          <source>J Mach Learn Res</source>
          <year>2003</year>
          <volume>3</volume>
          <fpage>993</fpage>
          <lpage>1022</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://jmlr.org/papers/volume3/blei03a/blei03a.pdf"/>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref33">
        <label>33</label>
        <nlm-citation citation-type="web">
          <article-title>Topic modeling</article-title>
          <source>Machine Learning for Language Toolkit</source>
          <access-date>2020-12-01</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="http://mallet.cs.umass.edu/topics.php">http://mallet.cs.umass.edu/topics.php</ext-link>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref34">
        <label>34</label>
        <nlm-citation citation-type="web">
          <article-title>Phrase (collocation) detection</article-title>
          <source>Gensim</source>
          <access-date>2019-09-06</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://radimrehurek.com/gensim/models/phrases.html">https://radimrehurek.com/gensim/models/phrases.html</ext-link>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref35">
        <label>35</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Röder</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Both</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Hinneburg</surname>
              <given-names>A</given-names>
            </name>
          </person-group>
          <article-title>Exploring the space of topic coherence measures</article-title>
          <source>Proceedings of the Eighth ACM International Conference on Web Search and Data Mining</source>
          <year>2015</year>
          <conf-name>WSDM 2015: Eighth ACM International Conference on Web Search and Data Mining</conf-name>
          <conf-date>February 2 - 6, 2015</conf-date>
          <conf-loc>Shanghai China</conf-loc>
          <fpage>399</fpage>
          <lpage>408</lpage>
          <pub-id pub-id-type="doi">10.1145/2684822.2685324</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref36">
        <label>36</label>
        <nlm-citation citation-type="web">
          <article-title>Overview of Azure Cloud Services (classic)</article-title>
          <source>Microsoft</source>
          <year>2021</year>
          <access-date>2020-01-07</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://docs.microsoft.com/en-us/azure/cloud-services/cloud-services-choose-me">https://docs.microsoft.com/en-us/azure/cloud-services/cloud-services-choose-me</ext-link>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref37">
        <label>37</label>
        <nlm-citation citation-type="web">
          <source>Node.js</source>
          <access-date>2022-03-08</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://nodejs.org/en/">https://nodejs.org/en/</ext-link>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref38">
        <label>38</label>
        <nlm-citation citation-type="web">
          <source>Vue.js: The Progressive JavaScript Framework</source>
          <access-date>2022-03-08</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://vuejs.org/">https://vuejs.org/</ext-link>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref39">
        <label>39</label>
        <nlm-citation citation-type="web">
          <article-title>Google Maps Platform</article-title>
          <source>Google</source>
          <access-date>2020-07-01</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://developers.google.com/maps">https://developers.google.com/maps</ext-link>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref40">
        <label>40</label>
        <nlm-citation citation-type="web">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Juszczak</surname>
              <given-names>J</given-names>
            </name>
          </person-group>
          <source>vue-chartjs</source>
          <access-date>2022-03-08</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://vue-chartjs.org/">https://vue-chartjs.org/</ext-link>
          </comment>
        </nlm-citation>
      </ref>
    </ref-list>
  </back>
</article>
