Elamur Research

Automatic Extraction of Entities and Relation from Legal Documents

Paper · 2018 · Judith Jeyafreeda Andrew

Summary

A legal filing may name the people and companies involved in a transaction, describe what they did and identify the positions they held. To recover those facts for an investigation, a journalist needs to know which description belongs to which participant. The paper examines how to extract that information from French documents in the Luxembourg legal register. Its aim is to turn passages about people, companies and transactions into a graph that preserves selected connections among them. This is a task in information extraction.

The authors divide the work between a statistical tagger and hand-written rules. The tagger uses conditional random fields to identify basic spans, including names and addresses. The rules then look near recognized people and companies for wording that describes a transaction role, a person's professional function or a company's type. When a rule finds such a phrase, it also links the phrase to the participant it describes. This arrangement takes advantage of recurring forms in the filings. A phrase identifying a notary, for example, can follow the person's name, while a phrase describing a company's role can appear before its name with punctuation and numbering in between.

The authors develop the system using 35 documents and evaluate it on 21 test documents. On the test set, exact matching gives 95.29% precision and 47.93% recall. When partial matches count, precision is 95.50% and recall is 94.09%. The authors illustrate a practical difference between these scoring conditions with a representation phrase. The system can capture the words that express representation while leaving out an adverb included by the annotator. Those words can still help a reader understand the transaction. Across the test set, the much higher partial recall shows how strongly the result depends on how annotation boundaries are scored.

The authors also apply the pipeline to 2,041,111 documents and report finding 3,026,560 relations. Those documents lack the manual annotations needed to check the extracted relations at that scale. The large run shows the volume of material the pipeline processed, while the manually annotated test gives the evidence for how closely its output follows human markings.

Deep dive: Automatic Extraction of Entities and Relation from Legal Documents

How a hybrid system finds people, companies and their relationships in French legal filings, and how well its annotations match human judgments. · about 31 minutes to read

The problem and its context

From a filing to a usable connection

The legal register brings together documents about people and companies investing money or property in Luxembourg. For a journalist, a basic question is who took part in a transaction and in what capacity. The relevant details may be available in a filing while still requiring a reader to work through a lengthy passage. A company introduction can include its legal form and address alongside its name. A person can appear with a title, a professional designation and a phrase describing what that person did in the transaction. Extracting these details means tracing how pieces of text fit together.

Recognizing a participant's name is a first step. The system must locate the span that identifies the participant and assign it a category, such as person or company. A span is a stretch of text identified by where it begins and ends. A category tells the reader what kind of item the stretch denotes. This combination of locating and classifying mentions is the part of the problem known as named entity recognition.

The next step asks what belongs with the named participant. A job designation may give a person's function, and a representation phrase may give a person's role in a particular transaction. The distinction matters because those descriptions answer different questions. Someone's function as a notary identifies a professional capacity. The wording that introduces the appearance before that notary describes how the person figures in the recorded proceeding. A filing can provide both pieces of information together, and the paper's categories allow the system to retain each one.

Company descriptions present a similar distinction. A phrase can classify an organization by its legal form. A different phrase can say that the company appeared, subscribed for shares or held a particular position in a transaction. The company name gives those descriptions an anchor. Connecting each phrase to that anchor allows a reader to see which company it concerns, even when the relevant wording is distributed around the name. The resulting graph is a way to represent these identified connections. For example, it can join a person mention to a function mention and a company mention to a type mention.

The paper's objectives follow from this division of the work. The authors want to find and classify selected spans, then record the relationships among those spans. The first objective supplies the items from which the graph is built. The second makes the graph informative for questions about how people and companies figure in a filing. An unconnected collection of extracted spans would leave the reader with the work of deciding who held a position or which company a description applied to.

Why the language of the register matters

The authors treat the register's drafting conventions as evidence. In the documents they examine, useful descriptions frequently occur in the same sentence as the participant they concern. A person's name can be followed by a professional designation. A company description can begin with a conventional expression that introduces the legal form. Transaction roles have more varied positions, but they too can be signaled by recurring patterns. Once the pipeline has located a person or company, this local structure gives the rules both a place to look and a way to assign the result.

