NLP Challenges for Eunomos a Tool to Build and Manage Legal Knowledge
Paper · 2012 · Guido Boella, Luigi di Caro, Llio Humphreys et al.
Summary
Finding a law is frequently easier than working out what it means for a particular reader. A new act may cover several subjects. A clause may change the effect of a provision published elsewhere. The same legal expression may carry a different meaning in another jurisdiction or area of law. Eunomos brings legislation from several sources into a shared service and gives legal specialists tools to organize and explain it. The authors examine where natural language processing can take on some of that work while leaving specialists responsible for verifying the results.
The paper follows several decisions a knowledge engineer makes when maintaining a legislative collection. To suggest article topics, Eunomos represents legal texts by weighted terms and learns from documents that already have category labels. To find related legislation, it ranks articles by textual similarity and uses the scores for each search to decide how far down the list to go. To interpret explicit references, it checks whether the words around a reference fit a pattern for an operation such as repeal or substitution. These tasks support different uses of the collection, from filtering a newly published law by subject to tracing a change back to the provision it affects.
In the regional tax collection used for the classification experiment, retaining only terms with positive Information Gain raised overall accuracy from 70.85% to 76.23% in cross-validation. The benefits varied by category, and the classifier still failed on the category with the fewest examples. In the related-article experiment, choosing the cutoff from the similarity scores performed better on the paper’s topic-based test than using a fixed cutoff. On a separate test of reference annotation, the new pattern system recorded precision of 98.56 on the table’s percentage scale, compared with 83.0% for the earlier system evaluated on the same test set.
Eunomos also connects wording in legislation to entries in a multilingual legal ontology, a structured inventory of concepts and the terms that can express them. The authors describe early work on recognizing variants of known expressions and a more ambitious extension that records legal prescriptions, including whom a rule addresses and what kind of prescription it expresses. The term-linking results are preliminary, and specialists still entered the prescriptions by hand. The evidence is therefore strongest for specific steps in maintaining the collection. The paper offers a design for combining those steps into a service while showing how much each still depends on the quality of its source documents, rules, categories and expert review.
Deep dive: NLP Challenges for Eunomos a Tool to Build and Manage Legal Knowledge
Eunomos uses text classification, similarity search and language rules to help legal experts organize, link and interpret legislation. · about 33 minutes to read
The problem and its context
Access to the text leaves work to do
A legislative portal can give a reader the wording of a law. The reader may still need to find the provisions it refers to, decide which ones it changes and locate the definitions that apply. The authors describe those tasks as especially difficult when laws originate from different authorities, change frequently or appear to conflict. A definition may be in the act a reader has open, in another piece of legislation or in a judicial or scholarly interpretation. Even a reader who has located all the relevant texts has to decide which context governs the expression in question. That gap between access to documents and access to usable legal knowledge is where the authors place Eunomos within Legal AI.
The service is designed to present European, national and regional legislation through one interface. A shared collection reduces the need for each client to assemble and maintain the same material independently. It also creates a continuing editorial responsibility. Someone has to review new documents, organize the material and keep descriptions and links current for the people using the service. In the authors’ design, knowledge engineers carry that responsibility with computational support. The user sees the results as navigable documents, subject categories, contextual explanations and notices about legislation that may be relevant.
Subject is a finer-grained question than the title of an act might suggest. The paper observes that Italian legislation can include articles about unrelated domains in the same act. An alert about the entire act and a view of the particular articles relevant to a user serve different needs. The alert tells the user there is something to inspect. The filtered view helps the user find it. Both depend on assigning categories, but article-level organization matters especially for the latter. The authors frame this as a task for text classification.
The authors expect that classification will be difficult because texts from different legal domains can resemble one another in both style and content. A classifier must find evidence for the subject amid wording that may recur across categories. There is also a practical problem with obtaining examples. A legal collection becomes useful for training once enough of its articles have already been organized by subject. During construction, the need for suggestions can arise before that stock of reviewed examples exists. The paper’s similarity search has a role at that earlier stage because it can start with a document a specialist already knows to be relevant.
What existing tools supplied
Eunomos begins with structural markup. Legislative portals frequently supply HTML or PDF, and the XMLLeges parser converts such material into a common XML format for Italian legislation. The resulting structure makes the components of a document individually addressable. A reference to a particular article can then take a reader to that article. The paper treats this as the foundation for asking questions about the content. Navigation to the right passage depends on locating a reference and its target. Understanding why the reference is there requires an additional judgment about its function.
The earlier reference-annotation work by Lesmo and colleagues attempted that richer judgment with a multi-layered architecture. The authors identify a difficulty with passing the results of a general-purpose syntactic parser through successive stages. A mistake in the parse can affect the eventual legal annotation. Their own approach keeps the language conditions for each recognized pattern close to the rule that assigns the annotation. The comparison concerns the task of interpreting references on a shared test set. The broader question of what happens when a whole legislative feed passes through the service involves more stages.
For subject classification, the paper draws on a standard representation of documents as vectors of terms and on earlier work showing that support vector machines can be effective with large text vocabularies. A vector records a weight for each term included in the representation. With many possible terms, the resulting space has many dimensions, even though a particular article may use relatively few of them. The authors take this as a reason for choosing a support vector machine. They point to the foundational work on Support-Vector Networks and the application to Text Categorization with Support Vector Machines.
The paper also describes familiar ways of simplifying that representation. A stopword list removes common words judged uninformative, and linguistic normalization groups inflected forms under a shared dictionary form. Some pipelines then retain nouns as the main evidence for category decisions. The authors see value in doing more of this work with an Italian parser that can use the syntactic role of a word when processing it. They argue that resources with general coverage can miss specialized legal terminology. Their discussion uses WordNet as an example of the kind of lexical resource used in conventional preprocessing.
Similar words, different legal questions
A similarity search starts from a known text and looks for other texts that resemble it. The paper describes cosine similarity as a familiar technique in information retrieval. The main design question here is how much of the resulting ranking to return. A fixed cutoff gives every search the same number of results. The authors build on earlier work that examines gaps in the ranked scores and lets the stopping point depend on the query. That matters in a collection where one provision may have a cluster of close neighbors and another may have only a few strong matches.
A related article can help an expert investigate whether new legislation implicitly changes older law. An explicit reference presents a different problem. The target may already be identifiable, while the reference’s legal function still needs interpretation. The Italian markup standard gives the authors vocabulary for representing the details of a modification. It distinguishes the provision that makes a change from the one affected, and it has room for the kind of change, the text involved and qualifications on its effect. This gives annotation a defined destination. A rule can suggest both a category and the roles of particular spans of text.
The terminology work starts from the Legal Taxonomy Syllabus. In this resource, terms are the expressions that appear in documents, while concepts carry the meanings that those expressions can denote in particular settings. That distinction helps explain why a single dictionary lookup is an inadequate account of legal meaning. An expression found in one area of law can require a different entry elsewhere, and several expressions can point to the same entry. Eunomos uses this separation to connect the reader’s encounter with a phrase to a curated description and its legislative sources, a task in ontology engineering.
Prescriptions pose a further problem. A user may need to know whether a statement imposes an obligation or grants a permission, whom it concerns and where the consequence of a violation is defined. A single passage may express these details through several dependent clauses, a list or a reference to another document. The authors characterize legal text as relatively underexplored in information extraction and report a scarcity of suitable annotated examples. They look to earlier work on finding equivalent expressions as a possible starting point. At the stage reported in the paper, the prescription structures were populated by legal specialists.
The method, step by step
Give articles and references stable targets
Eunomos downloads legislation from web portals. XMLLeges, developed by ITTIG CNR, converts the documents to the Italian legislative XML standard, which the paper also calls NIR. The conversion identifies structural units such as acts and articles and assigns Uniform Resource Names, or URNs, to addressable elements. Those identifiers provide a common way to refer to a passage even when its position in a reading interface differs from its position in the original document. Where conversion recognizes a reference, the service can turn it into a hyperlink.
The figure traces how the document structure supports several kinds of enrichment. The steps after conversion summarize related activities. In day-to-day use, the dependencies vary with the task. A researcher can follow a reference or inspect similar articles before a new article has a trusted category. A proposed link to a legal concept, by contrast, can use the article’s category to narrow the search. Prescription entry is included because the paper describes that extension as part of the system. The experts enter those records manually.
How Eunomos organizes and enriches legislation
The steps in order.
Learn topic labels from examples
The classification procedure starts with texts paired with labels. In routine use, those examples can come from articles that knowledge engineers have already categorized. For the reported experiment the authors turn to published groupings from the regional tax office in Piemonte, because the Eunomos inventory was still being assembled. The system can use the association between features and labels to suggest a domain for new material. The paper describes semi-automation in the editorial workflow. The classifier itself learns from labeled examples, with similarity search available to help find material for labeling when a domain is new.
The first processing step turns an article’s wording into features. Eunomos uses TULE, an Italian parser that identifies grammatical relationships between words. It can use these relationships to help distinguish grammatical uses of a form and select information-bearing units such as nouns and verbs. It also supplies a dictionary form, or lemma, so inflected forms can be counted together. The paper’s broader motivation is to retain useful distinctions while reducing variation caused by grammar. The relevant operations are dependency parsing and lemmatization.
The authors see another potential use for a parse. A subtree can group words that together express a larger idea. Such a group could be used as a feature alongside individual normalized terms. That possibility belongs to the research agenda described by the authors. The classification comparison reported in the paper concerns the selection of term features. Its scores give no separate estimate for adding syntactic subtrees.
In the vector representation, a term occupies a dimension and an article has a weight along that dimension. The paper uses TF-IDF for those weights. Term frequency captures how much a term occurs in the document, while the inverse document-frequency part reduces the influence of words common across the collection. This affects how the text reaches the classifier. A term appearing in many texts has a different role in this weighting scheme from a term that concentrates its occurrences in fewer of them. The category label is associated with the resulting vector during training.
The classifier is a support vector machine trained with Sequential Minimal Optimization and a polynomial kernel. The features are the weighted term dimensions and the labels indicate the categories the classifier should learn to distinguish. The kernel specifies how relationships between inputs enter that learning procedure. The WEKA toolkit provides the experimental framework for fitting and validating the classifier, and an external application based on WEKA supplies the classification component incorporated in Eunomos. The paper describes the principal choices without specifying every option of the training configuration.
Feature selection comes after building a representation from terms. The authors use Information Gain to rank features by how informative they are about the distribution of category labels. A term can have some weight in a particular article and still contribute little to separating the categories. Information Gain addresses the second issue by looking at the term in relation to the labels. Eunomos uses a threshold of 0.0 for the reported comparison. The selected representation retains terms whose Information Gain is positive.
The validation setting is written as follows.
n = 10
Here, n is the number of folds in cross-validation, = assigns its value, and 10 is the fold count chosen for the experiment. Cross-validation divides the available material into parts and uses held-out parts to test predictions from the classifier trained on the remaining material. The paper also reports a run that trains and tests with the same data. That run addresses how well the classifier reproduces labels on material it has seen. The held-out folds address how well it assigns labels to material withheld for evaluation.
Find the stopping point for a similarity search
For a similarity search, Eunomos starts with one item and produces a ranking of other items in the collection. The authors call the measure cosine similarity. It compares the directions of the term vectors, so texts with similar patterns of term weights can score highly even when their vectors differ in magnitude. That gives Eunomos a way to place articles with related vocabulary near a query article. The equation and the exact weighting configuration for this search are left unspecified in the paper. The part it describes in detail is how the ranking is cut off.
The simple alternative places a cutoff after a fixed number of items. The paper calls this number k. In that version, k refers to the number of ranked articles returned for every query. If the scores decline sharply early in the ranking, a fixed cutoff might include results beyond the sharp drop. If strong scores continue farther down, it might cut off a group of useful candidates. The authors instead examine consecutive similarity scores and choose the boundary where the drop is largest. In this version, k is the position determined for the individual query.
The paper describes the evaluation using an input article a and the group of articles Sₐ retrieved for it. The subscript a attaches that group to its input article. For the test, an article in Sₐ is judged against the known topic of a. Topic agreement gives the researchers a way to check the ranking against an existing set of labels. A specialist using the same search to investigate legislative change can use the results to choose what to read, then examine whether the relationship is legally significant.
A second use of the search occurs before there are enough labels to train a classifier in a new domain. The paper gives privacy as an example. A specialist begins with legislation known to concern privacy, retrieves related articles and can add a domain label to suitable results. Repeated searches can help populate a collection of examples for supervised classification. The seed article supplies a place to start. The specialist supplies the judgment that turns a suggested neighbor into a labeled example.
Interpret the function of an explicit reference
An explicit cross-reference and its function are recorded separately. XMLLeges handles much of the work of locating the reference. The Eunomos pattern system examines the wording around it and proposes a type. The starting representation comes from the Italian legislative standard, which allows metadata to be attached to a structured element or span through a URN. It can represent the provision that acts, the provision it acts on and the operation itself. The same representation can store timing, replacement or removed text, exceptions or other qualifications, geographical reach and conditions governing the change.
This structure matters because a modification has several parts that need to be kept distinct. The sentence making the change belongs to the new legislation. The affected provision can belong to a document elsewhere in the collection. A substitution may also identify material that takes the place of the previous text. Qualifications can further limit when or where the change applies. The standard gives names to these roles. The patterns described in the paper target specific configurations of words and references from which some roles can be assigned.
The rules are encoded in XML. A rule begins with a keyword identified by its lemma, written K1 in the paper’s schematic. Morph K1 denotes the required morphological description of the occurrence that triggered the rule. The forward positions are labeled from W n1 through W nx, where n marks the following side and x identifies the ending position in that sequence. The backward positions run from W p1 through W py, with p marking the preceding side and y identifying the ending position on that side. Each position has a required morphological description. The dist entries are maximum gaps between successive items in the pattern. For example, dist n1 bounds the number of intervening words between the keyword and the first required item that follows it.
When a keyword occurs, the system checks the morphology of that occurrence and looks on both sides for the expected items. The items must meet their descriptions and appear in the specified order within their distance limits. A successful match assigns the provision the type labeled T1 in the schematic. In an actual rule that slot contains a legal category. The matched items may include recognized references, in which case the rule can give them more specific roles, such as norma for the affected norm, novella for replacement material or posizione for a position. The output is an annotation of both the provision and the references identified by that rule.
The paper illustrates a repeal pattern with the Italian verb sopprimere, meaning to suppress. Once it has found a verb with that lemma, the rule checks for a form of essere, meaning to be, among the preceding 2 words. It then looks for a reference among the five words preceding that auxiliary. A successful match labels the provision as abrogazione, or repeal, and marks the reference as the affected norm. The authors’ discussion of the distance setting shows why the auxiliary can be separated from the trigger. Italian passive formulations can contain different sequences of forms of essere while expressing the same basic relationship.
A substitution example shows why the left context and the trigger verb are insufficient in some cases. A passage can use abrogare, the verb for repealing, while also identifying another provision that takes the place of the one affected. The more specific rule retains the checks on the preceding words and looks immediately after the trigger for da. It then requires a reference among the five words following that preposition and marks that reference as replacement material. The substitution rule has higher priority than the illustrated repeal rule. Priority is the mechanism for letting the more specific interpretation win where a broader rule might otherwise produce a misleading annotation.
The paper presents this as an incrementally maintained system. Knowledge engineers can identify a recurring construction, express it as a rule and decide where it belongs in the priority order. The rule expresses the local evidence needed before the system makes an annotation. Its narrowness is part of the design. Each additional construction a maintainer wants to recognize has to be described sufficiently well for the system to distinguish it from neighboring cases.
Connect expressions to the relevant meaning
The Legal Taxonomy Syllabus keeps concept records and terms in separate database tables. A concept belongs to a taxonomy and can be associated with several terms. A concept record carries its language, jurisdiction and domain, as well as a natural-language description, pointers to relevant articles, notes and links to related concepts. These fields distinguish the job of finding a term in text from the job of explaining its legal meaning. The expression is what the reader encounters. The record supplies the context needed to interpret it.
A knowledge engineer can use the Eunomos interface to add entries while reading a definition in the law. This connects the entry to the legislation on which it is based and lets the resource grow during the work of organizing the collection. The system can already highlight exact matches to terms it knows. The semi-automated extension described in the paper aims to make suggestions when the legislation uses a different form of a known expression or when a term could point to several concepts.
TULE supplies grammatical categories for words, an operation called part-of-speech tagging. The tool looks for nouns and verbs as well as candidate compounds. A custom pattern matcher uses TULE’s dictionary forms to recognize related expressions. The paper illustrates the idea with the compact expression bank director and the expanded phrasing director of a bank. The words that carry the relationship can recur across both forms even though their order and the intervening words differ. The matcher gives the system a means of proposing the same known terminology for both.
The lookup also uses the domain assigned to the article. The tool searches the appropriate specialist portion of the ontology, which reduces the number of competing interpretations. In this part of the workflow, topic classification supplies contextual evidence for a term-to-concept link. A knowledge engineer checks the suggestion before accepting it. The paper gives the Italian word rischio as an example of a word that can be assigned the wrong grammatical category by the tagger. Common errors of this kind can motivate changes to the matching rules.
The authors treat recognition of known terminology and discovery of new ontology material as separate stages. An expression can be absent from the term table yet express an existing concept, or it can suggest a concept worth adding. The paper considers several ways to generate candidates, including importing material from general legal resources and exploring a corpus from a specialist domain. TMine is discussed as a possible way to start from unstructured texts and propose an initial organization. The authors want that process to consider complete noun phrases as well as individual terms.
The paper also considers Cosena for finding words and phrases used in contexts similar to those of existing terms. The proposed comparison takes account of how often an expression occurs in relevant contexts and how often it occurs elsewhere. This could surface alternative names for a known concept or terms for which a new entry might be warranted. The method supplies evidence about use. The decision about the legal meaning of a proposed entry still belongs to someone who can inspect the legislation and its context.
Represent prescriptions for expert entry
The extension for legal prescriptions records the kind of prescription, the role it addresses and the role that benefits from it. The kind is stored in a deontic field, which distinguishes an obligation, prohibition, permission or exception. The active role is the addressee, such as a director or citizen. The passive role is the beneficiary. The structure also has places for a crime associated with violation of an obligation or prohibition and for the sanction that applies. URNs connect these entries to definitions in legislation, including material outside the act being read.
The representation lets legal specialists connect facts about a prescription that may be distributed across sources. An article may address a class of actors and impose a duty, while another legislative source supplies the definition of a relevant offense. Tracking the source of each entry matters to a user investigating where a claimed duty or consequence comes from. The representation also makes the difference between the addressee and beneficiary explicit, which can be hard to recover by looking at a single subject or noun phrase in isolation.
At this stage, specialists performed the extraction and populated the prescription records manually. The authors discuss investigating unsupervised approaches because suitable legal annotations are scarce. An example is TEASE, which associates a lexical entry with a fragment of a dependency parse and provides a starting point for grouping equivalent formulations. The authors suggest considering patterns that connect active and passive phrasing. This is a proposal for studying ways the same information can be expressed, drawing on Scaling Web-based Acquisition of Entailment Relations.
Experiments and results
Classifying texts from the Piemonte tax portal
The classification experiment uses the labels published by the tax office of Regione Piemonte. The source gives the authors a test collection while their own inventory is still being built, with much of the inventory work focused on financial regulation and health and safety. The paper calls the task article-level classification, but describes the source as a classification of legislation and refers to documents in its account of the class sizes. It does not specify how the portal’s labels were transferred to individual articles or how articles from the same act were grouped for validation. The results are best read as estimates for the labeled regional tax collection used in the experiment.
The direct baseline is the same kind of support vector classifier without the Information Gain feature filter. The paper reports an accuracy of 71% for the cross-validated classifier in its first description of performance. In the comparison with feature selection, it gives the baseline as 70.85% and the filtered result as 76.23%. These figures measure the share of classifications that agree with the known labels overall. The paper separately reports 90% accuracy when the classifier is trained and tested on the same material. That score describes fit to seen examples and belongs to a different evaluation setting.
Overall classification accuracy on the Piemonte tax collection in 10-fold cross-validation
Selecting terms by Information Gain improves overall accuracy.
The numbers
| System or setting | accuracy % |
|---|---|
| SVM without Information Gain | 70.85 |
| SVM with Information Gain (this paper) | 76.23 |
The paper also reports class-level precision, recall and F-measure. Precision for a class concerns the share of its predictions that belong in that class. Recall concerns the share of actual examples in the class that the classifier finds. F-measure combines those aspects into a single score, so a setting can be judged on its ability both to find the examples and to avoid assigning the label incorrectly. The weighted averages summarize the results across classes. They can look favorable even while a class with few examples performs poorly.
In 10-fold cross-validation, weighted recall is 0.71 without feature selection and 0.76 with it. Weighted precision rises from 0.69 to 0.74, and weighted F-measure rises from 0.70 to 0.74. The class breakdown shows that the aggregate gain is distributed unevenly. C2’s F-measure rises from 0.67 to 0.73, C4’s from 0.71 to 0.80 and C5’s from 0.91 to 0.95. C6 goes from 0.50 to 0.80. For C1, F-measure falls from 0.28 to 0.26. The classifier’s F-measure for C3 is 0.0 in both settings.
C1 illustrates why the separate metrics are worth reading. Its precision rises from 0.32 to 0.33, while its recall falls from 0.25 to 0.22. The selected features yield a slightly higher share of correct predictions among the items assigned to C1, while recovering less of the class. For C3, the paper records 0.0 for recall and precision under both settings. The authors attribute this outcome to the category containing only three documents. The weighted results describe the collection as a whole and leave this failure visible only when read alongside the class-level scores.
The authors also give 74.45% as the separability index after feature selection and report a change of +4.5% for that index. The index describes how well the categories are separated in the feature representation. It is a different quantity from classifier accuracy. The authors connect its improvement to the increase in SVM accuracy and interpret the joint movement in light of earlier work on feature selection. The paper’s performance evidence comes from the classifier’s predictions under the reported evaluation, with the index serving as an additional diagnostic.
Searching for articles on the same topic
The similarity experiment uses article topic labels as its reference judgment. Given a query article, the authors check whether the articles returned by the search share its topic. The comparison holds the basic cosine-similarity ranking in place and changes the stopping rule. One approach takes a fixed number of articles from the ranking. The other chooses the cutoff from the largest gap between adjacent scores for that query article.
The reported figure shows higher accuracy for the adaptive choice than for the fixed cutoffs that were tested. The paper’s discussion gives the direction of the comparison without tabulating point values. The result establishes that looking at score gaps helps on the authors’ topic agreement criterion. That criterion captures a practical reason to retrieve an article when building a subject collection. It leaves the success of finding an article that has actually been changed by new legislation open.
The choice of metric also shapes what the comparison tells a reader about the returned lists. Two methods can return the same highly ranked articles but differ farther down, where the fixed cutoff may extend beyond a pronounced gap. The test supports using the ranking’s shape to make that choice for an individual article. It does not supply the number of legally relevant articles missed by either choice or show how many suggestions a specialist would accept for any purpose other than matching the topic.
Annotating explicit references
For reference interpretation, the authors evaluate their rules on the same test set used by Lesmo and colleagues. The earlier system is the baseline. Its processing architecture uses several layers of analysis. Eunomos uses custom patterns that assign a legal annotation when an occurrence satisfies their conditions. Using the same test set makes the reported metrics directly relevant to the authors’ comparison of the two whole systems.
The comparison reports recall and precision. Recall measures coverage of the annotations expected in the test set. Precision measures correctness among the annotations a system supplies. The baseline records 71.7% recall and 83.0% precision. The Eunomos column gives 86.60 for recall and 98.56 for precision, on the same percentage scale. The table omits the percent sign from the Eunomos entries, and the authors describe its precision as close to 100%.
Reference annotation precision on the shared Lesmo test set
The Eunomos rules produce a higher share of correct annotations.
The numbers
| System or setting | precision % |
|---|---|
| Lesmo et al. system | 83.0 |
| Eunomos pattern rules (this paper) | 98.56 |
Reference annotation recall on the shared Lesmo test set
The Eunomos rules also recover more of the expected annotations.
The numbers
| System or setting | recall % |
|---|---|
| Lesmo et al. system | 71.7 |
| Eunomos pattern rules (this paper) | 86.60 |
The authors attribute the precision to the rules’ selective behavior. Each rule makes the annotation conditional on a recognized expression and valid surrounding evidence. That account explains why the system can avoid accepting candidates that reach the end of a more general analysis despite an earlier parsing error. The score comparison itself evaluates complete systems. It does not isolate which of the rule system’s design choices accounts for the difference, or show how performance varies among kinds of modification. The authors call for a deeper comparison.
Term linking and prescription entry
For term linking, the authors report preliminary experiments with very high recall and precision. They give no numeric values for those metrics, and the paper does not describe the test-set construction or a measured baseline for exact matching. One concrete figure describes the inventory itself. It contains 500 terms connected with compliance. That count indicates where the resource had been developed in response to interest from users. It measures the number of terms in that area, without telling the reader how many concepts they express or how much legal language the inventory covers.
The prescription extension has a different evidential status. The paper describes its fields, their connections to legislative sources and the expert workflow for filling them. It gives no result for automated prescription extraction because the extraction work described there is manual. The discussion of equivalent formulations identifies one avenue for future investigation. The data and metrics elsewhere in the paper support narrower tasks, such as identifying the topic of a text or interpreting an explicit reference.
What the ablations show
Removing terms without positive Information Gain
The paper gives a controlled feature comparison and a comparison of search cutoffs, alongside a whole-system reference evaluation. The classification comparison comes closest to an ablation because the reported change is whether the SVM receives the term representation with or without the Information Gain filter. At the reported threshold of 0.0, the filtering condition keeps all features with positive Information Gain. The test therefore examines the value of discarding features judged uninformative about the labels. It leaves questions about alternative thresholds and the value of particular subsets open.
For the Piemonte tax data, that filter improves overall accuracy and the weighted measures. The separability index also rises, consistent with the authors’ account that the selected representation better separates categories in this collection. This joint movement gives the result more context than an accuracy figure alone. The index is measured on a representation altered by feature selection, and the improvement in classification is measured separately. Their agreement in this comparison supports the authors’ interpretation for the tested setting.
The individual categories provide the most direct check on any general statement about the filter. C6 shows a strong gain in both coverage and precision, with recall rising from 0.40 to 0.80 and precision rising from 0.67 to 0.80. C1 shows a different balance, with a small gain in precision and a decline in recall. For C3 the result stays at 0.0. A feature selection procedure can change what information the classifier uses from the existing labeled collection. The C3 outcome shows that, in this experiment, it did not solve the practical problem of learning a scarcely represented category.
The paper argues for syntactic preprocessing, but the feature selection comparison keeps that design in the background. It offers no side-by-side evaluation of TULE against a stopword-based pipeline, a general lexical resource or a representation restricted to nouns. The authors’ example of specialized terminology motivates their choice. The measured comparison supports the use of Information Gain in the representation they evaluate. It gives the reader a narrower basis for attributing the improvement.
Changing the cutoff while keeping the ranking
The retrieval experiment isolates a decision about the output of the search. Cosine similarity provides the order, and the comparison changes how the list is truncated. The largest-gap rule improvements are therefore evidence about choosing an endpoint. The ordering itself is shared across settings. This is particularly relevant when the ranking gives a group of close matches followed by a marked drop, because the drop offers evidence about where to stop that a predetermined list length cannot use.
The experiment’s class labels make the comparison repeatable within the collection. They also determine what counts as success. A cutoff selected from the scores agrees better with the topic judgments in the study. The comparison gives no legal assessment of articles on either side of the boundary. A shared subject can make a result valuable to a knowledge engineer assembling training examples, while the question of implicit modification requires examining what the provisions do.
For the same reason, the retrieval comparison does not validate the complete process of starting a new specialty with a handful of known texts and ending up with a useful classifier. It evaluates one step in that process, choosing what to show after a search. That step can affect which candidates experts see, but the paper does not track the eventual quality of labels gathered in this way or the resulting classifier’s accuracy for a newly established domain.
What the rule examples explain
The repeal and substitution examples show how a rule can exploit evidence that a trigger word alone leaves unresolved. A construction that names only the affected norm gives the system different evidence from one that also introduces replacement material. The subsequent preposition and reference supply the extra condition for the substitution interpretation. Giving the specific rule higher priority lets the matcher act on that extra evidence when both a general and a specific reading might otherwise be available.
This is an analysis of individual constructions, and it provides a reason for including context checks and priorities. The paper gives no score for a version with priorities disabled, or for rules restricted to keyword matches. It likewise gives no separate comparison of the backward checks and the forward checks. The examples make those design choices interpretable. The shared test reports the effect of deploying all of them together against the earlier approach.
The improvement in both reported reference metrics is compatible with the authors’ explanation of the rules as a filter for valid constructions. Since recall as well as precision rises, the evaluated system covers more expected cases on that test while making a higher share of correct annotations. The comparison leaves several explanations entangled, including the scope of the rules written for the task and the earlier system’s dependence on its sequence of parsing stages. The authors’ discussion of error propagation supplies a plausible mechanism and a reason to inspect errors by construction in a fuller evaluation.
Limitations
Limits the authors identify
Legal knowledge management requires accuracy that the authors expect domain experts to verify. The approach reduces parts of the work by proposing categories, links or annotations for inspection. The paper places particular weight on the distinction between a suggestion and an accepted entry. A plausible match in an article may still point to the wrong meaning, or a correct identification of a legislative reference may require further work to interpret the effect of that reference. The authors see potential efficiency gains from semi-automation and leave their size unmeasured.
Several of the tasks are limited by the labor required to create and maintain specialist data. The classification study relies on labels made available by the tax office because the collection within Eunomos was still growing. For a new domain, the authors propose using similarity to find examples that experts can then classify. The feature-selection result for C3 illustrates the problem of learning from few examples even where a labeled collection already exists. The authors ascribe the lack of successful classifications for that category to its size.
The rules for reference interpretation impose a different kind of maintenance burden. The authors describe the system as easier to handle and faster to run than the earlier multilayer architecture, while also describing the addition of rules as slow and tedious. A concise rule can be straightforward to inspect once written. Discovering recurrent constructions, refining their conditions and assigning priorities still takes time. The authors call for deeper analysis of the comparison with the earlier system, and the reported evaluation gives no timings for execution or rule development.
The paper marks the term-linking results as preliminary. Mistakes in grammatical tagging can prevent recognition or lead to a bad suggestion, and the knowledge engineer has to inspect the proposed links. The authors consider amending the matcher for recurring tagging errors. Expanding the ontology requires further work, whether through entries from other resources, automatically proposed terms or manual definitions collected during editing. The reported compliance inventory is evidence of effort in one area. Extending comparable coverage to other areas remains an aim.
The authors describe several difficulties for extracting prescriptions. Long sentences spread relevant material across dependent clauses. A list item may rely for its interpretation on the text that introduces the list. References may point outside the current passage, and pronouns or other referring expressions can depend on material elsewhere in the same sentence or another one. These are difficulties of structure and coreference resolution as well as of terminology. The lack of appropriately annotated data adds a separate obstacle to training and evaluating extraction.
Limits of the reported evaluation
The classification results are for the regional tax collection. The service’s intended reach includes several legislative sources and areas of law, but the experiment provides no estimate of accuracy across all those settings. The report also leaves the relation between the tax portal’s labeled documents and individual articles underspecified. A reader cannot tell whether articles from the same piece of legislation could occur on both sides of a validation split. The normal use case of classifying an unfamiliar act is consequently hard to compare directly with the reported cross-validation arrangement.
The paper gives the fold count and main classifier choices. It does not state whether Information Gain was recalculated solely from the training portion of each fold or whether the same feature list was used throughout. The distinction matters because feature selection uses category labels. If the held-out labels entered that calculation, the test portion would have influenced the representation. The report does not resolve the question, so the protocol is insufficiently detailed to determine how closely the estimate reflects classification of wholly unseen material.
The results also leave open how much the measured gain depends on the features and corpus chosen. The paper gives no spread across folds and no repeated experiments across separate tax collections. The class-level reporting is valuable because it identifies variation that an aggregate would hide. It still leaves unknown which words the retained features represented, which errors changed, and how stable the findings would be if the sample of documents changed. The comparison favors the chosen filter on the reported test and gives limited grounds for selecting a filter for a different domain.
In the retrieval study, the expected result is derived from shared category labels. This gives an affordable evaluation for finding articles on the same subject. An expert looking for a provision changed by a later act needs a different judgment, tied to the relationship between the texts and the legal mechanism involved. The paper does not evaluate against a set of known implicit modifications. It also does not measure the time it takes a knowledge engineer to find a useful article with either cutoff or document how cost differs when candidates are discarded too early or kept too long.
Reference evaluation on a common test set helps with comparison, but the paper reports the aggregate metrics without a breakdown by modification type or by the role assigned to a reference. A reader cannot tell how well the system handles rare constructions, whether failures concentrate around a particular kind of exception, or which roles are most frequently missed. The treatment of examples that match no rule is important for deployment. Such cases would still need attention if the goal were to keep the annotation of a whole collection current. The aggregate results give an indication of coverage on the test without locating that remaining work.
The components also depend on one another in ways that the evaluations do not quantify. Term linking uses article domains to narrow the ontology lookup. An incorrect domain can steer the search away from the intended meaning. Reference annotations depend on recognized references and suitable word information, so a missed target or grammatical error can affect a later decision. The paper tests particular steps and gives examples of error mechanisms. It leaves the frequency of such errors across the full workflow unknown.
Finally, the prescription representation makes a useful distinction between what experts enter and what future extraction might propose. Its presence in the service does not establish performance on filling those fields from legal text. Similarly, the paper’s discussion of matching terminology from legislation to descriptions of banking processes gives the purpose of a possible extension. It supplies no evaluation of that alignment or of its effect on compliance work. The same evidential distinction applies to the service more broadly. Task-level accuracy describes particular classification and annotation judgments, while the authors’ expected savings for maintainers and readers would require measurements of the work those judgments support.
What came after
The paper points to two companion developments of Eunomos. Their descriptions show how the project used the components discussed here. They do not establish a chronology of independent follow-up studies or supply further comparative scores.
The classification development broadens what counts as evidence about an article. The experiment described here represents articles through term features. The companion work adds relations from the ontology between concepts mentioned in legislation. That carries the distinction between a term and its meaning back into classification. Once an expression is connected to a concept, a relation involving that concept can supply evidence in addition to the expression itself. The paper reports the direction of this extension without giving its measured effect.
The regulatory compliance development extends what the service records. It adds prescription structures for obligations, prohibitions, permissions and exceptions, with links to the people or roles concerned and the relevant legal sources. Its use of Eunomos builds on the document identifiers and curated concepts already available. Those components give experts a way to connect a structured account of a duty to the passages that define its parts. The paper describes those accounts as expert-entered records.
A further direction remained prospective. The authors wanted to relate legal prescriptions to descriptions of business processes, with internal banking activities as their example. The proposed connection would require reconciling the terminology in both kinds of document. A bank’s description of an activity may use different words from the provision that governs it. Connecting them is a broader task than recognizing alternative legal expressions within legislation. The paper identifies that alignment as a research problem and leaves its implementation and evaluation open.
Cite
Cite as Guido Boella, Luigi di Caro, Llio Humphreys, Livio Robaldo and Leon van der Torre. 2012. NLP Challenges for Eunomos a Tool to Build and Manage Legal Knowledge. Proceedings of the Eighth International Conference on Language Resources and Evaluation (LREC'12).
@inproceedings{boella2012nlp,
title = {{NLP Challenges for Eunomos a Tool to Build and Manage Legal Knowledge}},
author = {Guido Boella, Luigi {di Caro}, Llio Humphreys, Livio Robaldo and Leon {van der Torre}},
booktitle = {Proceedings of the Eighth International Conference on Language Resources and Evaluation (LREC'12)},
year = {2012},
doi = {10.63317/5eo5a82gzdqz},
url = {https://doi.org/10.63317/5eo5a82gzdqz}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/boella-2012-nlp-challenges-eunomos-tool-build/