<!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>Towards Next Generation, Free &amp; Open-Source, Argument Analysis Tools</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>John Douglas</string-name>
          <email>john@johndouglas.co</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Argument Analysis, Open Source Tools, Argument Visualisa-</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Simon Wells</string-name>
          <email>s.wells@napier.ac.uk</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Edinburgh Napier University</institution>
          ,
          <addr-line>Merchiston Campus, Ediburgh EH10 5DT</addr-line>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>tion</institution>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2017</year>
      </pub-date>
      <fpage>50</fpage>
      <lpage>53</lpage>
      <abstract>
        <p>We introduce a new, free, open-source, web-based argument analysis tool called Monkeypuzzle. This is designed to provide both a foundation for creating and visualising reproducible argument analyses as well as a flexible framework for investigating new and extending existing argument analysis techniques.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>CCS CONCEPTS</title>
      <p>• Computing methodologies → Discourse, dialogue
and pragmatics; Nonmonotonic, default reasoning and
belief revision; • Information systems → Web interfaces;</p>
    </sec>
    <sec id="sec-2">
      <title>INTRODUCTION</title>
      <p>
        Monkeypuzzle is a web-based tool, following an open
development model, with a focus on pure argument analysis, support
for flexible deployment, and rapid innovation with respect
to both argument analysis and visualisation techniques. A
range of newer features have been developed that go beyond
the extant tools to address some shortcomings and to
support the needs of changing analytical endeavors. The initial
feature set has been spurred by ongoing work to develop the
Sustainable Transport Communications Dataset (STCD1)
[
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], an e↵ ort to develop a large-scale, high quality analysis of
arguments used within sustainable transport communication
for behaviour change. During these e↵ orts it became
apparent that a modern, free, and open-source argument analysis
tool was required that could meet the needs of contemporary
argument analysts, based upon an open development and
deployment model that could sustain rapid, demand-driven
innovation.
      </p>
    </sec>
    <sec id="sec-3">
      <title>WORK</title>
      <p>
        There have been a range of argument analysis tools published
over the years including Araucaria[
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], Rationale2, Ova/Ova+3,
as well as tools that have supported aspects of argument
      </p>
      <sec id="sec-3-1">
        <title>1https://github.com/ADAPT-project/STCD 2http://www.reasoninglab.com/ 3http://ova.arg-tech.org/</title>
        <p>
          analysis within more complex workflows, for example
Debategraph4 amongst many others. See [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ] for a bibliography
of argument diagramming tools. Monkeypuzzle has been
inspired by this rich heritage of past argument analysis tools,
indeed it’s name is an homage to the common name of the
Araucaria tree. Monkeypuzzle adopts those elements that are
both familiar and useful from existing tools, such as the two
pane, source text pane and analysis canvas pane, UI pattern
introduced with Araucaria [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ]. The specific boxes and arrows
visualisation is a variation on the de facto Argument
Interchange Format (AIF) [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ] layout found in the OVA/OVA+
tool, utilising circles to depict I -Nodes and diamonds to
depict S -Nodes.
3
        </p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>MONKEYPUZZLE</title>
      <p>Monkeypuzzle is a free, open source, browser-based argument
analysis tool that has the following features:
(1) Complete source-code available under a permissive
license - Full source code is available from the ARG@ENU
GitHub project repository5 under the GPL3 license6.
The importance of this is twofold. Primarily, users
can build the app into their workflow without risk
that it subsequently either becomes unavailable or
only available under a restrictive or expensive license.
Secondarily, because the source is available, users
can host their own instances and enhance the app
to include features that fit their own research goals;
Monkeypuzzle thus becomes a platform not only
for research but also for experimentation with new
argument analysis and visualisation techniques.
(2) Multiple deployment options - The primary mode
of interaction with the app is via the hosted
deployment7 however the app is not server dependent and
two o✏ ine forms are supported. The app can be run
from a local filesystem by loading the index.html file
into a browser. An o✏ ine version is also supported
so that the app is cached in the users browser and
reloads from there when the user navigates to the
app’s URL, even if the user is o✏ ine.
(3) Simultaneous analysis of multiple source texts - This
is the main innovation within the Monkeypuzzle
user interface. Multiple source texts, currently set</p>
      <sec id="sec-4-1">
        <title>4http://debategraph.org 5https://github.com/ARG-ENU/monkeypuzzle web 6https://www.gnu.org/licenses/gpl-3.0.en.html 7http://arg.napier.ac.uk/monkeypuzzle/</title>
        <p>
          to an arbitrary maximum of ten, can be loaded into