The examples also show why a shared sentence is only the starting point. A long sentence can carry several kinds of information, including details about the organization and a mention of a person involved in the act. Recognizing professional vocabulary somewhere in that sentence would identify a possible function. Connecting it to a participant calls for more specific evidence, such as its position relative to the person's name. The same applies to company types. A rule needs to use the pattern around a company mention to determine which descriptive wording to capture.

The paper works with French, the language of most of the documents in the collection it describes. The choice affects more than the words in the training examples. The rules look for French expressions and exploit how those expressions are placed in this kind of filing. Numbering, punctuation and clauses that introduce participants become part of the evidence. The language restriction and the register restriction therefore shape the same design decision. The system relies on recurring conventions in the material the authors want to process.

This design gives separate jobs to the two techniques. Names and addresses are located through learned patterns in labeled text. The rules then make use of the identified mentions and the repeated constructions that surround them. A hand-written pattern for a professional designation can be quite specific about its position relative to a person while leaving the person's actual name to the statistical stage. That lets the pattern apply to different people who occur in the same sort of construction.

The earlier work the authors draw on

The paper situates its tagging component in earlier work on conditional random fields, typically abbreviated CRFs. In sequence labeling, each item in an input sequence receives a label. For a sentence, the input items can be words or punctuation, and the labels indicate whether each item belongs to an annotated span. A CRF assigns a conditional probability to a whole sequence of labels given the observed input. Scoring the labels together allows a decision about one token to take account of how it fits with neighboring labels.

As the paper explains, conditioning on the observed input lets the tagger use properties of the text without having to give a separate probabilistic account of how those input properties depend on one another. A tagger can use capitalization, the surrounding words and nearby pairs of words as evidence. A pair of consecutive words is a word bigram. The authors emphasize capitalization and word bigrams in their own work. The earlier CRF tutorial they discuss supplies the general rationale for features of this kind.

The paper cites applications of CRFs to entity recognition in geological text and to the recognition of disorder mentions in clinical material. It describes the clinical work as comparing CRFs with support vector machines and finding an advantage for CRFs in that application. The clinical comparison belongs to the earlier study. It helps explain why a CRF was a plausible choice for a specialized corpus such as a legal register.

Another precedent brings resources from outside the labeled text into entity recognition. The paper discusses earlier work that uses web-enhanced lexicons and feature induction with CRFs. A lexicon supplies information about words or names, and feature induction concerns the selection or construction of cues for labeling. In the Luxembourg pipeline, a dictionary serves a different, clearly located purpose. It supplies candidates for professional functions in the rule-based stage. The earlier work provides context for the broader practice of combining textual cues with lexical resources. Early Results for Named Entity Recognition with Conditional Random Fields, Feature Induction and Web-Enhanced Lexicons

The authors also mention earlier work on assigning multiple labels to the same item. That is a related classification problem in which an item can belong to several categories. The Luxembourg paper uses a label sequence to find spans and then draws relations between selected spans. A company can ultimately have several linked descriptions, as the role examples show. The paper handles that case through rules for the relevant constructions.

The method, step by step

What the system is expected to mark

The work starts with human decisions about which parts of a filing should become structured information. The authors' journalist partners mark entity spans and relationships in documents from the register. These markings give the statistical stage examples to learn from, provide the authors with constructions to study when developing the rules and supply a human basis for comparison in evaluation. The annotation environment also lets a reader see a marked phrase and the links that connect it with other phrases. brat: a Web-based Tool for NLP-Assisted Text Annotation

The basic inventory covers people, companies, addresses and first names. PERSONNE marks a person's name. The paper describes NOM as the first-name category and ADDRESS as the address of an organization. In the entity inventory, the paper distinguishes SOCIETE PRINCIPALE, the main company taking part in a transaction, from SOCIETE SECONDAIRE, the category for other participating companies. In the more general description of the tagging and relation steps, it refers to the company anchor as SOCIÉTÉ.

The remaining categories describe a recognized participant. ROLE marks wording that expresses a person's or company's part in a transaction. FONCTION identifies a person's job or position. TYPE SOCIÉTÉ gives the kind of company, as when a description identifies it as a limited liability company. These descriptions are treated as spans in their own right. That choice makes it possible to check both the wording selected for a description and the participant to which it is attached.

