<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>A Web-based Tool for Communication Flow Analysis of Online Chats</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>H. Ulrich Hoppe</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Christopher Charles</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Tilman Göhnert</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>University of Duisburg-Essen Lotharstr.</institution>
          <addr-line>63/65 47048 Duisburg</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>GOALS AND PREMISES Chat as a communication medium has its own characteristics that need to be considered, especially regarding turn taking and interactional coherence. Following suggestions by Suthers et al. [8; 9], operational rules are used as a basis to detect general dependencies or “contingencies”. Indicators may use lexicalsemantic features but also time lapses between contributions play a crucial role in determining which utterances are to be linked with each other. This paper introduces a web-based system that automatically analyzes text chat logs for dependencies between posts and constructs a contingency graph from it. This graph is then used to further analyze the communication flow in the underlying text chat.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Our approach reconstructs and extends the above mentioned
approach of “contingency analysis”: First, the approach is refined
by incorporating the concept of dialogue act tagging [6; 11] to
enrich the basic set of indicators and to exploit existing
techniques of linguistic processing. Second, in order to analyze
the information flow in the graph, methods such as main path
analysis (MPA) [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] enriched by information gathered from the
web search algorithms PageRank [
        <xref ref-type="bibr" rid="ref6">7</xref>
        ] and HITS [4] are applied.
While the latter two have been used frequently outside of their
original domain, MPA has not been applied to chat networks
before.
      </p>
    </sec>
    <sec id="sec-2">
      <title>IMPLEMENTATION</title>
      <p>
        The implementation uses a network analytics workbench that