individual tabs on the text panel and a single analysis
made within the visualisation panel. This enables a
domain analysis to be created from multiple resources
something that is di cult to do with other tools.
(4) Support for canonical representations of text nodes
When analysing multiple source texts and attempting
to create a single, large domain analysis rather than a
series of individual analyses, variations in voice,
writing styles, complexity of language, and completeness
of utterance can reduce the coherency and fluidity
of the resulting dataset. The app supports editing of
node text into a canonical form whilst also saving
the original expressions. This enables higher
quality, curated argument datasets to be constructed.
This is particularly important as argument research
foci move from straightforward argument analyses
towards reuse of the resultant datasets, for example,
in natural language generation tools or to support
exploration of contentious knowledge domains.
(5) Serialisation to a simple JSON format - The needs of
the tool are driving development of a simple, native,
JSON-based file format for saving and loading
analyses. The aim is to identify new, useful criteria that
can be used to support extension and improvement
of the AIF. Whilst support for the AIF is on the
project’s roadmap, it was decided that a more
appropriate starting point would be to rapidly account
for the various kinds of metadata that the STCD
analysis work is uncovering. User research during
our development has shown that many researchers
who are performing argument analysis desire the
ability to make ad hoc collections of metadata, as
demanded by their data, and suggest that current
tools frustrate this desire.
(6) Export to graphics formats - Visualisations can be
saved for reuse in other contexts using the Portable
Network Graphics (PNG) and Scalable Vector
Graphics (SVG) formats.
(7) Support for hierarchically organised Argumentation
Schemes - Walton and Macagno propose a
hierarchical organisation of Argumentation Schemes [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ] which
is implemented within the app. This gives structure
to the user and aids in the selection of a scheme to
assign to an argument, rather than choosing from
a long list, organised only by scheme set, a user is
able to select a scheme from a range of categories
to drill down to an appropriate scheme. The goal is
to make it easier to select a scheme to characterise
an argument by so that more argument analyses
contain comprehensive scheme analyses rather than
extensive use of the “default” scheme.
        </p>
        <p>Bootstrapping a new argument analysis tool to this point has
taken significant e↵ ort. Much of the existing work has been
preliminary sca↵ olding to enable the future implementation,
integration, exploration, and maintenance of both new and
2
refined analysis procedures. The authors do not intend to
suggest that the current application is particularly innovative;
beyond the bringing together of a core selection of proven
argument analysis techniques in anticipation of a growing
community of developers who might take the app in directions
contrary to those mapped out in the remainder of this paper.
4</p>
        <p>CONCLUSIONS &amp; FUTURE WORK
The full roadmap is detailed online8 and the project is
under active development. Immediate development goals are
as follows: to exploit the use of a tested, reliable, and
scalable Javascript graph layout library, such as d3.js9 or
cytoscape.js10, so that argument graphs can be automatically
rendered to the screen, minimising the need for users to
manually adjust the placement of nodes. Additionally we
aim to support mapping of selections from disparate source
texts onto the same analysis nodes, e↵ ectively merging nodes
that have the same meaning but di↵ erent natural language
expressions, especially where these have originated from
different resources. The aim here is to support the development
of large, high quality, and integrated argument maps and
corpora across domains rather than being restricted only to
the analysis of a single given source at a time. The resource
pane, although currently restricted to textual resources, will
eventually support analysis of arguments from a variety of
file types, for example, parsing web-pages (HTML), Portable
Document Format (PDF), video, and audio files, to enable
multi-modal argument analysis.</p>
        <p>
          Three areas of active research that we are pursuing are,