The paper's relation inventory pairs a person with a function, a person with a role, a company with a role and a company with a type. A person-function link and a person-role link can leave the same person mention and lead to different parts of the sentence. A company-role link can coexist with a company-type link in the same way. The inventory lists addresses and first names among the tagged items, while the specified relations use people and companies as the participants whose descriptions are linked.

A helpful way to read these categories is to follow a participant through the work. The tagger first identifies the span containing a name. Once that span has a category, the rule stage can look for descriptions appropriate to it. A nearby job word is relevant to a person-function pattern. Wording about a legal form belongs in a company-type pattern. A role can attach to either participant class, so the rule has to recognize what kind of participant appears in the construction.

From legal filings to linked annotations

The steps in order.

From legal filings to linked annotationsStep 1: Annotate example filings with spans and relations1. Annotate example filings with spans and relationsStep 2: Convert basic entity labels to BIO format2. Convert basic entity labels to BIO formatStep 3: Train the conditional random field tagger3. Train the conditional random field taggerStep 4: Tag basic entities in incoming text4. Tag basic entities in incoming textStep 5: Prepare tokens and grammatical tags in GATE5. Prepare tokens and grammatical tags in GATEStep 6: Match descriptions and attach them to participants6. Match descriptions and attach them to participantsStep 7: Represent participants and their links as a graph7. Represent participants and their links as a graph

Preparing examples for the statistical tagger

The authors use a training set of 35 text files. They say these files were randomly drawn from the larger collection to support a pipeline intended for use across the register. The statistical stage needs examples that pair each input with the appropriate entity labels. The human annotations begin as marked spans, so the training and test material is converted to BIO format for the CRF implementation.

BIO represents a span with labels at token positions. B marks the beginning of an entity, I marks its continuation and O marks a token outside the entities being tagged. The beginning and continuation labels are associated with an entity type. In a multiword company name, the first token can therefore start a company span and the next token can continue it. When the tagger returns a sequence of such labels, the begin and continue decisions can be read back as a span over the original text.

This representation gives the tagger a way to learn boundaries as well as categories. Capitalization can supply evidence for a name somewhere in a phrase, while a change in the pattern of neighboring words can help mark where that phrase ends. The span boundary also determines which pieces of text are available as context for the rules. A function that comes immediately after a person's name is easier to describe as a pattern if the end of the name has been identified consistently.

Preparing the data this way involves tokenization, the division of text into units that can be labeled. A token can be a word or a punctuation mark. That distinction matters in this corpus because punctuation and numbering can occur between a cue and the company it describes. The paper describes both the conversion to BIO for the CRF stage and tokenization in the later GATE pipeline. The implementation account states the role of each preparation step at the level of the component that uses it.

How the CRF labels a sequence

The authors train the CRF using Wapiti. To set up training, they provide a pattern file that defines which features Wapiti can derive from the input. A feature is a cue expressed in a form the tagger can use, such as whether a word is capitalized or which pair of words occurs at nearby positions. The annotated training examples connect those cues with the desired entity labels. Wapiti is the implementation cited in Practical Very Large Scale CRFs.

Capitalization is useful here because the written form of a name can carry evidence about its category or extent. The examples include company names in upper-case and person names accompanied by titles. Capitalization can occur in other parts of the text as well, so the tagger can use the words nearby and combinations of neighboring words along with it. A bigram lets the tagger use a local combination directly. That supplies a different cue from the presence of each word considered separately.

For a given input, the CRF assigns probabilities to whole candidate label sequences. The input is the observed text and its available features. A candidate output is a sequence of labels, aligned with the tokens, that describes where entity spans begin and continue and where the text lies outside those spans. The conditional probability expresses how the CRF ranks that particular labeling given the observed text. The paper describes this as a joint probability over the labels with an exponential form. Its account of the implementation names the toolkit, the representation and the kinds of features it emphasizes.

The result of this stage is a set of basic annotations. The paper assigns PERSONNE, SOCIÉTÉ, NOM and ADDRESS to the CRF step. It gives the later rules access to the product of that tagging. A person or company label therefore does more than identify a span for the reader. It can enable a downstream rule that is written to recognize a construction involving that class.

This dependency is easiest to see with the notary example. If the tagger recognizes the person, the rule can look for a professional designation nearby and use that person as the endpoint of the link. If the person mention is missed, the pattern that calls for it loses the required anchor. A boundary error can matter too, since the rule may rely on where the name ends and the professional designation begins. The hybrid arrangement makes the passage from tagging to relation extraction explicit.

