<!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>Exploring Network Analysis in a Corpus-Based Approach to Legal Texts: a Case Study</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Emilio Sulis</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Llio Humphreys</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Fabiana Vernero</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ilaria Angela Amantea</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Luigi Di Caro</string-name>
          <email>dicaro@di.unito.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Davide Audrito</string-name>
          <email>davide.audrito557@edu.unito.it</email>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Stefano Montaldo</string-name>
          <email>stefano.montaldo@unito.it</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Computer Science Department, University of Turin</institution>
          ,
          <addr-line>Via Pessinetto 12, 10149, Turin</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Department of Law, University of Turin</institution>
          ,
          <addr-line>Lungo Dora Siena 100, 10153, Turin</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Automatic analysis of legal texts is increasingly of interest to address the issue of interpretation and compliance concerns. This paper proposes a two-step framework to investigate implicit relationships in legal documents, starting with a corpus-based approach. By introducing an annotation process, the goal is to obtain a gold standard corpus suitable for machine learning experiments. In a second step, we propose a set of features to perform the task of predicting relationships between parts of a norm, as a way to improve legal interpretation. We discuss our rst results concerning the annotation task, as well as the adoption of graph-based measures derived from social network analysis. We perform a practical application to an European Union regulation. The proposed framework exploiting network analysis in addition to a corpus-based approach can be applied to address a binary classi cation task.</p>
      </abstract>
      <kwd-group>
        <kwd>Information extraction</kwd>
        <kwd>Network analysis</kwd>
        <kwd>Text corpora</kwd>
        <kwd>Natural Language Processing</kwd>
        <kwd>Legal documents</kwd>
        <kwd>Legal informatics</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Computer technologies and systems are growing rapidly in di erent elds,
