<!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>Slovak court decisions</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Dávid Varga</string-name>
          <email>david.varga@student.upjs.sk</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Šimon Horvát</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Zoltán Szoplák</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ľubomír Antoni</string-name>
          <email>lubomir.antoni@upjs.sk</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Stanislav Krajči</string-name>
          <email>stanislav.krajci@upjs.sk</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Peter Gurský</string-name>
          <email>peter.gursky@upjs.sk</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Laura Bachňáková Rózenfeldová</string-name>
          <email>laura.rozenfeldova@upjs.sk</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Pavol Jozef Šafárik University in Košice, Faculty of Science, Institute of Computer Science</institution>
          ,
          <addr-line>Jesenná 5, 040 01 Košice</addr-line>
          ,
          <country country="SK">Slovakia</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Keyphrase extraction is a vital subtask of text summarization and comparison, through which we can obtain the most relevant set of words and phrases that describe the content of a given document. In this paper we test multiple approaches of unsupervised keyword extraction on a set of court decisions. These approaches are TF-IDF, YAKE! and a graph-based weighted PageRank algorithm. We combine these algorithms with a dictionary-based word embedding method in order to capture the semantic relationships between the potential keyphrases. Extracted keyphrases can be used for semantic indexing of court decisions, which can help with finding decisions with similar content.</p>
      </abstract>
      <kwd-group>
        <kwd>keyphrase</kwd>
        <kwd>keyword</kwd>
        <kwd>extraction</kwd>
        <kwd>legal text</kwd>
        <kwd>word network</kwd>
        <kwd>embedding</kwd>
        <kwd>court decision</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>In their decision-making, judges need to ensure the
consistency of decisions with the standard practice of courts.
Getting an overview of similar relevant court decisions
is a time-consuming process. Currently, available tools
have limited options for filtering a set of all decisions,
often resulting in an extensive collection of documents.
In the Slovak court system, only the Supreme Court has
an analytical department that has human resources to
create overviews of relevant court decisions for judges.
ten do not have time and resources to get to all relevant
documents, which can cause essential decisions to be
overlooked by judges. The analytical department of the
Supreme Court manually creates metadata to all Supreme
Court decisions, including keyphrases, to speed up the
overview-making process, especially by narrowing the
search results down to a reasonable size. Automatic
keyphrase extraction can help with manual annotation
by providing hints, thus making the annotation process
semi-automatic and faster. This increases the number of
court decision annotations that can be used for searching
and filtering.</p>
      <p>In the field of natural language processing, automatic
marization. Manually extracting keyphrases consists of
reading the whole document, understanding its content</p>
      <p>Keyphrase extraction algorithms are divided into two
main groups, supervised and unsupervised algorithms.
We can train supervised algorithms on a labeled dataset,
while the resulting models often achieve high accuracy
[1]. If a dataset that is labeled with keyphrases is not
available, it is advisable to use unsupervised algorithms.
These types of algorithms usually uses statistical
metrics that take into account the number of occurrences
of phrases, the co-occurrence of phrases, the position
of phrases within the document and others. These
algorithms are often combined with graph algorithms, word</p>
      <p>In this article, we will focus on the extraction of
keyphrases from Slovak court decisions. This dataset
does not contain manually extracted keyphrases,
therestatistical and semantic approaches.</p>
      <sec id="sec-1-1">
        <title>The objectives of this article are:</title>
        <p>• design and implementation of an algorithm for
ex</p>
        <p>tracting keyphrases from Slovak court decisions;
• evaluation of the results of extracted keyphrases
on a set of court decisions.
keyphrase extraction can be used as a form of text sum- embeddings, or other language models.
ITAT’22: Information technologies – Applications and Theory, Septem- fore we decided to use a combination of unsupervised</p>
        <p>This article is organized into four sections. In
Section 2, we describe the related approaches to automated
keyphrase extraction and other works related to legal
document processing. In Section 3, we propose the
multiple algorithms to extract the keyphrases from Slovak
court decisions. Finally, we analyze the results of the
algorithms in Section 4.</p>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>2. Related works</title>
      <p>A lot of research has been done on applying NLP
techniques to law texts and court decisions. NLP techniques
are used in diferent tasks, for example: predicting the
outcomes of court decisions [2, 3, 4], searching for
insufifciently reasoned court decisions [ 5], creating electronic
versions of court decisions [6] or creating a collection
of datasets for evaluating performance across diferent
legal text understanding tasks [7].</p>
      <p>An international voluntary association called the Free