How the rules turn nearby wording into relations

The second stage uses the GATE text-processing environment. The paper describes a pipeline with tokenization, part-of-speech tagging and rules written in JAPE grammar. Part-of-speech tagging assigns grammatical categories to tokens, such as noun or verb. JAPE lets a rule match a sequence containing textual cues and existing annotations. That gives the authors a way to write a pattern around an item already marked as a person or company.

The rules exploit regular expressions and patterns specific to the language and document type. At this stage, the question is where the relevant wording occurs in relation to an already identified participant. When a match succeeds, the rule can mark a new span and attach it to that participant in the same operation. The surrounding pattern is evidence both for the category of the new span and for the relation. A job designation near an appropriate person mention, for example, can yield a function annotation and a person-function link.

The approach keeps track of where each piece of information came from in the sentence. A rule that identifies a type after recognizing a company can point to the corresponding type span, as opposed to supplying only an abstract company classification. A role rule can likewise point to the expression that led it to connect a participant with a transaction role. This is why annotation boundaries matter even though the ultimate objective is a graph. The spans are the textual evidence behind the links.

Finding a person's professional function

The starting observation for FONCTION is that the training documents place the function in the same sentence as the person. The GATE gazetteer supplies a place to store candidate terms. A gazetteer, in this use, is a list whose entries can be looked up in text. The authors say the existing resources lacked a suitable dictionary for people's functions, so they compiled a list of about 500 words and added it to the gazetteer.

A dictionary entry is a candidate cue. The surrounding construction determines whether the rule can use it to assign a function to a particular person. In the paper's example involving Blanche Moutrier, the person span includes an honorific and the name. The professional designation for a notary follows. The rule labels that designation as a function and records the person-function relation. The later wording about residence gives further context in the sentence, while the function annotation targets the job designation.

This example shows the different kinds of evidence available to the two stages. The first stage handles the wording identifying the person, including the way the name is written. The second can draw on the combination of professional vocabulary and placement. The dictionary need only supply the candidate function. The rule obtains the person it should describe from the tagger's output. The authors derive the pattern from the annotated training documents and use it on new text in the same kind of filing.

Following transaction roles around people and companies

The paper's role examples have more structural variety. In the authors' account, a person's role almost always appears in the person's sentence, but the role can come before or after the name. Companies can also have roles. A single rule that reads only the text immediately after a person would therefore cover only part of the target material. The authors write separate patterns for constructions that arrange the cues and participant spans differently.

The example involving Henri Hellinckx makes the distinction between role and function concrete. The function is the notarial designation that follows the name. A word earlier in the sentence introduces the appearance before the notary and is marked as the role. The rule described for this construction recognizes the person followed by the function, then selects the word preceding that sequence as the role. This uses the function annotation as a structural cue for another extraction. The person mention connects to both descriptions.

The company appearance example uses a different pattern. The phrase introducing the appearance occurs before the company name, DAEDALUS OVERSEAS INC. Between that phrase and the name are punctuation, an item number and words introducing the company. The authors account explicitly for punctuation and numbering in the rule. A plain adjacency requirement would miss the connection in the example. The structure of a numbered list is part of how the filing presents who appeared, so the rule has to accommodate it.

The example of LUXEMBOURG CORPORATION COMPANY S.A. adds another complication. The passage describes the company in connection with a share subscription and identifies it as the company's sole associate. The authors annotate both as roles of the same participant and describe using a separate rule for this situation. The example illustrates how a person or company mention can serve as the anchor for more than one piece of transaction information. The output can retain the different phrases and link each to the company.

Across person and company cases, the authors write 20 JAPE rules for roles. That number describes the role inventory of patterns. It reflects several ways the observed texts express roles, including cues before names, intervening material and passages with multiple roles. The general expectation of sentence locality narrows the search, while the individual rules handle particular arrangements within that local context.

Finding a company's type

For TYPE SOCIÉTÉ, the authors observe that the training texts place the company type in the same sentence as the company. They also identify a recurring lexical cue. The type expression begins with the French word société and continues with wording that specifies the kind of organization. The rule uses the cue together with the recognized company span and records a company-type relation.