combines a web-interface for easily defining analysis workflows
using a visual language with a multi-agent system as the
computational backend [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. The communication platform is based
on SQLSpaces [
        <xref ref-type="bibr" rid="ref9">10</xref>
        ] and implements a blackboard architecture,
mediating between the user interface, the computational backend,
and the analysis agents. The underlying communication protocol
is based on exchanging information through tuples placed on the
blackboard (i.e., an SQLSpace). Each analysis step is performed
by an individual agent. This architecture allows for an easy
extension of the workbench by adding further processing agents
that can be programmed in several different languages, including
Java, R, Python, and Prolog.
      </p>
      <p>
        In previous applications the workbench had already been used to
analyze the evolution of knowledge in wiki environments [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] by
incorporating “main path analysis” [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] as an analytic method. In
order to analyze chat logs, a number of additional agents have
been added. Among these are the Chat-ECGBuilder agent, which
constructs the extended contingency graph (ECG) based on a chat
log, the Chat-PageRank agent, which applies a page rank
calculation to an ECG, the Chat-MainPathAnalysis agent for
performing a main path analysis on an ECG, and the
ChatVisualization agent, which gives a visual representation of an
ECG and of analysis results connected to that ECG. As a
programming language for these agents Python was used together
with the NLTK library1, which allows natural language
processing. Furthermore, the igraph network analysis library2 was
used for analyzing and visualizing graphs. Figure 1 shows an
example workflow that is based on the modules described above.
      </p>
    </sec>
    <sec id="sec-3">
      <title>EMPIRICAL RESULTS</title>
      <p>
        So far, the automatically generated ECGs were compared to
manually constructed graphs using results reported in [
        <xref ref-type="bibr" rid="ref7">8</xref>
        ] as a
reference. This comparison yielded an F-score based similarity of
83 percent compared to a 97 percent F-score similarity between
two manually generated graphs. Although this leaves room for
improvement, the similarity values show that the automatically
generated ECGs agree to a reasonable degree with contingencies
detected by humans. This is further backed up by the
internetwork comparison, where the majority of metrics show highly
positive correlations for the different graphs based on the same
chat log. Looking at the inter-network correlations between the
individual metrics, it becomes clear that the rankings have
different informative values based on their concepts of
unidirectional influence (PageRank and input domain),
bidirectional centrality (main paths) and mutual enforcement
between two classes of nodes (hubs and authorities).
      </p>
    </sec>
    <sec id="sec-4">
      <title>THE VISUAL REPRESENTATION OF</title>
    </sec>
    <sec id="sec-5">
      <title>WORKFLOWS</title>
      <p>Our workbench facilitates the interactive construction of analysis
workflows in a kind of visual programming approach: The
“analyst” users may pull together data sources, processing units
(“filters”), and export modules for visual rendering or download
to form a workflow. Workflows can be shared between analysts
and can be re-used with different data sets and/or modified. We
believe that the level of visual representation of these workflows
also provides an adequate reference for discussing the underlying
processing schemes without entering into too much technical
detail.</p>
      <sec id="sec-5-1">
        <title>1 http://nltk.org/</title>
      </sec>
      <sec id="sec-5-2">
        <title>2 http://igraph.sourceforge.net/</title>
        <p>Figure 1 shows a workflow in which six different agents are used.
In this example the first agent loads a chat log and relays it to a
second agent. Here the log is transformed into an ECG. The third
component uses that graph to perform a main path analysis. In the
next step the page rank of each node is calculated. The final
results are then visualized in another component and made
available to the user.</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>SUMMARY AND OUTLOOK</title>
      <p>
        The current version’s rules for detecting contingencies try to form
a balance between sophistication and simplicity. Typing mistakes
are quite common in text chats, yet they are not corrected.
Additionally, in order to measure similarity between posts only a
removal of stop words and a stemmer are applied. Further
lemmatization, e.g. by WordNet [
        <xref ref-type="bibr" rid="ref4">5</xref>
        ], might improve the detection
of semantic cohesion, yet could also increase the risk of
erroneously detected contingencies. In order to avoid such false
contingencies, simplicity was chosen over sophistication in this
case.
      </p>
      <p>As workflows in the analysis workbench are based on a modular
concept and the technical platform supports adding additional
features to it easily, variations of workflows are encouraged. The
workflow presented here could be modified by adding new input
components (e.g. for newsgroup dumps), analysis components
(e.g. for pattern detection), or new output components (e.g.
alternative visualizations, reports or graph formats).</p>
      <p>In future works linguistic features such as coreference resolution
could help detecting and filtering existing contingencies. So far
text chats without any explicit threading information have been
analyzed. However, it could be interesting to incorporate user
generated threading information such as it is given in forums or
newsgroups. In these systems it is often only allowed to explicitly
reference one other message, but by using lexical coherence,
author name referencing and syntactical patterns, further
dependencies might be detected.</p>
      <p>Kleinberg, J. M. 1999. Authoritative sources in a
hyperlinked environment. Journal of the ACM,
46(5):604632.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Göhnert</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Harrer</surname>
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hecking</surname>
            <given-names>T.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Hoppe</surname>
            <given-names>H. U.</given-names>
          </string-name>
          <year>2013</year>
          .
          <article-title>A Workbench to Construct and Re-use Network Analysis Workflows - Concept</article-title>
          , Implementation, and
          <string-name>
            <given-names>Example</given-names>
            <surname>Case</surname>
          </string-name>
          .
          <source>The 2013 IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining (ASONAM</source>
          <year>2013</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Halatchliyski</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hecking</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Göhnert</surname>
          </string-name>
          . T., and
          <string-name>
            <surname>Hoppe</surname>
            ,
            <given-names>H. U.</given-names>
          </string-name>
          <year>2013</year>
          .
          <article-title>Analyzing the flow of ideas and profiles of contributors in an open learning community</article-title>
          .
          <source>In Proceedings of the Third International Conference on Learning Analytics and Knowledge (LAK '13)</source>
          . ACM, New York, NY,
          <fpage>66</fpage>
          -
          <lpage>74</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>Hummon</surname>
            ,
            <given-names>N. P.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Doreian</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <year>1989</year>
          .
          <article-title>Connectivity in a citation network: The development of DNA theory</article-title>
          .
          <source>Social Networks</source>
          ,
          <volume>11</volume>
          :
          <fpage>39</fpage>
          -
          <lpage>63</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [5]
          <string-name>
            <surname>Miller</surname>
            ,
            <given-names>G. A.</given-names>
          </string-name>
          <year>1995</year>
          .
          <article-title>Wordnet: a lexical database for English</article-title>
          .
          <source>Communications of the ACM</source>
          ,
          <volume>38</volume>
          (
          <issue>11</issue>
          ):
          <fpage>39</fpage>
          -
          <lpage>41</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [6]
          <string-name>
            <surname>Stolcke</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ries</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Coccaro</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shriberg</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bates</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jurafsky</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Taylor</surname>
          </string-name>
          , P.,
          <string-name>
            <surname>Martin</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ess-Dykema</surname>
            ,
            <given-names>C. V.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Meteer</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <year>2000</year>
          .
          <article-title>Dialogue act modeling for automatic tagging and recognition of conversational speech</article-title>
          .
          <source>Computational Linguistics</source>
          ,
          <volume>26</volume>
          :
          <fpage>339</fpage>
          -
          <lpage>373</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Page</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Brin</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Motwani</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Winograd</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          <year>1998</year>
          .
          <article-title>The PageRank citation ranking: Bringing order to the web</article-title>
          .
          <source>Technical report, Stanford Digital Library Technologies Project</source>
          , Stanford Unversity, Stanford, CA, USA.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [8]
          <string-name>
            <surname>Suthers</surname>
            ,
            <given-names>D. D.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Desiato</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          <year>2012</year>
          .
          <article-title>Exposing chat features through analysis of uptake between contributions</article-title>
          .
          <source>In Proceedings of HICSS 2012. IEEE Computer Society</source>
          ,
          <fpage>3368</fpage>
          -
          <lpage>3377</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [9]
          <string-name>
            <surname>Suthers</surname>
            ,
            <given-names>D. D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dwyer</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Medina</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Vatraou</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          <year>2010</year>
          .
          <article-title>A framework for conceptualizing, representing, and analyzing distributed interaction</article-title>
          .
          <source>Int. Journal of ComputerSupported Collaborative Learning</source>
          ,
          <volume>5</volume>
          (
          <issue>1</issue>
          ):
          <fpage>5</fpage>
          -
          <lpage>42</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Weinbrenner</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <year>2012</year>
          .
          <article-title>SQLSpaces - a platform for flexible language-heterogeneous multi-agent systems</article-title>
          . Dr. Hut.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [11]
          <string-name>
            <surname>Wu</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Khan</surname>
          </string-name>
          ,
          <string-name>
            <surname>F.</surname>
          </string-name>
          , A. Fisher, T.,
          <string-name>
            <given-names>A.</given-names>
            <surname>Shuler</surname>
          </string-name>
          ,
          <string-name>
            <surname>L.</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Pottenger</surname>
          </string-name>
          ,
          <string-name>
            <surname>W.</surname>
          </string-name>
          <year>2005</year>
          .
          <article-title>Posting act tagging using transformation-based learning</article-title>
          .
          <source>Foundations of Data Mining and Knowledge Discovery</source>
          ,
          <volume>6</volume>
          :
          <fpage>319</fpage>
          -
          <lpage>331</lpage>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>