firstly, the integration of modified versions of storymaps that
incorporate argument structure, secondly, support for e↵
ective dialogue analysis, and thridly, support for visualisation at
scale. Storymaps are Geographic Information Systems (GIS)
that integrate cartographic maps, geospatial data, and
narrative driven content. In 2012, ESRI, a developer of GIS and
spatial analytics software, introduced storymaps and went
on to win awards for Best Digital Map Product and Best
Overall Map Product from the International Map Industry
Association. Storymaps have since been used to good e↵ ect
in many journalistic contexts and many nice examples can be
viewed at the Storymaps website11 however an area that has
not been exploited is the combination of argumentative data
and metadata with specific locations and journeys so that
arguments can be visualised in the context of the geographic
locations that they relate to. We believe that this could prove
to be a useful new dimension in the context of how legal
argument, particularly witness testimony, is explored and
visualised. Dialogue analysis has not been well supported by
the open-source argument analysis tools but the links between
argument and dialogue have been recognised for many years,
having been explored by O’Keefe [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ] in terms of Argument1
and Argument2, or argument as process and argument as
product, but also more recently in dialogical extensions to
8https://github.com/ARG-ENU/monkeypuzzle web/issues
9https://d3js.org/
10http://js.cytoscape.org/
11https://storymaps.arcgis.com/en/
the AIF [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ] which operationalises the co-construction of
argument as a product of dialogue. One approach might be
to enable dialogues to be annotated according to the rules
of established dialectical games [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ] and for the
argumentative content licensed by the moves within the dialogue,
for example statement!challenge!defense sequences, to be
extracted into the visualisation. Finally, visualisation at scale
will increasingly become an issue as the sizes of
argumentative datasets and corpora increase. Anecdotally, standard
box and arrow diagrams often become unwieldy to the point
of unusability at around the 50 to 100 node mark. Yet the
combined output from increasingly accurate Argument
Mining tools [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ], or the fulfilled promise of the Argument Web
[
          <xref ref-type="bibr" rid="ref5">5</xref>
          ] will yield argument datasets at a scale where the limits of
current visualisation tools are exceeded.
        </p>
        <p>Ultimately we plan for Monkeypuzzle to provide a basis