The example involving thermo haus illustrates the kind of distinction the rule is meant to preserve. The text introduces the organization with wording that identifies it as a limited liability company. The company name and the phrase specifying the legal form have different jobs in the annotation. By linking them, the output can retain both the organization mentioned in the filing and the words used to classify it. The surrounding passage also includes other information about the organization and the act, so marking the right description is more precise than collecting every nearby phrase.

The paper gives another example in which a company name comes before a description involving family wealth management. Together, the examples show why the authors talk about a conventional cue and a company anchor rather than relying on one illustrative sentence as a fixed template. The type can be expressed in the company introduction even when the sequence of details differs. The rule-based task is to recognize the targeted wording and link it to the labeled company.

What the stages pass to the graph

The components produce two kinds of output that the graph can preserve. There are annotations over spans, such as a participant name or a professional designation, and there are links between suitable spans. The person-function, person-role, company-role and company-type patterns each generate a specific link type. Seeing these together makes it possible to trace a graph connection back to the language of a filing.

The architecture also gives the components different dependencies. The CRF learns from labeled sequences and needs its feature patterns to identify the basic annotations. The GATE rules rely on those annotations, a dictionary for functions and the patterns the authors observed in the filings. The rules use a person or company annotation at a point where the surrounding language supplies a plausible description. When one of those conditions changes, the way a link is produced changes with it. That becomes important when interpreting the evaluation of the combined pipeline.

Experiments and results

The annotated comparison

The experiments distinguish the 35 training documents from the 21 test documents. The training set supplies examples for fitting the CRF and material for developing the hand-written rules. The test set is described as previously unseen when the rules are applied. This separation lets the authors compare performance on the material that shaped the system with performance on new documents from the same corpus.

The evaluation uses brat to compare automatic annotations with manual annotations. The human markings are the reference for the comparison. The paper reports the performance of its combined approach and gives a separate error rate for the CRF stage. The comparison conditions are the scoring modes and the data splits. The paper gives no competing system score on the annotated legal filings, so there is no numerical baseline for an alternative extraction approach on these documents.

In exact mode, the automatic span must have the same offsets as the human span. Offsets locate the beginning and end of a span in the document. A system can find the intended expression and still be penalized by this criterion if it includes extra text or leaves out part of the annotated phrase. Partial mode allows agreement when the offsets do not coincide perfectly. It measures whether the extraction and the manual marking overlap sufficiently to be treated as a match under the evaluation procedure.

The reported counts are true positives, false positives and false negatives. A true positive is an automatic annotation credited with matching a manual one. A false positive is an automatic annotation without a credited match, and a false negative is a manual annotation the system did not recover under the scoring rule. Precision gives the share of automatic annotations that count as matches. Recall gives the share of manual annotations that the system recovers. Reading both helps distinguish the reliability of what was marked from the coverage of the target material.

The difference between the scoring modes is easiest to understand through the authors' example about representation. The human annotation includes an adverb meaning here that the automatic span omits. The automatic span still captures the words stating that someone is represented. The exact test asks whether the system selected the complete marked phrase, including the adverb. The partial test can credit the shorter span. The example shows a plausible reason to care about both results when the output serves as a route to information in a document.

Scores on the development material

On the training set, exact matching yields 83.91% precision and 100% recall. Partial matching yields 92.08% precision and 100% recall. The authors report 318 true positives, 61 false positives and 0 false negatives for the exact condition on that split. Under partial matching they report 348 true positives, 30 false positives and 0 false negatives. These are the paper's reported counts for the two evaluation modes.

The training scores come from the material the authors consulted repeatedly as they wrote the rules. They sought constructions that would allow the patterns to retrieve the annotations they had seen. Strong coverage there shows how the rules and the statistical stage behave on that familiar material. The training comparison also shows that the match criterion can still affect precision in an environment where the rules were developed to retrieve the observed cases.

Because the figures aggregate the annotated output, the training results give no distribution over jobs performed by the system. For instance, the precision values do not distinguish a false match for a company type from a naming error in the statistical stage. Whatever the contribution of each component, the development performance reflects the combined process on documents that informed it.

Scores on unseen filings