including the legal domain [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. In recent years a promising research area involves
automated information extraction from legal databases and texts. Several
approaches and tools focus on solutions to address this challenging task [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ].
      </p>
      <p>This paper addresses the speci c topic of legal interpretation, de ned as the
fundamental activity giving meaning to legal documents. The goal of
interpretation is to determine the normative messages that arise from a speci c legal
text. We investigate the subject by focusing on the relationship between internal
parts of legislation. In fact, the identi cation of existing links is at the core of the
interpretation process. Moreover, the automatic extraction of information is a
challenging task in order to analyse inter-relationships between norm parts. Our
work proposes a methodological framework to address an automated system able
to consider both the explicit and implicit information in legal text. Therefore,
a primary e ort necessarily addresses the understanding of the meanings
conveyed by the language. In our experience, this is a typical problem that exploits
annotated corpora and related tools for the analysis. Furthermore, we propose
the investigation of network analysis by shaping inter-relationships as a graph.</p>
      <p>
        In particular, our proposed framework follows a two-step approach to address
the issue. Firstly, a corpus-based approach identi es di erent types of
interrelationships in a norm. This initial step includes the de nition of guidelines
to address the human annotation e ort. The output of this process includes
the identi cation of classes or labels, in order to obtain a gold standard
corpus [
        <xref ref-type="bibr" rid="ref29">29</xref>
        ] to be used with a supervised learning algorithm in a machine learning
experiment [
        <xref ref-type="bibr" rid="ref23">23</xref>
        ]. We also explore card sorting to help in identifying patterns
among data. The consequent classi cation e ort may include features obtained
by adopting a traditional Natural Language Processing (NLP) pipeline.
      </p>
      <p>
        In a second step, the exploration of a graph-based analysis can help both to
better understand the inter-relationships occurring in the norm and to improve
the feature set that can be used in a classi cation task. Moreover, several metrics
from social network analysis are compared to the annotation output. In this
respect, our research problem is: in a general NLP framework to investigate legal
text, are graph metrics helpful to investigate inter-relationships in norms? This
work resumes an ongoing experience in developing NLP resources and tools for
legal text [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. In a practical manner, we started to apply the framework presented
here to European Union (EU) legislation, speci cally mapping related recitals
and articles.
      </p>
      <p>The paper rst reviews background and related work in Section 2 followed
by a description of our corpus-based and graph-based approach in Section 3. We
describe the initial results of the proposed system to tackle the research problem
in Section 4. We conclude the paper with some future work.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Background</title>
      <p>
        Legal interpretation is a well-known mechanism from law for adapting norms
to unforeseen situation [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ], where several e orts exploit logic to model legal
argument [
        <xref ref-type="bibr" rid="ref22 ref9">9,22</xref>
        ]. In previous work, we investigated the topic by analysing a legal
document management system based on ontologies [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. More recently, a
modelling scheme for the inter-relationship between recitals and normative provisions
was articulated in [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ]. In this work we apply text analysis, a discipline [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]
that has gained relevant attention due to its applicability to a wide set of
domains. Several NLP techniques have been applied to the analysis of legal texts
to address machine learning experiments [
        <xref ref-type="bibr" rid="ref24">24</xref>
        ], e.g. the classi cation of judgment
norms [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ]. A large part of these kind of techniques relies on manual annotation
of text. Human annotation is a very di cult activity, both in terms of time and
e ort [
        <xref ref-type="bibr" rid="ref28">28</xref>
        ]. Moreover, legal texts are often vague and deliberately leave room for
multiple interpretations [
        <xref ref-type="bibr" rid="ref26">26</xref>
        ]. Therefore, the setup of manual annotation is
crucial to perform machine learning experiments. Some initial considerations about
the problems with providing the description of the annotation scheme has been
recently detailed in [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. The exploration of machine learning approaches, NLP
and network analysis to texts is a recent research subject [
        <xref ref-type="bibr" rid="ref21">21</xref>
        ]. Information
extraction on legal text mostly refers to citations, such as the semantics-based
citation network of [
        <xref ref-type="bibr" rid="ref30">30</xref>
        ].
      </p>
      <p>
        Similar work focused on a network perspective concerning systems of
interrelated authoritative legal texts. The detection, resolution and labeling of citations
in the legal domain was addressed in [
        <xref ref-type="bibr" rid="ref25">25</xref>
        ] by exploring an automatic process of
labeling citations in a legal citation graph, while [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ] investigate multi-layer
network on European legislation, demonstrating the two properties of temporal
evolution and multi-scale structures which are very common to many real-word
networks. A practical application for a deeper representation of the meaning of
legislative text and the relationships between norms can be a legal knowledge
management system [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ].
      </p>
      <p>
        This paper explores European legislation. Directives, and regulations to a
lesser degree, are prescriptive but su ciently general to allow addresses (usually
member states) to articulate their own detailed norms and procedures as they
prefer in order to achieve the goal(s) of the legislation. Not only is this kind of
legal text typically goal-oriented, it is also particularly given to principle-based
(balance) rather than defeasible reasoning. The initial part of the document
consists of recitals, which are ostensibly explanatory and do not have the same
status as normative provisions. The relationship between recitals and normative
provisions is a debated topic relying on di erent doctrinal positions [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ].
3
3.1
      </p>
    </sec>
    <sec id="sec-3">
      <title>Framework</title>
      <sec id="sec-3-1">
        <title>A corpus-based approach</title>
        <p>Our framework combines a quite traditional approach starting from the creation
of a gold standard corpus in the development of machine learning experiments
based on Natural Language Processing (NLP). This is a prerequisite to perform
a classi cation of relationships in legal texts. In our initial e ort, we opted for
manual annotation to produce a corpus labeled with classes of interest.
Annotation is an important task for NLP, where the common pipeline includes the
following steps: identi cation of classes or labels; the de nition of detailed
guidelines; training of human annotators; manual annotation of the corpus; and nally
computation of inter-annotator agreement.</p>
        <p>Identi cation of labels The annotation of relations in legal text includes a
scheme's de nition and its application to the legal document. The aim of the
scheme is to clearly de ne the kind of information which must be annotated.
This phase includes also the inventory of markers to be used, as well as the
annotations granularity. This step relies on the e ort of experts in the speci c
domain of the considered documents.</p>
        <p>
          Annotation phase At this stage, it is very important that each annotator
works independently. In this way there will be evidence of any situations of
disagreement, which will be resolved later. In a rst step, the annotation can be
presented in a spreadsheet in order to facilitate the work of annotators. For
instance, legal text can be split into di erent structural parts such as articles or
paragraphs for comparison; and di erent Excel sheets can be used to
meaningfully separate di erent areas of comparison. It can be useful to ask annotators
to keep track of their start and end time in order to calculate the average time
required for the particular annotation task, Inter-annotation agreement can be
measured using metrics such as Cohen's kappa [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ]. Another annotator can be
involved in this stage to solve cases of disagreement.
        </p>
        <p>
          Card sorting Commonly used by information architects, card sorting is a
popular user-centred method aimed at the identi cation of patterns among data
[
          <xref ref-type="bibr" rid="ref27">27</xref>
          ]. Participants, who are asked to work on their own, group physical or
digital cards, each displaying a piece of information, based on their own mental
model of the information domain. More speci cally, while in closed card sorting
participants are provided with a set of initial groups, in open card sorting they
have no guidance, i.e., they can de ne the groups which they feel are the most
appropriate and then they have to describe each group with a label. Groupings
produced by di erent participants can than be merged by means of a card *
group matrix, where celli;y shows the percentage of participants who assigned
cardi to groupy. In order to obtain a shared classi cation, the general ratio is to
assign each card to the group for which it has the highest percentage, i.e., the
highest level of agreement among participants. In the case of legal text, cards can
be used to display single paragraphs, the process output consisting in a series of
norm groups, as in [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ].
3.2
        </p>
      </sec>
      <sec id="sec-3-2">
        <title>Graph-based NLP approach</title>
        <p>Natural Language Processing By following a quite traditional NLP pipeline, the
aim of this part is to start with preprocessing the legal steps to obtain stems
of terms. In linguistics, stemming means reducing words into their
corresponding root form. For instance, it will be possible to compare singular and plural
forms of a same term occurring in di erent parts of the legal text. Typical
passages in preprocessing include conversion to lowercase characters, and removal
of punctuation marks and stop-words. The next step is tokenisation, in order to
separate terms into tokens, followed by stemming. Further analysis is possible by
detecting parts of speech (POS) such as verbs, nouns, adverbs, adjectives and so
on. The text processing phase can be performed by using common programming
languages (e.g., Python or R) with well established NLP libraries.</p>
        <p>Identifying features The aim of the second step of the framework is to
automatically extract a set of features to be used in machine learning experiments.
In particular, by following a Bag-of-Words model, several features can be
considered to represent the text. In addition to traditional N-gram models (sequences
of N words), several other items can be extracted from text, e.g. the frequency of
di erent parts of speech, the sentiment polarity of di erent words (e.g. whether
they belong to `positive or `negative dictionaries), word and character length,
term frequency (using TF-IDF).</p>
        <p>
          Network analysis We perform a Social Network Analysis on two kinds of
graphs. A rst graph connects norm types depending on the co-occurrence of
terms. If the stem of a term is detected in di erent parts (e.g., Recital 2 and
Article 6) of a legal text, then an edge will connect the two parts. The weight
of the edge represents the total amount of co-occurrences. This kind of graph
will describe inter-relationships between norms from a linguistic perspective. A
second kind of graph explores the role of terms in the document, by linking
different stems if they co-occur in the same norm type. The number of times they
both appear in the same part of the document will be the weight of the edge.
E.g., an edge between Stem X and Stem Y weighted 3 indicates that Stem X
and Stem Y co-occur in the same norm type three times. Social network
metrics from this graph can be adopted as individual features for the classi cation
e ort, e.g. degree, betweenness centrality [
          <xref ref-type="bibr" rid="ref14">14</xref>
          ], or versatility [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ]. In particular,
some metrics will describe the role of the vertex in the graph with respect to the
relationships with other vertices.
        </p>
        <p>
          Weighted multi-layer networks A further investigation of the topic can
benet from the analysis of a multidimentional or multi-layer network. These kinds
of network have been receiving increasing attention in the last few years. The
opportunity to shape inter-relationships in legal text can be related to the
classi cation e ort. As there exist di erent labels for di erent kinds of relationship,
each label can be a dimension to distinguish a network. In this respect, a
legal document may include di erent networks containing multiple connections
between any pair of vertices. Then, each label denotes a di erent layer, both
in the case of a network of stems and norm type. Recent studies introduced
a framework to investigate such complex networks having an additional degree
of complexity provided by multidimensionality. For instance, a recent work [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ]
proposed a set of basic concepts and analytical measures concerning
multidimensional networks. Speci c metrics of this kind of network can be adopted,
e.g., the percentage of vertices or edges that belong only to a speci c dimension
(dimension connectivity) [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ].
        </p>
        <p>Classi cation The contribution of this phase is to formulate an experimental
setting in terms of a classi cation task. The existence of a relation between two
parts of the document can be explored with a supervised machine learning
experiment carried out by using a model trained with the annotation results. In
particular, the framework includes several binary classi cation tasks, where the
classes (or labels) are: i) the existence of a relation of any kind; ii) the existence
of a relation of a particular kind (one for each label identi ed at the beginning
of the corpus-based approach. Several classi cation algorithms can be adopted,
e.g. nave Bayes, logistic regression, decision tree, support vector machines. For
instance, in this phase the gold standard corpus can be used to train a binary
support vector machines with the labelled relationships.</p>
        <p>Evaluation Performance of the classi er can be evaluated by computing the
Fmeasure, which provides information on accuracy based on the ratio between
precision and recall. Cross-validation can be applied to evaluation. For instance,
in ten-fold cross validation the process involves repeating ten times the following
steps: i) break the training data into 10 equally-sized partitions; ii) apply the
learning algorithm on nine parts, while testing on the remaining folds. The nal
measure is the performance average of the ten parts. Once an estimation of the
model performance has been obtained, this can be applied to new data.
4
4.1</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>First results</title>
      <sec id="sec-4-1">
        <title>Guidelines</title>
        <p>
          First of all, two legal experts identi ed eight di erent kinds of relations between
recitals and (sub-)articles based on their analysis of Directive 2004/23/EC in
the Italian language. These are: Conceptually Similar (whether using the same
or di erent wording), Constitutive (linking norms containing de nitions of legal
terms to norms containing those terms), Motivation (where one norm provides
the principle or goal that motivates another norm), Impact (in terms of con
icting goals that may restrict one or both of the norms, or norms for enforcement
or monitoring that impact on the e cacy of classic deontic norms), Indirect
Internal (norms A and C are linked indirectly where norm A cites another internal
norm B which is related in another way to norm C), Via Other Law (a norm that
is related to another norm which cites another law and cannot be understood
without reference to that law), Procedural (linking a norm describing a
procedure by an EU institution to support the goal of another norm), and Contextual
(linking deontic or other norms to norms that provide contextual information
such as jurisdiction and entry into force), and Norm Group (where two or more
norms are connected due to being part of the same general requirement). For
space reasons, we refer the interested reader to the full descriptions and
examples provided in [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ]. Annotators were asked to apply these labels to Regulation
141/2000.
        </p>
        <p>An initial result of the corpus-based approach is the creation of a document
including the annotation scheme provided by an expert of the domain. This
document o ers a clear de nition for each case as well as a corresponding example.
These indications become the shared guidelines for independent annotators.
4.2</p>
      </sec>
      <sec id="sec-4-2">
        <title>Annotation agreement</title>
        <p>Two annotators were involved in this initial e ort. Each annotator was provided
with a spreadsheet le. At the top of each sheet there are spaces to indicate the
start and end times concerning the annotation activity, as well as the number
of comparisons made. Each annotator was asked to indicate the time spent on
multiple work \sessions".</p>
        <p>The document (in Italian) is accessible at the following link: www.di.unito.it/
~sulis/NLPxLAW/LineeGuida_ClassificazioneTipiLegami.pdf
To investigate the annotation phase, we looked at inter-annotation
agreement on the relationship between three recitals from the considered law, and
their relationships with all the articles, or sub-articles where present. Those
three recitals were the rst, the shortest and the longest ones. Annotators had
to decide which kind of relationship exists (if any) between, for instance, the
rst Recital (henceforth R1) and Article 1, paragraph 1 (henceforth A1.1), and
the type of relationship. If there is a relationship of any kind, a value of 1 is
provided, while a value of 0 means no relationship exists. The results can be
expressed as a sequence of comma separated values, e.g., a list of triplets for
each type:fR1,A1.1,0; R1,A1.2,1; R1,A1.3,0; etc.g.</p>
        <p>For analysis of the results, we shall rst look at inter-annotator agreement
on whether a link exists at all between the recitals and (sub-)articles studied
(see Table 1). There are: 86 cases where both annotators agree on whether a
link exists, 54 cases where the annotators agree on the existence of a
relationship; 32 cases where both annotators agree on the absence of a relationship; 28
cases of disagreement - 22 cases where only the rst annotator considers that a
relationship exists; and 6 cases where only the second annotator considers that
a relationship exists. This provides a percentage of agreement of 75.4%, and
a Cohens kappa agreement of 0.5. However, this encouraging result is balanced
with signi cant di erences in the labelling of individual kinds of relationships. In
fact, there are very di erent values in the distribution among classes (Table 2).</p>
        <p>While some classes have been identi ed with a reasonably similar number
of times, others are very distant in their allocation. Qualitative analysis of the
results imply that some problems arise due to di erences in the directive on
which the classi cation scheme was modelled and the regulation that was
annotated. For example, Table 2 shows signi cant disagreement on the allocation of
the Impact label. One annotator extended the Impact category to also include
the impact of planned future guidelines, in consultation with member states and
other parties, on the interpretation and e cacy of the stated goals of the
regulation. The more legislation are annotated, the greater will be our understanding
and ne-tuning of the classi cation scheme. A more expected source of di culty
was the Via Other Law link: determining whether it should be necessary to
consult the referred legislation to fully understand the article or recital in question.
A nal point that is clear from the data is that the most common type of link was
Motivation. This is in common with the accepted purpose of recitals providing
explanatory notes to aid understanding of the substantive provisions.</p>
        <p>The output of this phase clearly demonstrates the di culty of the task, as
well as the need to re ne the labels and revise the annotation guidance. We also
conclude that the provision of annotation guidelines is not su cient to train
annotators in this novel classi cation scheme. For further annotation exercises,
we intend to conduct seminars featuring both typical and hard cases in order to
ensure proper understanding of the annotation task.
4.3</p>
      </sec>
      <sec id="sec-4-3">
        <title>Timing the annotation process</title>
        <p>Our annotation scheme includes recording the start and end time of annotation
sessions by each annotator. The average execution time for each annotation
session was an average of 62 minutes. Considering the above-mentioned three
Recitals, one annotator was faster then the other but split his e ort in multiple
work sessions: 6 sessions with an average time of 24 minutes, instead of 3 sessions
with an average time of 99 minutes.
4.4</p>
      </sec>
      <sec id="sec-4-4">
        <title>Grouping norms with card sorting</title>
        <p>
          The card sorting exercise was carried out by the same people who acted as
annotators. Even if this task has not yet been completed, some interesting insights
have emerged from the material preparation phase, highlighting the need for
methodological adjustments in comparison with traditional card sorting. Firstly,
legal experts who acted as our consultants for this activity have pointed out that
single parts of legal text can in principle be part of several norm groups. Thus,
we had to prepare multiple cards for each recital/paragraph considered.
Secondly, we observed that the number of di erent cards we obtained was higher
than the number of cards commonly used in card sorting, and the content in
each card was longer as well. Therefore, we plan to assess the annotators'
cognitive load, by using both quantitative measures such as NASA-TLX [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ] and
in-depth, qualitative interviews, in order to adapt card sorting methodology to
novel application areas beyond Information Architecture.
4.5
        </p>
      </sec>
      <sec id="sec-4-5">
        <title>Graph analysis</title>
        <p>
          For processing legal text, we applied typical techniques to extract useful
information. For instance, by performing POS tagging on our EU regulation, we
computed 1,636 words, with the prevalence of Nouns (1,239 occurrences),
Adjectives (171) and Adverbs (58). In addition to typical NLP analysis, we reduced
our document (recitals and (sub-)articles) by transforming words into their
corresponding stems. We adopted the Python NLTK library [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ] to carry out the
above NLP processing, storing results into a database (MySql), to nally obtain
our edgelist. Finally, we adopted the Gephi [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ] open-source software for
exploring and manipulating networks. In this step, two kinds of graphs help in the
investigation of the inter-relationship between norm types. Figure 1 shows the
representations of our legal text. To better focus on the visualisation of more
promising vertices, in both cases the ones with low degrees are pruned. In both
graphs, the size of each vertex is related to degree, while the size of the label
indicates the betweenness centrality.
        </p>
        <p>Graph of Recitals and Articles A rst graph investigates the relationship
between recitals and articles considering each of them as a vertex. This kind of
representation is the one on the left in Figure 1, by including only the vertices
with a degree higher than 10 to improve the readability of the network. Edges
are proportional to their weight, i.e. the number of terms co-occurring between
the two corresponding vertices. These values may represent the strength of the
relationship between the two parts of the law. Graph metrics indicates here
the strength of the relation. Once the annotation e ort of implicit links has
been completed, it would be interesting to correlate the results about
interrelationships of a legal text with the corresponding graph metrics, i.e. degree
or centrality measures. We hypothesize a certain similarity between the lexical
graph-based measures and the existence of a some kinds of implicit relationships
(e.g. Conceptually Similar, Motivation) between di erent parts of the text.</p>
        <p>Graph of Terms A second graph analysis explores the relationships among
terms, after the stemming process. By considering stems as vertices, the edges
represent the co-occurrences in the legal text under consideration. Figure 1 (b)
describes a sample of this kind of graph by considering only vertices having a
degree higher than 100. The weight of an edge represents the co-occurrences of
stems in the document. Several metrics are computed for each vertex to measure
the corresponding relevance in the graph. With the aim of assessing the relevance
of the vertex in the graph we report two measures: degree and centrality. Degree
varies in a range from 1 to 68, with an average value of 52. Stems with higher
betweenness centrality refer to both the topic of the current law (i.e., \Medicinal",
21.8; \Pazient", 16.9) and common terms (i.e., \Tal", 21.9; \Scop", 17.1).
The representation of each part of the legal text can be addressed with a
bagof-words approach, or including n-grams to capture more context around each
term, as well as POS-based features (e.g., the number of nouns, adjectives, etc.
in each part). The output of this step consists in a set of features collected as a
numeric feature vector. The goal is to obtain a feature model to perform binary
classi cation. We add to these traditional approaches the information derived
from graph analysis. By considering the graph with stems as vertices, each vertex
metric can be used to create a feature of the corresponding parts of the legal
text (e.g., articles or recitals). For instance, the average value of vertices' metrics
(e.g. degree, betwenness centrality, closeness centrality) can be exploited in the
classi cation step. Similar considerations concern the graph of relations between
stems co-occurring in di erent parts of the legal text. In this case, the nal set
of features may include network metrics depending on the network topology.
5</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Conclusions and future work</title>
      <p>
        This work proposed a framework to develop an automated system to nd
interrelated parts of a norm. These links may help legal professionals to interpret legal
issues for speci c cases. After describing the framework, we described a practical
work-in-progress application carried out at the University of Turin (Computer
Science Department and Law Department). In our data-centric framework we
address the task of automatically identifying implicit internal links between norms
in the same legislation. In particular, we introduce here the development of a
corpus of annotated links mapping recitals and articles. We initially applied our
framework on EU legislation. This kind of legal text is deliberately imprecise,
to allow members to ful ll the objectives in their own way. The rst analysis of
this step carried out by two annotators clearly shows the complexity of the task:
while the agreement seems quite satisfactory in the identi cation of inter-related
parts, the disagreement on the types of relationship is very high. In addition to
the corpus-based approach, we took the opportunity to operate a classi cation
task. The experiment can exploit a set of features extracted from traditional
NLP approaches. In addition, we explored here the adoption of features from
a graph analysis to improve the results. In this framework, graph-based
metrics concerning vertices can be of interest as a feature of a machine learning
experiment. As a future work, we plan to adopt such metrics to perform binary
classi cation tasks. The classes will be those adopted in the annotation phase,
i.e. the presence or absence of a link as well as the kind of existing
relationship. Special attention will be given to multidimensional network analysis [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ],
where the di erent networks of inter-relationships can be shaped depending on
the label result of the annotation to explore new features of interest.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Amantea</surname>
            ,
            <given-names>I.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Caro</surname>
            ,
            <given-names>L.D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Humphreys</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nanda</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sulis</surname>
          </string-name>
          , E.:
          <article-title>Modelling norm types and their inter-relationships in EU directives</article-title>
          .
          <source>In: Proc. of the Third Workshop ASAIL co-located at ICAIL</source>
          , Montreal. CEUR-WS.org (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Artstein</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Poesio</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Inter-coder agreement for computational linguistics</article-title>
          .
          <source>Computational Linguistics</source>
          <volume>34</volume>
          (
          <issue>4</issue>
          ),
          <volume>555</volume>
          {
          <fpage>596</fpage>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Ashley</surname>
          </string-name>
          , K.D.:
          <article-title>Arti cial intelligence and legal analytics: new tools for law practice in the digital age</article-title>
          . Cambridge University Press (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Bastian</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Heymann</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jacomy</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Gephi: An open source software for exploring and manipulating networks</article-title>
          .
          <source>In: Third international AAAI conference on weblogs and social media (03</source>
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Berlingerio</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Coscia</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Giannotti</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Monreale</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pedreschi</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Foundations of multidimensional network analysis</article-title>
          .
          <source>In: 2011 International Conference on Advances in Social Networks Analysis and Mining</source>
          . pp.
          <volume>485</volume>
          {
          <issue>489</issue>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Bird</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Klein</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Loper</surname>
            ,
            <given-names>E.: Natural</given-names>
          </string-name>
          <string-name>
            <surname>Language Processing with Python. O'Reilly Media</surname>
          </string-name>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Boella</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Caro</surname>
            ,
            <given-names>L.D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Humphreys</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Robaldo</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rossi</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Torre</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Eunomos, a legal document and knowledge management system for the web to provide relevant, reliable and up-to-date information on the law</article-title>
          .
          <source>Arti cial Intelligence and Law</source>
          <volume>24</volume>
          (
          <issue>3</issue>
          ),
          <volume>245283</volume>
          (Sep
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Boella</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Di</surname>
            <given-names>Caro</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            ,
            <surname>Leone</surname>
          </string-name>
          ,
          <string-name>
            <surname>V.</surname>
          </string-name>
          :
          <article-title>Semi-automatic knowledge population in a legal document management system</article-title>
          .
          <source>Arti cial Intelligence and Law</source>
          <volume>27</volume>
          ,
          <issue>227</issue>
          {
          <volume>251</volume>
          (12
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Branting</surname>
            ,
            <given-names>L.K.</given-names>
          </string-name>
          :
          <article-title>Data-centric and logic-based models for automated legal problem solving</article-title>
          .
          <source>Arti cial Intelligence and Law</source>
          <volume>25</volume>
          (
          <issue>1</issue>
          ),
          <volume>5</volume>
          {
          <fpage>27</fpage>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10. Cheng, T.T.,
          <string-name>
            <surname>Cua</surname>
            ,
            <given-names>J.L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tan</surname>
            ,
            <given-names>M.D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yao</surname>
            ,
            <given-names>K.G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Roxas</surname>
            ,
            <given-names>R.E.</given-names>
          </string-name>
          :
          <article-title>Information extraction from legal documents</article-title>
          .
          <source>In: 2009 Eighth International Symposium on Natural Language Processing</source>
          . pp.
          <volume>157</volume>
          {
          <issue>162</issue>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Dickison</surname>
            ,
            <given-names>M.E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Magnani</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rossi</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Multilayer social networks</article-title>
          . Cambridge University Press (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Domenico</surname>
            ,
            <given-names>M.D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sole-Ribalta</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Omodei</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gomez</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Arenas</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Ranking in interconnected multilayer networks reveals versatile nodes</article-title>
          .
          <source>Nature communications 6</source>
          ,
          <issue>6868</issue>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Fairclough</surname>
          </string-name>
          , N.:
          <article-title>Discourse and text: Linguistic and intertextual analysis within discourse analysis</article-title>
          .
          <source>Discourse &amp; society 3(2)</source>
          ,
          <volume>193</volume>
          {
          <fpage>217</fpage>
          (
          <year>1992</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Freeman</surname>
          </string-name>
          , L.C.
          <article-title>: A Set of Measures of Centrality Based on Betweenness</article-title>
          .
          <source>Sociometry</source>
          <volume>40</volume>
          (
          <issue>1</issue>
          ),
          <volume>35</volume>
          {41 (Mar
          <year>1977</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Gordon</surname>
            ,
            <given-names>T.F.</given-names>
          </string-name>
          :
          <article-title>The role of exceptions in models of the law</article-title>
          .
          <source>Formalisierung im Recht und Ansatze juristischer Expertensysteme</source>
          pp.
          <volume>52</volume>
          {
          <issue>59</issue>
          (
          <year>1986</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Hart</surname>
            ,
            <given-names>S.G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Staveland</surname>
            ,
            <given-names>L.E.</given-names>
          </string-name>
          :
          <article-title>Development of nasa-tlx (task load index): Results of empirical and theoretical research</article-title>
          . In: Hancock,
          <string-name>
            <given-names>P.A.</given-names>
            ,
            <surname>Meshkati</surname>
          </string-name>
          , N. (eds.) Human Mental Workload, Advances in Psychology, vol.
          <volume>52</volume>
          , pp.
          <volume>139</volume>
          {
          <fpage>183</fpage>
          . North-Holland (
          <year>1988</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Howe</surname>
            ,
            <given-names>J.S.T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Khang</surname>
            ,
            <given-names>L.H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chai</surname>
            ,
            <given-names>I.E.</given-names>
          </string-name>
          :
          <article-title>Legal area classi cation: A comparative study of text classi ers on singapore supreme court judgments</article-title>
          . arXiv preprint arXiv:
          <year>1904</year>
          .
          <volume>06470</volume>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>Humphreys</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Santos</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Di</surname>
            <given-names>Caro</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            ,
            <surname>Boella</surname>
          </string-name>
          , G.,
          <string-name>
            <surname>Van Der Torre</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Robaldo</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Mapping recitals to normative provisions in eu legislation to assist legal interpretation</article-title>
          .
          <source>In: JURIX</source>
          . pp.
          <volume>41</volume>
          {
          <issue>49</issue>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>Klimas</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vaiciukaite</surname>
            ,
            <given-names>J.:</given-names>
          </string-name>
          <article-title>The law of recitals in european community legislation</article-title>
          .
          <source>ILSA Journal of International &amp; Comparative Law</source>
          <volume>15</volume>
          (
          <issue>6</issue>
          ),
          <volume>61</volume>
          {
          <issue>93</issue>
          (7
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <surname>Koniaris</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Anagnostopoulos</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vassiliou</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          :
          <article-title>Network analysis in the legal domain: A complex model for european union legal sources</article-title>
          .
          <source>Journal of Complex Networks</source>
          <volume>6</volume>
          (
          <issue>2</issue>
          ),
          <volume>243</volume>
          {
          <fpage>268</fpage>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21.
          <string-name>
            <surname>Mihalcea</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Radev</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Graph-based natural language processing and information retrieval</article-title>
          . Cambridge university press (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          22.
          <string-name>
            <surname>Prakken</surname>
          </string-name>
          , H.:
          <article-title>A logical framework for modelling legal argument</article-title>
          .
          <source>In: Proceedings of the 4th international conference on Arti cial intelligence and law</source>
          . pp.
          <volume>1</volume>
          {
          <issue>9</issue>
          (
          <year>1993</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          23.
          <string-name>
            <surname>Pustejovsky</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stubbs</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Natural Language Annotation for Machine Learning: A guide to corpus-building for applications.</article-title>
          <string-name>
            <surname>O'Reilly Media</surname>
          </string-name>
          , Inc. (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          24.
          <string-name>
            <surname>Robaldo</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Villata</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wyner</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Grabmair</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Introduction for arti cial intelligence and law: special issue natural language processing for legal texts (</article-title>
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          25.
          <string-name>
            <surname>Sadeghian</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sundaram</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hamilton</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Branting</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pfeifer</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Semantic edge labeling over legal citation graphs</article-title>
          .
          <source>In: Proceedings of the workshop on legal text</source>
          , document, and
          <article-title>corpus analytics (LTDCA-</article-title>
          <year>2016</year>
          ). pp.
          <volume>70</volume>
          {
          <issue>75</issue>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          26.
          <string-name>
            <surname>Sainsbury</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Logical forms: An introduction to philosophical logic</article-title>
          . John Wiley &amp; Sons (
          <year>2000</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          27.
          <string-name>
            <surname>Spencer</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          : Card Sorting:
          <article-title>Designing Usable Categories</article-title>
          .
          <source>Rosenfeld Media</source>
          ,
          <volume>1</volume>
          <fpage>edn</fpage>
          . (4
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          28.
          <string-name>
            <surname>Tomanek</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wermter</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hahn</surname>
            ,
            <given-names>U.</given-names>
          </string-name>
          :
          <article-title>An approach to text corpus construction which cuts annotation costs and maintains reusability of annotated data</article-title>
          .
          <source>In: Proceedings of the 2007 EMNLP-CoNLL</source>
          . pp.
          <volume>486</volume>
          {
          <issue>495</issue>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          29.
          <string-name>
            <surname>Wissler</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Almashraee</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>D</given-names>
            <surname>az</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.M.</given-names>
            ,
            <surname>Paschke</surname>
          </string-name>
          ,
          <string-name>
            <surname>A.</surname>
          </string-name>
          :
          <article-title>The gold standard in corpus annotation</article-title>
          .
          <source>In: IEEE GSC, Passau (06</source>
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref30">
        <mixed-citation>
          30.
          <string-name>
            <surname>Zhang</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Koppaka</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Semantics-based legal citation network</article-title>
          .
          <source>In: Proceedings of the 11th International Conference on Arti cial Intelligence and Law</source>
          . p.
          <fpage>123130</fpage>
          . ICAIL 07,
          <string-name>
            <surname>Association</surname>
          </string-name>
          for Computing Machinery, New York, NY, USA (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>