Access to Law Movement (FALM) [8] was founded in
1992 and has more than 60 member organisations from
around the globe. FALM members provide free access to
legal information, group legal documents into one place
and analyse law texts. FALM member CanLII [9] uses
software to process canadian court decisions. CanLII
creates links to articles that are used in court decisions and
to other court decisions used as citations. This software
also creates a short description of the court decision and
selects keyphrases. These can be used to save time and
efort for legal experts such as judges and lawyers.</p>
      <p>Algorithms used for legal text summarization are
summed up in a survey paper [10]. However, in this
section, we focus specifically on keyphrase extraction
by use of statistical approaches and unsupervised
algorithms. We also summarize the principles of selecting
appropriate keyphrases based on observations.</p>
      <p>The simplest approach to select keyphrases is to count
the n-grams in the text and select the most common
ngrams [11]. This approach is also called Bag of Words or
BoW and does not take into account synonyms, grammar
or the meaning of individual n-grams. The downside of
using a BoW approach is that it does not select those
keyphrases that are concise to the text and at the same
time occur rarely in the text.</p>
      <p>A significant improvement over the BoW method is
TF-IDF [12]. TF-IDF takes into account the whole corpus
and penalizes phrases that occur in many documents.
It is often used as a baseline method or in one of the
steps of an algorithm, for example KP-Miner [13] or Liu’s
clustering algorithm [14]. We will describe TF-IDF in
more detail in the next chapter.</p>
      <p>Three desirable properties of keyphrases are described
in [14]:
• Understandable. Keyphrases should be easy to
understand.
• Relevant. Keyphrases should relate to the main
topic of the document.
• Good coverage. Keyphrases should cover all
parts of the document appropriately.</p>
      <p>According to these properties, the Liu’s clustering
algorithm [14] was created, which used statistical, semantic
and clustering methods simultaneously. The first step of
the algorithm was to search for candidate words. From
these, keyphrases of several words will be composed in
the next steps of the algorithm. Subsequently, the
candidate phrases were calculated semantic closeness scores,
according to their common occurrences within a
fixedlength window and also according to an external source
- Wikipedia. For each word, they created an embedding,
where on each index of the vector, a value representing
the relationship between the word and a specific article
from Wikipedia was calculated using TF-IDF. Candidate
words were clustered according to semantic closeness,
which grouped semantically similar words into individual
clusters. Subsequently, exemplary words representing
the entire cluster were selected from individual clusters,
which had to be extended to phrases composed of several
words. The keyphrases for the document were selected
so that the algorithm processed all the words of the
document, and if the word type was a noun that was also an
exemplary word, then the word was selected in the list of
keyphrases along with adjectives in its neighbourhood
in the original text.</p>
      <p>One of the latest language-independent unsupervised
keyphrase extraction algorithms is YAKE! [15]. It uses
statistical information, such as word counts and word
occurrences, to identify keyphrases in unstructured texts.
Its great advantage is that it only works with the
current document during extraction, so it is not necessary
to have the whole corpus of similar texts or other text
sources available. The algorithm consists of five steps:
(1) preprocessing the document into a machine-readable
format, which results in tagged individual words; (2) for
each word, a representation is created consisting of a set
of properties evaluated by statistical measurements; (3)
the individual properties of the words are heuristically
combined into one score, which represents the
importance of the word; (4) generating n-grams from candidate
words and assigning a degree of relevance; (5)
deduplication of keyphrases that are too similar and ranking by
relevance.</p>
      <p>Another approach to extracting keyphrases is to use
graphs and graph algorithms. The text may be
represented by a graph such that the vertices of the graph are
candidate phrases and the edges represent the
relationship between these phrases. Subsequently, a value for
each vertex of the graph is assigned using the selected
evaluation function, and the edges and their weights are
3.1.2. Phrase network.
used to calculate this value. Thus, the individual methods
difer in the use of diferent types of graphs and
evaluation functions. One of the first algorithms to extract
keywords from a text that uses a graph is TextRank [16],
which has inspired a number of other graph-based
algorithms. Its evaluation function calculates the values
for the vertices of the oriented graph recursively and the
information at the input of this function is global, ie in
each step, it comes from the whole graph. The evaluation
function used is the PageRank [17] algorithm, which is
iterative and its input is the oriented graph. PageRank
was originally designed for scoring web pages by
importance on the web, but in TextRank it is used to give score
to candidate keyphrases.</p>
      <p>RAKE [18] is another graph-based unsupervised