On the test set, exact matching gives 95.29% precision and 47.93% recall. The exact column reports 81 true positives, 4 false positives and 88 false negatives. Under partial matching, the reported precision is 95.50% and recall is 94.09%, with 191 true positives, 9 false positives and 12 false negatives. These numbers describe the automatic annotations on the 21 test documents under the two scoring conditions.

Exact and partial annotation recall on the Luxembourg test set

Allowing partial span matches credits substantially more of the human annotations.

Exact and partial annotation recall on the Luxembourg test setExact matching: 47.93Exact matching47.93Partial matching (this paper): 94.09Partial matching (this paper)94.09
The numbers
System or settingRecall %
Exact matching47.93
Partial matching (this paper)94.09

The chart compares scoring conditions for the same pipeline. With exact matching, the annotations emitted by the pipeline often meet the precision criterion, while many reference annotations go unrecovered by that criterion. With partial matching, recall is much higher and the reported precision remains close to its exact-mode value. The result makes span agreement a central part of how the test should be read. A reader interested in reproducing manual boundaries will focus on the exact test. A reader interested in retrieving the core expression may find the partial test closer to the intended use.

The report gives different matching counts under the two conditions. For instance, both the true-positive and false-positive counts are higher in the partial column of the test table. The paper explains the two conditions by their treatment of offsets, but gives little detail about how the evaluator arrives at the reported counts. The published values therefore support a comparison of the reported scores. They give limited grounds for reconstructing annotation by annotation how the same system output was counted under each condition.

The authors relate low exact test recall to the way they developed the rules. They returned to the training documents to find wordings for the target annotations. The test documents revealed a need for additional rules. This is an account of how construction coverage can affect the unseen split. It sits alongside the boundary example, which shows how the system can locate an expression yet disagree with the manual span about its extent. The aggregate tables do not say how much each issue contributed.

The paper separately reports an error rate of 3.12% for the CRF. This figure belongs to the statistical component, while the precision and recall figures are presented for results depending on both the CRF and the rules. The CRF result is reported without a detailed definition of the error denominator or a separate breakdown for each entity category. Its role in the report is to give an indication of the performance of the initial tagging component. It cannot be directly translated into a rate of correct graph links.

Running across the register

The authors' intended application extends beyond the annotated documents. The register material they describe spans 2002 to 2016. They report running the process on 2,041,111 documents and finding 3,026,560 relations. This corpus-wide result is a count of the documents processed and the relations returned by the system. It shows that the pipeline was applied at the scale the authors envisioned for the register.

Evaluation at that scale would require a reference against which to check the annotations and links. The authors did not have manual annotations for the large collection and therefore did not evaluate the results of that run. The reported count records how much relation output the pipeline generated. The precision and recall results come from the separate, manually annotated comparison.

For an investigative use, these parts of the experiment answer different practical questions. The full run shows that the authors could generate link data over the available collection. The small annotated experiment shows how the pipeline compared with human markings under explicit matching conditions. Inspection of the graph's output at corpus scale would involve questions such as whether individual descriptions were attached to the right participants and whether useful links were absent. Those questions are addressed only indirectly by the fraction of documents that were annotated and scored.

What the ablations show

The paper reports no ablation that removes or replaces a component, but it does compare training with test performance, compare exact with partial annotation matching and report an error rate for the CRF.

What changes when the match criterion changes

The exact-versus-partial comparison changes the evaluation of the annotations. The underlying extraction procedure stays fixed for this comparison. The rise in reported recall under partial matching shows that the pipeline gets credit for much more of the manually annotated material when span boundaries are treated more leniently. This is relevant to the stated aim of building a resource for journalists. A phrase can retain the transaction information an investigator would look for even when the system and the annotator selected different extents of text.

The representation example clarifies the kind of disagreement the authors have in mind. Omitting a word that locates an assertion in the current document can leave the core representation wording intact. The example supports the claim that a partial match can be useful. The overall partial recall is a separate result. It measures which outputs receive credit under the broader span criterion and does not establish that every span credited in that way preserves the full meaning of the manual annotation.

The comparison also does not isolate the stage that produced a boundary disagreement. A beginning or ending offset could be affected by the statistical tagging of an anchor, by the way a rule selects its target phrase or by the way the evaluator matches spans. The published comparison identifies the importance of the evaluation criterion. It gives no experimental allocation of the errors across those possibilities.