for exploring new argument visualisation techniques, to act
as a test-bed for new tools to interact with argumentative
52
datasets, and to contribute to a healthy and varied
ecosystem of argument tools to support further development of
computational models of argument.</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>C.</given-names>
            <surname>Chesnevar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>McGinnis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Modgil</surname>
          </string-name>
          , I. Rahwan,
          <string-name>
            <given-names>C.</given-names>
            <surname>Reed</surname>
          </string-name>
          , G. Simari,
          <string-name>
            <given-names>M.</given-names>
            <surname>South</surname>
          </string-name>
          , G. Vreeswijk, and
          <string-name>
            <given-names>S.</given-names>
            <surname>Willmott</surname>
          </string-name>
          .
          <year>2006</year>
          .
          <article-title>Towards an Argument Interchange Format</article-title>
          .
          <source>Knowledge Engineering Review</source>
          <volume>21</volume>
          ,
          <issue>4</issue>
          (
          <year>2006</year>
          ),
          <fpage>293</fpage>
          -
          <lpage>316</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>D.</given-names>
            <surname>Khartabil</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Wells</surname>
          </string-name>
          , and
          <string-name>
            <given-names>J.</given-names>
            <surname>Kennedy</surname>
          </string-name>
          .
          <year>2016</year>
          .
          <article-title>Large Scale Argument Visualization (LSAV)</article-title>
          .
          <source>In Proceedings of EUROGRAPHICS</source>
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>M.</given-names>
            <surname>Lippi</surname>
          </string-name>
          and
          <string-name>
            <given-names>P.</given-names>
            <surname>Torroni</surname>
          </string-name>
          .
          <year>2016</year>
          .
          <article-title>Argumentation Mining: State of the Art and Emerging Trends</article-title>
          .
          <source>ACM Transactions on Internet Technology (TOIT) 16</source>
          ,
          <issue>2</issue>
          (
          <year>2016</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>D. J. O'Keefe</surname>
          </string-name>
          .
          <year>1977</year>
          .
          <article-title>Two Concepts of Argument</article-title>
          .
          <source>The Journal of the American Forensic Association</source>
          <volume>13</volume>
          ,
          <issue>3</issue>
          (
          <year>1977</year>
          ),
          <fpage>121</fpage>
          -
          <lpage>128</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>I.</given-names>
            <surname>Rahwan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Zablith</surname>
          </string-name>
          , and
          <string-name>
            <given-names>C.</given-names>
            <surname>Reed</surname>
          </string-name>
          .
          <year>2007</year>
          .
          <article-title>Laying the Foundations for a World Wide Argument Web</article-title>
          .
          <source>Artificial Intelligence</source>
          <volume>171</volume>
          (
          <year>2007</year>
          ),
          <fpage>897</fpage>
          -
          <lpage>921</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>C.</given-names>
            <surname>Reed</surname>
          </string-name>
          and
          <string-name>
            <given-names>G.</given-names>
            <surname>Rowe</surname>
          </string-name>
          .
          <year>2001</year>
          .
          <article-title>Araucaria: Software For Puzzles In Argument Diagramming And XML</article-title>
          .
          <source>Technical Report</source>
          . University Of Dundee.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>C.</given-names>
            <surname>Reed</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Wells</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G. W. A.</given-names>
            <surname>Rowe</surname>
          </string-name>
          , and
          <string-name>
            <given-names>J.</given-names>
            <surname>Devereux</surname>
          </string-name>
          .
          <year>2008</year>
          .
          <article-title>AIF+: Dialogue in the Argument Interchange Format</article-title>
          .
          <source>In Proceedings of the 2nd International Conference on Computational Models of Argument (COMMA</source>
          <year>2008</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>D.</given-names>
            <surname>Walton</surname>
          </string-name>
          and
          <string-name>
            <given-names>F.</given-names>
            <surname>Macagno</surname>
          </string-name>
          .
          <year>2016</year>
          .
          <article-title>A classification system for argumentation schemes</article-title>
          .
          <source>Argument and Computation</source>
          <volume>6</volume>
          ,
          <issue>3</issue>
          (
          <year>2016</year>
          ),
          <fpage>219</fpage>
          -
          <lpage>245</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>S.</given-names>
            <surname>Wells</surname>
          </string-name>
          and
          <string-name>
            <given-names>K.</given-names>
            <surname>Pangbourne</surname>
          </string-name>
          .
          <year>2016</year>
          .
          <article-title>Using Argumentation Within Sustainable Transport Communication</article-title>
          .
          <source>In Argumentation and Reasoned Action, Proceedings of the 1st European Conference on Argumentation, Lisbon</source>
          <year>2015</year>
          , volume
          <volume>1</volume>
          .
          <string-name>
            <surname>College</surname>
            <given-names>Publications</given-names>
          </string-name>
          , Chapter
          <volume>34</volume>
          ,
          <fpage>781</fpage>
          -
          <lpage>801</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>S.</given-names>
            <surname>Wells</surname>
          </string-name>
          and
          <string-name>
            <given-names>C.</given-names>
            <surname>Reed</surname>
          </string-name>
          .
          <year>2012</year>
          .
          <article-title>A domain specific language for describing diverse systems of dialogue</article-title>
          .
          <source>Journal of Applied Logic</source>
          <volume>10</volume>
          ,
          <issue>4</issue>
          (
          <year>2012</year>
          ),
          <fpage>309</fpage>
          -
          <lpage>329</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>