algorithm and it uses word frequency and word co-occurence
to create a graph and assign scores to phrases. It needs
a list of stop-words and delimiters at the input, but it is
able to identify interior stop-words in phrases.
3.</p>
    </sec>
    <sec id="sec-3">
      <title>Methods</title>
      <sec id="sec-3-1">
        <title>3.1. Background knowledge</title>
        <p>In this section we describe how we mine knowledge from
sources other than the document from which we want
to extract key phrases. This background knowledge is
used as weighting mechanism in methods described in
the next section.
3.1.1. Term frequency – inverse document
frequency.</p>
        <p>TF-IDF is a statistical measure that evaluates how
relevant a word is to a document in a collection of documents.
This measure is multiplication of two metrics:
1. term frequency expresses how many times a word
appears in a document,
2. the inverse document frequency expresses how
unique a given word is to a document. It is the
frequency of the word across a set of all
documents:
idf(, ) =
log</p>
        <p>||
|{ ∈  ∶  ∈ }|
where |{ ∈  ∶  ∈ }|
ments where the term  appears.</p>
        <p>is the number of
docuSo idf examines the frequency values in all documents
to reduce the impact of frequent words.</p>
        <p>To use keyphrase extraction methods it is in our best
interest to develop a vocabulary of potential keyphrases.
Keyphrase extraction methods such as TF-IDF prioritize
keyphrases that are unique to a specific document that
might not be suitable for the purposes of topic
clustering. Using this vocabulary as a basis for creating
phrase embeddings can help us semantically compare
the keyphrases in order to facilitate better keyphrase
selection.</p>
        <p>Let  be the set of all unigrams, bigrams and trigrams
used in court decisions documents1. Relations among
phrases in  are denoted as set of  .</p>
        <p>We mine these
relations mainly from Slovak Law Thesaurus (SLT) [19]
as follows:
1. Let phrase and phrase be words or phrases
deifned in SLT. In case that phrase occurs in
definition of phrase , we expand our set  by the pair
(phrase , phrase ).
2. Let phrase be word or phrase defined in SLT. Let
{phrase1, phrase2, … , phrase } ⊆  be the words
used in definition of
phrase , but without
def
inition in SLT. We add pairs (phrase ,phrase1),
(phrase ,phrase2), … , (phrase ,phrase ) to the set
 . Not all words appearing in the definition are
related to a defined phrase, therefore we weigh
these relations with the TF-IDF used in our global
weight function. The set of documents used for
IDF calculation  is the set of all definitions from
SLT.
3. Let phrase ∈  be a phrase that is not found in
SLT. We find the definitions of individual words
that make up the phrase in the Dictionary of
Slovak language and continue as in the
previbe the words used in definition of
ous step. Let {phrase1, phrase2, … , phrase } ⊆ 
phrase . We
add pairs (phrase ,phrase1), (phrase ,phrase2), … ,
(phrase ,phrase ) to the set  . The set of
documents used for IDF calculation  is the set of all
definitions from Dictionary of Slovak language.
legal phrases defined as follows:
 ∶  →</p>
        <p>is a function:
Using this set of definitions, we model a network of
Let  = ( , , )</p>
        <p>be a directed evaluated graph, where