What the held-out documents reveal

The training and test comparison exposes where strong performance on familiar constructions gives an incomplete picture of how the system will behave on new filings. Training recall reaches 100% in both scoring modes, and exact recall on the test documents is 47.93%. The authors had inspected the training cases while formulating their expressions, so success on that material partly reflects how directly the rules were adapted to it. When those expressions are used on unseen material, exact recovery proves more difficult.

The authors interpret the drop as a reason to extend the rule inventory. The reported comparison does not include a second version of the rules evaluated on the same test set. It therefore leaves the proposed benefit of additional rules unmeasured. More rules could cover constructions the first set missed. Their effect on precision would depend on which new matches they admit. The experiment establishes the difference between the splits under the rules that were actually used.

The ability to compare exact and partial recall in each split gives this observation more detail. The test results tell the reader that the exact criterion is where coverage falls most sharply. The paper's outcome is compatible with missed constructions and with extra or missing words in recovered spans. The example demonstrates one kind of boundary difference, while the authors' account of development identifies rule coverage as a concern. The reported analyses do not quantify the balance between them.

What the component result can explain

The 3.12% error rate offers a separate view of the first tagging stage. The architecture makes its relevance clear. If a rule needs a participant annotation, the tagger's ability to produce one affects the rule's chance of firing. If the tagger supplies the wrong boundary, a pattern sensitive to adjacency may also respond differently. Thus the statistical and rule-based stages can interact even though they perform different jobs.

To assign a measured share of downstream errors to the tagger, an evaluation would have to vary the source of the anchors while holding the rules fixed, for instance by running the rules once on human-marked anchors and once on predicted ones. The paper gives the component error rate and the combined scores without such a pair of runs. The difference between those measurements is important. The component figure describes the reported tagging error, while the overall scores measure the agreement achieved by the pipeline under the chosen span criteria.

The paper's examples explain why the rules take their particular forms, including why a functional designation can help locate a role and why punctuation and numbering matter for some company mentions. They are explanatory cases. There is no corresponding comparison of results with and without the gazetteer, the capitalization cues or the extra patterns for roles. The paper establishes that these elements are present in the system and illustrates the circumstances each is intended to handle.

Limitations

Limits the authors identify

The authors emphasize the small annotated corpus. The system is trained on 35 documents and tested on 21, even though the intended application is the full Luxembourg register. Drawing training documents randomly from the collection gives the development material a connection to that larger target. The evidence about accuracy still comes from a small set of human-marked filings.

They also limit the language of the study to French. Their rules use French vocabulary, including words identifying professions and conventional wording that introduces a company type. The choice fits most of the documents in the collection as the authors describe it. The experiments address that portion of the material and provide no result for documents written in other languages.

A further limit concerns rule coverage. The authors explicitly point to their repeated use of training examples when developing the expressions and say new rules are needed to improve recall on unseen wording. The implication is especially concrete for roles. The authors already encountered constructions that place a role before a participant, after a participant or across intervening punctuation and numbering. The patterns cover the arrangements they chose to handle, and the test shows the practical difficulty of making their coverage complete.

The authors also distinguish the value of partial extraction from agreement under exact offsets. Their representation example preserves wording they consider useful for a knowledge base, even though the marked extent differs from the manual annotation. This explains how they judge the usefulness of partial output for their application. It leaves exact reproduction of the manual spans as a stricter requirement with a substantially lower recall on the test documents.

Finally, the authors state that they lack manual annotations for the corpus-wide run. The full-register relation count is consequently unevaluated. A high volume of returned relations shows how much output was produced. Determining how many of those entries are sound, how much relevant material is missing and which kinds of mistakes predominate would require evidence beyond the reported count.

Limits visible in the evaluation

The result tables combine performance from a pipeline with several target categories. They do not provide separate precision and recall for recognizing people, recognizing companies, finding professional functions or detecting transaction roles. This matters because these are different extraction problems. A name can be tagged accurately while the role it is linked to is poorly delimited, or a type can be found correctly while another category contributes most of the missed annotations. Aggregate results leave the performance of individual categories unresolved.

A similar question arises for relations themselves. The paper explains the evaluation in terms of agreement between annotation offsets, while the stated objective includes connecting the correct spans. A relation decision has endpoints and a type. Locating a phrase describing a role is one requirement. Linking it to the right person or company is another. The reported tables do not isolate link accuracy from span accuracy. They therefore leave open how reliably the graph connects the right items, especially in sentences that contain more than one possible participant.

The reported test counts leave some questions about comparison across scoring modes. Exact and partial matching have different true-positive, false-positive and false-negative counts. The paper does not give a reconciliation of those counts or detailed matching rules for ambiguous overlaps. The published percentages can be quoted for the conditions in which the authors report them. A more granular claim about how many particular boundary errors account for the difference would need an account of the items being matched.

The CRF error figure has a comparable granularity problem. With no reported denominator or per-category error rate attached to it, the reader cannot determine from that figure how often a missing person or company span prevented a relation rule from firing. Nor can the figure tell the reader whether a boundary error in an anchor was consequential for the graph. The architecture identifies these as possible paths of error propagation. The experiments do not measure them individually.

The absence of a same-corpus baseline also narrows the claim about the choice of architecture. The paper demonstrates a particular combination and gives evidence of its performance. It does not compare the combination with a rules-only tagger, a statistical relation extractor or a different feature setup on the annotated filings. Thus the evidence supports a description of what this pipeline achieved. It gives no measured advantage attributable to combining the stages rather than using another approach.

Limits of the local patterns and the graph

Sentence locality is a practical assumption in the authors' method. The rules look for descriptions near the recognized person or company. The assumption is grounded in the training material and illustrated by the examples. Its scope matters when a participant is introduced in one sentence and described in another, or when later wording refers back to the participant indirectly. The paper gives no separate strategy or evaluation for recovering those links across sentence boundaries. The local method is best understood through the kinds of constructions the authors actually use to explain it.

Even within a sentence, a participant and a plausible description can occur near each other without the connection being straightforward. The longer company example includes a legal form, company details and a person described by a professional function. The rules use particular lexical and positional cues to make sense of this structure. The paper gives no systematic evaluation broken down by the number of possible anchors in a sentence. The reader therefore has examples of patterns that the authors addressed, without a measure of how the system resolves competing attachments in general.

The graph raises a further question about records drawn from different documents. The described pipeline finds mentions and links in filings. Showing that separate mentions refer to the same person or organization across filings would involve additional evidence about identity. The paper's account does not give a procedure or result for matching those records across documents. Its strongest evidence concerns recognizing textual spans and extracting links grounded in the wording of a filing.

The investigative aim is the motivation for producing the graph. The experiments measure annotation agreement and report the amount of output generated on the register. They do not report a study of journalists using that graph to complete investigations, find connections they would otherwise have missed or evaluate particular extracted claims. The annotated examples help explain how a recovered phrase might serve that audience. The empirical result remains an extraction result on the tested corpus.

What came after

Labor Lex: A New Portuguese Corpus and Pipeline for Information Extraction in Brazilian Legal Texts cites the Luxembourg study and presents a Portuguese corpus and an extraction pipeline for Brazilian legal texts. Its title puts the collection and the pipeline together, continuing the broad concern with how to organize legal material for automated extraction in a specific language and legal setting.

The connection is clearest at the level of the task. The Luxembourg study starts with a register, defines what its annotations should capture and builds a pipeline around recurring forms in those documents. Labor Lex addresses information extraction in a different body of legal text and contributes a corpus alongside its pipeline. The citation establishes that the earlier work forms part of the later paper's background. The description of Labor Lex leaves the degree of methodological reuse unspecified. It gives no basis for attributing the Luxembourg paper's particular combination of CRF tagging, local rules or relation categories to the later pipeline.

Cite

Cite as Judith Jeyafreeda Andrew. 2018. Automatic Extraction of Entities and Relation from Legal Documents. Proceedings of the Seventh Named Entities Workshop.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/w18-2401

@inproceedings{jeyafreeda2018automatic,
  title = {{Automatic Extraction of Entities and Relation from Legal Documents}},
  author = {Judith Jeyafreeda Andrew},
  booktitle = {Proceedings of the Seventh Named Entities Workshop},
  year = {2018},
  doi = {10.18653/v1/w18-2401},
  url = {https://doi.org/10.18653/v1/w18-2401}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/andrew-2018-automatic-extraction-entities-relation-legal/