() =
{
1, if  gained in 1
tf-idf(phrase , phrase ), if  gained in 2 ∨ 3
such that  = ( phrase , phrase ), phrase ∈  is defined
phrase, phrase ∈  is phrase occurring in definition of</p>
        <sec id="sec-3-1-1">
          <title>1Vocabulary  does not contain stop words.</title>
          <p>In the next step, we use the graph embedding
techniques described in [20] which produce a semantic
representation for each phrase from  . In our approach, we
use the Node2Vec algorithm, described in [21] which is
one of the graph embedding techniques based on a
random walk. These vectors with semantic interpretation
are used as background knowledge for the algorithms
described below. A detailed description of the method
for obtaining embeddings is described in [22].</p>
          <p>Suppose we need embedding for a phrase2 consisting
of more than one word. We compute it as an
elementwise average of all word embedding occurring in the
phrases.</p>
        </sec>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Weighted PageRank</title>
        <p>In order to incorporate our vocabulary and embeddings,
we can use a keyphrase selection method described in
[23] in conjunction with our phrase embeddings.</p>
        <p>First, we create an undirected weighted graph
representing a given court decision, with each node
corresponding to a phrase of the decision present in our
vocabulary  . A pair of nodes  1 and  2, each
representing a potential keyphrase, will be connected by an edge if
they are located within a fixed-size sliding window. The
weight of these edges represents the similarity between
the potential keyphrases that make up its nodes. This
similarity is defined by two metrics. One of them is the
dice coeficient which measures the interlinkedness of
the two phrases. It is calculated as the number of times
the phrases appear in the decision as a tuple, divided by
the sum of frequencies of phrases individually:
dice(  ,   ) =</p>
        <p>2 × freq(  ,   )
freq(  ) + freq(  )
(1)
where   and   are vertices connected by an edge,
  (  ) is the number of times the vertex   appears in
the document, and freq(  ,   ) is the frequency where the
vertices   and   form a tuple, in whichever order.</p>
        <p>The second metric is inspired by Newton’s law of
universal gravitation. The frequencies of the phrases are
used as the mass of the objects, and the distance is
calculated as the cosine distance between the embeddings of
the two phrases.</p>
        <p>attr(  ,   ) =
freq(  ) × freq(  )</p>
        <p>(  ,   )2
where (  ,   ) is the cosine between the embeddings
of phrases   and   .</p>
        <p>The weight of an edge is then calculated combining
the attraction force and the dice coeficient:
2We already have embeddings for phrases defined in SLT. Here we
talk about phrases from  (or unseen) that do not occur in any
relation to  .
  = attr(  ,   ) × dice(  ,   )
(3)</p>
        <p>To extract keywords from the keywords of a graph, we
will make use of the weighted PageRank algorithm. The
PageRank algorithm is an iterative algorithm that
calculates a score for each node of the graph, with a higher
score indicating higher suitability as a keyphrase. The
weighted PageRank algorithm ranks a node according to
the rank of the sum of all its adjacent nodes, as well as
the weights that connect them.</p>
        <p>Then, the PageRank score is calculated, for each node
of the graph recursively. The score at a given time step
is calculated as:
  (  ) = (1 − ) +  ×</p>
        <p>∑
  ∈(  ) ∑  ∈(  )  
 
 −1 (  )
(4)
where   (  ) is the PageRank score for the node   at
time  , (  ) is the set of edges adjacent to node   ,  is
the dumping factor.</p>
        <p>The results obtained from the PageRank algorithm can
then be used to determine the most likely keyphrase
candidates, with a higher score representing a more suitable
keyphrase.</p>
        <p>The issue with using the weighted PageRank
algorithm on its own is that it works only with a given
document, which makes it useful in extracting keyphrases that
describe the text itself, but not what diferentiates it from
other texts. Since the texts are judicial decisions, many
court-centric phrases would hinder our ability to
diferentiate court decisions by topic. Therefore the score for
each phrase we obtained from the weighted PageRank
was multiplied by its IDF score, calculated from all
available court decisions as described by the TF-IDF metric.
Multiplying the PageRank score by the IDF should favor
keywords that are not as frequent and would therefore
probably not be court-centric and thus more relevant to
the specific topic of that decision.</p>
      </sec>
      <sec id="sec-3-3">
        <title>3.3. Autoencoders</title>
        <p>Keyword extraction methods like TF-IDF penalize
phrases that are frequent in many documents, but
infrequent phrases are not necessarily semantically
informative. The task of removing court-centric phrases would
(2) be better achieved by using some form of semantic
comparison. Phrases that are semantically dissimilar to the
meaning of the majority of phrases are more likely to
be keyphrases that can be used to meaningfully cluster
documents. To perform semantic comparisons, we can
combine our phrase embeddings with the autoencoder
method.</p>
        <p>Autoencoders, described in detail in [24] are
unsupervised neural networks that aim to create a representation
of data that selects only the most relevant parameters,
which can be used to reconstruct the original data.
Autoencoders consist of two main parts: the encoder, which
converts the input into an encoding (usually of lesser
dimensionality than the input), and a decoder that tries
to reconstruct the input from the encoding (Fig. 1). Using
simple feedforward neural networks, the encoding ℎ be
calculated as:</p>
        <p>ℎ = (  + )
where  is the input,  is the element-wise activation
function,  is a weight matrix and  is the bias. This
encoding can then be used to obtain  ′, the reconstruction
of the input. The reconstruction is calculated as:
 ′ =  ′(
′
ℎ +  ′)
where  ′,  ′ and  ′ might be diferent from  ,  and
 .</p>
        <p>We have trained our autoencoder to reconstruct the
embeddings of phrases of the vocabulary  , described
in 3.1.2.3 Due to the vocabulary being made up
primarily of phrases relevant to court decisions, we can infer
that the reconstruction performance will be better with
phrases explicitly related to court decisions. However,
these phrases are detrimental to topic-based
diferentiation. Therefore by penalizing a high reconstruction
success of a keyphrase, we can filter out those that are
not relevant to the topic of that court decision. In our
case, we multiplied the TF-IDF score of keyphrases with
the cosine distance between the input embedding and
the reconstructed embedding from the autoencoder:
(5)
(6)
score(  ) = tf-idf(  ) ∗ cos(emb(  ), rec(emb(  ))) (7)
3Link to lemmatized court decisions. https://bit.ly/3zUwbYA</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Evaluation</title>
      <p>We have implemented two algorithms to serve as our
baseline. The first is the regular TF-IDF metric used
for keyword extraction, using all available court
decisions to calculate the IDF value. This method is
corpusdependent, so other documents are taken into account.
The second is the YAKE! algorithm [15], which takes
into account only the current document. The algorithm
described in 3.2 combines weighted PageRank with our
phrase embeddings and multiplies the result by the IDF
score of the TF-IDF metric. We will refer to this algorithm
as WPR. The algorithm that multiplies regular TF-IDF
score with cosine distance between and the algorithm
described in 3.3 we labelled as AE.</p>
      <p>Since we did not have access to extracted keyphrases of
any court decisions, we have chosen five random court
decisions for manual and expert evaluation. We have
asked a legal expert to evaluate results in three ways:
• creation of abstracts that ofer a brief summary
of the content of the decisions (see figures 1 and
3),
• manual extraction of keyphrases from the
decisions using dictionary of keyphrases used by the
analytical department of the Supreme Court (see
ifgures 1 and 3),
• the expert’s opinion on the potential of the
computed keyphrases to be included in the dictionary
or to be used in any other way (see section 4.1).</p>
      <p>We summarized the outputs of the algorithms into
tables 2 and 4, where the rows are documents and the
columns are algorithms. Each table cell consists of the
top five keyphrases found by the given algorithm for the
given document.</p>
      <p>We have compared the computed key phrases with
abstracts and manually extracted keyphrases. The phrases
that are present in the abstract are highlighted in
yellow. If the keyphrase matches the manually extracted
keyphrase, it is highlighted by a black frame.</p>
      <p>As we can see, the YAKE! algorithm provides many
keyphrases that cannot be found in abstracts or
manual keyphrases. This is due to the chosen keyphrases
being too long and heavily related to the topic of
judicial decisions that ofer little in phrases of diferentiating
decisions from one another since the method is
corpusindependent.</p>
      <p>The weighted WPR algorithm multiplied by the IDF
score performs quite a bit better, achieving good
performance on documents 3 and 5, but is outclassed by
the algorithms using TF-IDF as the basis of selection.
This is likely because the WPR algorithm prefers phrases
that are frequent and that are semantically similar to the
other keyphrases, which is a good approach for general
keyphrase extraction; however those might not be well
suited to clustering within a corpus.</p>
      <p>TF-IDF on its own achieves good performance, as the
metric is built for extracting phrases that are good unique
descriptors of documents. It brings many matches on
all of the documents, with the top five keyphrases being
good topic descriptors for all documents.</p>
      <p>The most abstract and manual keyphrase matches were
achieved by the AE algorithm, combining TF-IDF with
the reconstruction error of the autoencoder.</p>
      <p>An interesting finding of all evaluated methods is that
the resulting phrases are found mainly in abstracts and
less among manually obtained phrases. We would also
like to point out that several manually extracted phrases
are not even in the abstracts themselves.</p>
      <p>We asked a legal expert to weigh in on the results from
her perspective. We present her statement in full in the
next section.
This paper proposes and evaluates unsupervised keyword
extraction methods because we lack labeled data as a
proof of concept. We can conclude from the statement
of a legal expert that the most relevant keyphrases are
legal institutes and legal processes.</p>
      <p>In our new project, we plan to cooperate with the
Supreme Court of the Slovak Republic, in which we
should be able to work with manually extracted phrases
from their court decisions. This cooperation will allow us
to design and test supervised keyword extraction
methods and compare them with the methods presented in
this paper. In our future work, we want to include laws
and regulations cited by court decisions as a source of
names of legal institutes.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Conclusion</title>
      <sec id="sec-5-1">
        <title>4.1. Legal expert statement</title>
        <p>The keyphrases selected by the analysis define the nature
of the respective judicial decisions to varying degrees. In
some cases, the selected keyphrases suficiently
characterize the decisions, e. g. as regards the second decision
where it is clear that the decision regards the
cancellation of the child support obligation. In other cases, the
keyphrases extracted from the decisions’ text describe
the factual circumstances of the case rather than the
relevant legal institutes applied in them or the legal
process as such. To illustrate, the keyphrases describing
the first decision focus on the factual background of the
case, namely the asserting of warranty (”refund”) for the
services provided (”to train”), but do not specifically
deifne the applicable legal institute (liability for defects), or
the type of contract concluded between the parties to a
dispute (framework agreement on cooperation), which
would be most likely the keyphrases used by the legal
expert to search for decisions in analogous cases. Similarly, Acknowledgement
it is unclear from the keyphrases characterizing other
decisions examined what type of a decision is adopted This work was supported by the Slovak Research and
(decision on the merits of the case or a procedural deci- Development Agency under contract No. APVV-21-0336
sion). To demonstrate, it is not apparent that the third Analysis of court decisions by methods of artificial
inteldecision regards the appellant’s court reversal and refer- ligence. This work was supported by the Scientific Grant
ral of the decision of the court of the first instance, that Agency of the Ministry of Education, Science, Research
in the fourth decision, the court discontinued the execu- and Sport of the Slovak Republic under contract VEGA
tion of a judgment or that the fith decision approves the 1/0177/21 Descriptive and computational complexity of
agreement on guilt and punishment (although in this case automata and algorithms. This work was supported by
the phrase ”approve the agreement” has been selected). the internal project at the Faculty of Science at Pavol Jozef
This is, however, understandable, as these are all legal Šafárik University in Košice vvgs-pf-2021-1789 Legal text
categories that may not be immediately identifiable from analysis using computer linguistics.
the decisions’ text alone without previous legal input.</p>
        <p>In the article, we studied the problem of revealing
keyphrases in the court decisions of the Slovak Republic.</p>
        <p>We proposed two unsupervised algorithms and
evaluated them on five arbitrary court decisions. We have
compared computed keyphrases with expert-written
abstracts and manually extracted keyphrases. The results
show that the methods extract keyphrases that are mainly
included in abstracts rather than manually extracted
keyphrases. The best results proposed the AE algorithm,
combining TF-IDF with the reconstruction error of the
autoencoder.</p>
        <p>We believe that the results of the algorithms can be
used as recommendations for manual annotation of court
decisions with keyphrases if the intersection of found
keyphrases with a dictionary of legal phrases is applied.</p>
        <p>It can also be used to enrich search results and expand
ifltering options.</p>
        <p>Abstract
The complainant (lector) demanded via judicial proceedings that the defendant pays the
full price of the in-voice for the services provided (realization of professional training). The
defendant, who was the complainant’s customer, paid the invoice only in part (liability
for delay) due to considering the services provided by the complainant to be of poor
quality (liability for defects). The defendant has also demanded a refund.</p>
        <p>The complainant demanded the court to cancel the duty to support and maintain against
the two defendants, who graduated from high school, are legal adults who are able to
earn a living wage. The defendants agreed with the cancellation of the duty to support
and maintain.</p>
        <p>The complainant applied a bill of exchange against the defendant, which was rejected by
the district court.The reasoning of rejection was the fact that the district court called for
the complainant to fill in additional data in to the proposal form , which the complainant
did not do. The court of appeals ruled in favour of the complainant,afirming that he did
not need to fill in his proposal with additional data. The first instance court arrived at the
decision by applying incorrect legislation and incorrect interpretation of the legislation
and EU rights.</p>
        <p>The court rejected the proposal of granting authorization to a court distrainor and
stopped all distraint proceedings. The court didn’t assign the distraint expenses to
the court distrainor.</p>
        <p>The accused was neglmigently driving a motor vehicle, not paying attention to the trafic
situation on the road and did not give way to a crossing pedestrian. A collision occured,
where the pedestrian sufered injuries consisting of multiple bone fractures and internal
bleeding. The accused inflicted grievous bodily harm to the pedestrian due to negligence,
due to which the accused was charged with inflicting injury. The accused was received a
fine had their driving license revoked from all types of motor vehicles and she entered a
plea agreement.</p>
        <p>Manually extracted keyphrases
contract, liability for defects, liability,
default, client, innominate contract,
warranty, service, action
alimony, duty to support and maintain
bill of exchange, claim, commercial
paper, appeal, referral, reversing
decision
discontinue distraint, distraint
proceedings, distraint, court distrainor
bodily harm, agreement on guilt and
punishment, negligence, punishment,
criminal ofence, punishment by
disqualification</p>
        <p>Abstract
Navrhovateľ (lektor) sa súdnym konaním domáhal, aby odporca uhradil faktúru za
poskytnuté služby (realizácia odborných školení) v plnej výške. Odporca, ktorý bol
zákazníkom navrhovateľa, uhradil faktúru iba čiastočne (zodpovednosť za omeškanie)
kvôli tomu, že navrhovateľ podľa neho poskytol vadné služby (zodpovednosť za vady).</p>
        <p>Navrhovateľ taktiež podal reklamáciu.</p>
        <p>Navrhovateľka žiadala, aby súd zrušil jej vyživovaciu povinnosť voči dvom odporcom, ktorí
ukončili stredoškolské štúdium, sú plnoletí a zarábajú si sami na živobytie. Odporcovia
súhlasili so zrušením vyživovacej povinnosti.</p>
        <p>Navrhovateľ si v návrhu uplatnil voči odporcovi pohľadávku, ktorú mu okresný súd
zamietol. Dôvodom zamietnutia bol ten, že okresný súd vyzval navrhovateľa o
doplnenie údajov prostredníctvom tlačiva na doplnenie návrhu, ktoré navrhovateľ nedoplnil.</p>
        <p>Odvolací súd dal navrhovateľovi za pravdu, teda že navrhovateľ nemusel dopĺňať svoj
návrh o ďalšie údaje. Prvostupňový súd dospel k rozhodnutiu na základe aplikácie
nesprávnych právnych predpisov a nesprávnej interpretácie príslušných právnych predpisov
a práva EÚ.</p>
        <p>Súd zamietol žiadosť o udelenie poverenia pre súdnu exekútorku a zastavil exekučné
konanie. Súd exekútorke trovy exekúcie neprisúdil.</p>
        <p>Obvinená viedla motorové vozidlo a nevenovala plnú pozornosť vedeniu vozidla.
Nesledovala situáciu v cestnej premávke a nedala prednosť chodcovi prechádzajúceho cez
priechod pre chodcov. Došlo k zrážke, pričom chodec utrpel poranenia pozostávajúce zo
zlomením viacerých kostí a vnútorných krvácaní. Z nedbanlivosti spôsobila ťažkú ujmu
na zdraví chodcovi, čím spáchala prečin ublíženia na zdraví. Obvinená dostala peňažný
trest a trest zákazu činnosti viesť všetky druhy motorových vozidiel, pričom uzavrela
dohodu o vine a treste.</p>
        <p>Manually extracted keyphrases
zmluva, zodpovednosť za vady,
zodpovednosť, omeškanie, objednávateľ,
nepomenovaná zmluva, reklamácia,
služba, žaloba
zmenka, pohľadávka, cenné papiere,
odvolanie, vrátenie veci, zrušujúce
rozhodnutie
zastavenie exekúcie, exekučné
konanie, exekúcia, exekútor
ujma na zdraví, dohoda o vine a treste,
nedbanlivosť, trest, trestný čin, trest
zákazu činnosti
trest</p>
        <p>YAKE!
podľa metodiky PRINCE
medzi účastníkmi konania
školenia metodiky PRINCE
podľa ods obchodného
účastníkmi konania bola
okresného súdu námestovo
rozsudkom okresného súdu
základe pracovnej zmluvy
živiť podľa ods
ukončil stredoškolské štúdium
nízkou hodnotou sporu
uplatnenie pohľadávky súdu
uplatnenie pohľadávky
dohad
prijímací
zmenka
tlačivo
etapa
zmenka
dolný kubín
udelenie poverenia
súd súdny
cestná premávka
zlomenina
kosť</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list />
  </back>
</article>