---
title: "Development and Evaluation of Three Named Entity Recognition"
description: "A comparison of dictionary rules, Stanford NER and spaCy for finding personal names in Serbian news, with results for names, roles and…"
canonical: "https://research.elamur.ai/free/en/papers/sandrih-2019-development-evaluation-three-named-entity/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/sandrih-2019-development-evaluation-three-named-entity/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2019](https://md.research.elamur.ai/free/en/papers/2019/) / Development and Evaluation of Three Named Entity Recognition Systems for Serbian - The Case of Personal Names

# Development and Evaluation of Three Named Entity Recognition Systems for Serbian - The Case of Personal Names

Paper · 2019 · Branislava Šandrih, Cvetana Krstev and Ranka Stankovic

**Authors:** Branislava Šandrih, [Cvetana Krstev](https://md.research.elamur.ai/free/en/authors/cvetana-krstev/) and [Ranka Stankovic](https://md.research.elamur.ai/free/en/authors/ranka-stankovic/) · **Year:** 2019 · **Venue:** Proceedings of the International Conference on Recent Advances in Natural Language Processing (RANLP 2019) · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Proceedings of the International Conference on Recent Advances in Natural Language Processing (RANLP 2019) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/R19-1122/)
- [PDF](https://aclanthology.org/R19-1122.pdf)
- [DOI 10.26615/978-954-452-056-4_122](https://doi.org/10.26615/978-954-452-056-4_122)

## Summary

A Serbian newspaper can introduce someone by their full name, then refer to them by surname alone. It can also put a job or title next to the name, where a system has to decide which words belong to the name and which describe the person. Branislava Šandrih, Cvetana Krstev and Ranka Stanković compare ways of making those decisions automatically. The task of finding such mentions and assigning them a category is called [named entity recognition](https://md.research.elamur.ai/free/en/concepts/named-entity-recognition/).

The authors start with SRP NER, a Serbian recognizer built from electronic dictionaries and rules. They use it to mark up a collection of newspaper texts, then have people check the suggestions, correct erroneous marks and add names the system missed. From the resulting reference corpus, GoldPers, they derive annotation schemes for different questions. The simplest asks where personal names occur. The others distinguish full names, first names and surnames, with separate schemes for recognizing accompanying roles or for distinguishing masculine and feminine name forms. The authors train Stanford NER and spaCy on each scheme and compare both with SRP NER on a held-out portion of GoldPers and on a separately annotated sample from the daily newspaper Danas.

SRP NER achieves the highest strict F₁ in every combination of test set and annotation scheme. F₁ combines precision, the share of proposed mentions that are correct, with recall, the share of reference mentions that are recovered. On the held-out Students-Gold set, when all names receive the same label, SRP NER scores 0.877 in strict F₁, spaCy scores 0.844, and Stanford NER scores 0.842. Stanford has the highest recall in most settings. Surnames alone are harder to recognize than full names, and first names alone are a particular difficulty for all the systems. Where the label also identifies the name’s gender category, masculine names score better than feminine names.

The comparison uses exact boundaries as well as correct labels, so a system cannot earn full credit by finding only part of a name. The authors also look at what happens when an evaluator gives credit for overlapping spans. Alongside the experiments, they make the trained Serbian recognizers available through NER&Beyond, which can convert annotation formats and compare automatic results with a reference. The results show how the choice of labels and the kinds of names in a news collection shape what an overall score can tell us.

## Deep dive: Development and Evaluation of Three Named Entity Recognition Systems for Serbian - The Case of Personal Names

A comparison of dictionary rules, Stanford NER and spaCy for finding personal names in Serbian news, with results for names, roles and gender labels. · about 33 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### Finding a mention in running text

A name in a dictionary is an entry. A name in a newspaper article is a stretch of text that another program has to locate. The distinction matters if the article contains a person’s full name in one sentence and an inflected surname in another. An extractor has to find each occurrence where it appears and judge which neighboring words go with it. The output is a set of annotated mentions in the article. Repeated references to the same person can therefore contribute several instances to the evaluation.

The boundaries of a mention depend on the information an annotation scheme is meant to capture. In the paper’s example of Ban Ki-moon, the Serbian expression for Secretary General precedes the name. The words for the office and the words for the name form separate spans under a scheme that records roles. A program returning the entire sequence as a personal name has found the relevant passage, but it has drawn the name boundary in the wrong place. If it returns the name on its own, it can satisfy the basic naming task while leaving the role unrecognized under a scheme that asks for both.

This sort of markup can supply a first layer of analysis for a larger application. The authors mention tasks such as finding relevant texts, answering questions, and resolving references to something mentioned earlier. A name tag gives those applications a location in the text and a category to work with. Consider a search through news articles for mentions of people. Tagging the name helps a search system distinguish a passage that contains a personal mention from one in which the same string has a different use. Establishing whether the same person is meant across passages requires additional evidence. These are different questions within [information extraction](https://md.research.elamur.ai/free/en/concepts/information-extraction/).

#### What earlier entity schemes asked for

Personal names are a stable category in the schemes the authors discuss, although the breadth of those schemes varies. The early inventory described in the paper covered people, organizations and locations alongside expressions for date, time, money and percentages. A later proposal organized about 150 entity types into a hierarchy. For researchers defining a task, the category inventory determines what counts as a complete answer. A system that can identify a mention of a person may still have to do more work when the annotation distinguishes the form of the mention or asks for a separate title. The authors trace the earlier inventory to [Message Understanding Conference-6: A Brief History](https://md.research.elamur.ai/free/en/papers/grishman-1996-message-understanding-conference-6-brief/).

The paper distinguishes systems that rely on explicit rules, systems that learn from examples, and systems that combine those approaches. With explicit rules, a developer can inspect the patterns used to accept or reject a span. A learning system gets its behavior from evidence in annotated text, making the examples and their labels central to development. The authors describe such systems as hard to inspect in some cases and as representing the state of the art in the field at the time. They cite work on [Nested Named Entity Recognition](https://md.research.elamur.ai/free/en/papers/finkel-2009-nested-named-entity-recognition/) among the learning-based approaches they discuss.

Several software packages already made it possible to experiment with entity recognition. The paper presents Stanford NER as a recognizer that can be trained for different languages. It mentions spaCy as a Python library that supports entity recognition alongside other text processing tasks, and discusses GATE and OpenNLP as additional platforms. For the Serbian study, learning from annotated examples made it possible to ask the same set of questions of two different recognizers without writing a separate set of Serbian name rules for each. The description of Stanford NER points to [The Stanford CoreNLP Natural Language Processing Toolkit](https://md.research.elamur.ai/free/en/papers/manning-2014-stanford-corenlp-natural-language-processing/).

#### The Serbian system that preceded the comparison

SRP NER grew out of earlier work on personal names. As it developed, the system took on temporal expressions, such as dates and times, and numerical expressions, such as money and measurements. It also covered geopolitical names, and further work added organization names and more distinctions among geopolitical entities. These developments matter to the personal-name task because names can occur inside other entities. An organization may contain a person’s name in its own name, giving a system reason to preserve both an inner and an outer annotation.

The existing Serbian dictionaries were another part of that starting point. They supplied entries for ordinary vocabulary alongside entries for personal and geographical names. The distinction is useful when a word encountered in context has more than one possible interpretation. A dictionary can supply the competing possibilities, and a rule can use the surrounding words or the results of previous analysis to resolve them. The paper presents ongoing dictionary development as part of the history of SRP NER. Changes to that lexical resource could change which mentions the recognizer could handle without changing the categories the evaluator asked it to predict.

Earlier work on SRP NER also expanded the kinds of personal references it could recognize. The versions described in the paper cover combinations of surnames, given names and nicknames. The later system recognizes additional forms, including first names on their own and the ways certain distinguished people are named. It also makes a distinction between men’s names and women’s names. This earlier development gives the present study something concrete to vary. The authors can keep the original distinctions in the reference material and decide which of them a particular training or test configuration will ask the system to recover.

The paper’s central comparison therefore involves a recognizer with a development history and two recognizers trained from a shared corpus. To make the comparison meaningful, the authors need a common reference for deciding whether a prediction is right. They also need to decide how much detail that reference should preserve for each question. The same sentence can support several versions of the experiment if the original annotation identifies both the spans and the distinctions that the simpler versions will merge or omit.

### The method, step by step

#### How SRP NER builds the initial markup

SRP NER processes a text through a cascade of finite-state transducers. In this system, a transducer looks for a class of expressions and marks the ones it recognizes. A cascade passes the work from one stage to another, so later stages can use results already established by earlier ones. The stages also consult the Serbian electronic dictionaries. The key inputs to a stage are therefore the text, the lexical information available for it, and whatever markup the preceding stages have contributed.

A cascade lets a developer organize different recognition tasks into modules. The authors say that stages can be left out or rearranged, while the pre-defined order gives the best operation of the system. Their explanation is that individual stages resolve some ambiguities along the way. Changing the order can change which interpretation is already available when a later stage examines a name. For the study, SRP NER supplies name spans and, where relevant, additional information about how the person is named and what role expression occurs with the name.

The system writes its results as XML, with tags around the corresponding stretches of text. XML supports the richer markup that SRP NER can produce, including the case of a personal name embedded in an organization name. The study narrows that output to annotations relevant to people before preparing the reference corpus. It preserves such distinctions as full name, surname and first name, and includes role expressions where they accompany people’s names.

From Serbian news to comparable recognition scores The steps in order.

#### Turning suggestions into a reference corpus

GoldPers contains short news articles published on the web. Its sources include the daily newspapers Politika, Danas, Blic and Novosti, as well as the B92 news portal and the weekly magazine Bazar. The period begins in 2009 and ends in 2016. The paper reports 321,127 tokens for the collection, using the term for running words. The articles came from different publications but drew partly on the same news period, a point that later matters when the authors discuss the held-out sample.

Each article first went through SRP NER. The next pass removed annotations outside the scope of the personal-name corpus. The reviewers inspected the remaining suggestions and distinguished correct spans from overlapping spans that needed attention and markings that did not identify a name. They added omitted mentions. The authors also report correcting typos that had affected tagging. The human work consequently included checking the precision of the proposed annotations and searching the text for gaps in their coverage. This is the process that produced the study’s reference [linguistic annotation](https://md.research.elamur.ai/free/en/concepts/annotation/).

The reviewers were successive groups of students in Library and Information Sciences at the University of Belgrade, working within an Information Retrieval course. Their professor checked the work. For some texts the preparation process was repeated, with between one and four runs. The authors explain that work on SRP NER and the dictionaries continued between these runs. A later pass could thus begin with different automatic suggestions for material that had already been examined. The name GoldPers refers to the collection produced by this combination of automatic preparation and human review.

The repetitions in corpus preparation are distinct from the experiments with different sets of labels. Repeating a review pass changes the underlying annotation work. A mapping, by contrast, takes an existing annotation and decides which target label it should receive, if any. The paper experiments with the latter after preparation of GoldPers. For example, a span marked as a masculine full name can become a generic personal name for one training run and retain its detailed category for another. The text and span remain available as the same example in both.

#### Deciding what counts as an entity

The underlying markup distinguishes the form of the name from information about the type of name or person. The paper gives Mohamed El Baradei and Ketrin Ešton as full-name examples. It illustrates surname-only mentions with Obami and Timošenkove, and first-name mentions with Džim and Tamara. The surname examples show why the data contain forms as they appear in the news text. The evaluator checks the actual string at that location, including any ending carried by the form in context.

The paper also illustrates a distinction between the words naming a person and a title or description attached to that mention. In the example about Pope Francis, the word for Pope is marked as a role, while Franja is marked as a first name. The role helps a reader interpret the short name, but each part supplies a separate answer in the annotation scheme that includes roles. The same logic applies to the examples of job or office descriptions attached to full names. A role can extend over several words, making its boundary its own recognition problem.

PERS_1 maps the different name forms to the label `PERS`. A correct answer requires the system to find the name span and identify it as a personal name. In PERS_3, the target distinguishes `PERS_FULL`, `PERS_FIRST` and `PERS_LAST`. The distinction is about the mention as written. A person known by a full name can still have a `PERS_LAST` mention elsewhere in the document if that occurrence gives only the surname. Along with finding the span, the recognizer must choose the label that describes its form.

PERS_4 retains the name-form distinctions and adds `ROLE`. A role can therefore be a correct prediction in its own right. If a title goes undetected, it can count as an omission even where the associated name is correct. PERS_9 takes the name-form distinctions in another direction. It combines full name, first name and last name with the gender categories in the source markup. Labels end in `M`, `F` or `X`. The first two designate masculine and feminine names. The paper lists `X` as a separate category in its mapping and counts but gives little detail about how reviewers assigned it. PERS_9 excludes the role category.

The paper shows how the schemes change the markup in a single sentence about film awards. It includes Keneta Lonergana, Izabel Iper and Pola Ferhufena. All receive `PERS` in the most general version and `PERS_FULL` in the version that distinguishes forms. In the role version, the description of the leading character and the descriptor attached to the Dutch filmmaker receive role tags of their own. In the gender-sensitive version, the full-name labels instead carry masculine or feminine suffixes. Across these versions, the name text stays in the same place. The differences are which spans have a target label and how specific those labels are.

#### Splitting the texts and preparing spaCy input

The authors report 9, 046 sentences in GoldPers, with 8, 151 assigned to training and 895 to the held-out Students-Gold set. The four annotation schemes give parallel versions of the material. Each version is used to train a separate configuration of each learning-based recognizer. Danas-Gold, prepared separately, supplies a further evaluation set of 860 sentences. That sample uses news from 2018, after the period covered by GoldPers. Like the original corpus, it began with SRP NER suggestions and was then corrected by people.

For spaCy, the authors wrote a Python script that converts each sentence and its annotations to a training example. A label is attached to a pair of character offsets. An offset marks a position in the text, so it can specify where a mention begins and where it ends even when the mention spans several words. The character positions describe each span relative to the sentence they accompany. In this representation, the recognizer sees the text and a list of the stretches it is meant to identify.

The paper’s example uses a sentence containing a description meaning Serbian director followed by the name Aleksandar Saša Petrović. In PERS_4, the role uses start and end offsets `0` and `14`, with label `ROLE`. The name uses offsets `16` and `39`, with label `PERS_FULL`. The triples let the training record represent adjoining pieces of information as separate spans. The authors report 10 training iterations for each spaCy configuration and a dropout setting of 0.5. Dropout is a training setting that controls how much of the internal computation is suppressed during training updates.

#### Preparing Stanford NER input

Stanford NER uses a conditional random field, a statistical approach to labeling a sequence. The sequence here is the set of tokens in a sentence. A word’s label can be considered in relation to the labels surrounding it, which matters when several words form one name. The paper identifies Stanford’s implementation as CRFClassifier and describes how the authors prepared its inputs. It gives fewer details about the statistical training settings than it does about the format the recognizer consumes.

For Stanford NER, the authors convert the XML annotations to CoNLL02. Each token has a column for its text and a column for its label. The label expresses whether the token begins an entity, lies inside an entity, or is outside the named spans. `B-PERS` marks the beginning of a span in the general personal-name scheme, and `I-PERS` marks a token continuing it. An `O` token falls outside. The format builds the span from the token sequence, while spaCy’s training input describes boundaries by character position. The paper cites [Introduction to the CoNLL-2002 Shared Task: Language-Independent Named Entity Recognition](https://md.research.elamur.ai/free/en/papers/sang-2002-introduction-conll-2002-shared-task/) for the convention.

In the paper’s example, Sonja Savić and Anica Dobra occur in the same sentence. Each first-name token receives `B-PERS`, each following surname token receives `I-PERS`, and the intervening ordinary words receive `O`. The begin label distinguishes each name span in the sentence. A surname token following a first-name token can form part of the same mention even though the training data keep the words on separate lines. Converting the reference markup to this representation ties the resulting entity spans to the [tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/) used for the sequence.

The two learning-based recognizers thus receive the intended annotations in forms suited to their interfaces. The CoNLL02 representation makes boundaries a property of token labels. The spaCy input records boundaries directly against the sentence string. Those differences have to be resolved again at evaluation, where the question is whether all the systems found the same portions of the original text and gave them the expected labels.

#### Bringing the predictions into a common representation

SRP NER already gives the researchers XML. The spaCy pipeline produces a BRAT annotation file, which records each entity as a labeled span with character offsets. It also includes the text of the marked span. Its annotation file is separate from the underlying text. In the director example, BRAT retains separate records for the title and for the name, using the same offsets the paper illustrates for training. BRAT’s use of stand-off annotation is described in [brat: a Web-based Tool for NLP-Assisted Text Annotation](https://md.research.elamur.ai/free/en/papers/stenetorp-2012-brat-web-based-tool-nlp/).

Stanford NER produces CoNLL02 output. To bring its results into the same representation, the authors first convert its token labels to BRAT spans. They then use Gemini’s conversion from an annotation file plus its corresponding text to XML for both Stanford NER and spaCy. An exact comparison can then ask the same questions of a span from either system and a span from SRP NER. The file conversion is part of the evaluation procedure because the original outputs express boundaries in different ways.

NER&Beyond brings those conversions together with recognition and comparison functions. Its format support covers conversion between XML and BRAT, between BRAT and CoNLL02, and from XML to CoNLL02. The platform also offers interfaces for annotation with spaCy or Stanford NER. It provides statistics for annotated collections, including the frequencies of entity classes or attributes in documents or across a collection. Gemini can compare two XML files, two BRAT annotations, or a pair with one annotation in each format. These functions make it possible to inspect the annotations behind a score as well as obtain the score itself.

#### Aligning spans and scoring them

Gemini distinguishes the task of pairing annotations from the task of awarding credit to a pair. The pairing is one-to-one. A proposed span can correspond to at most one reference span, and a reference span can correspond to at most one proposal. That constraint matters if a recognizer produces a broad annotation overlapping more than one marked item. A one-to-one alignment keeps that broad annotation from being credited repeatedly.

The paper describes a greedy alignment that takes the closest pairs first and a maximum-matching option that seeks an optimal pairing. In the second case, Gemini treats the two files’ annotations as the two sides of a bipartite graph. Possible correspondences connect annotations across the sides. The study uses maximum matching for its trials and reports using Gemini’s strict matching type. The headline results use strict scoring, which requires the same start and end positions, together with the expected entity label.

The paper also describes weak and weighted score types. Weak scoring gives credit when a paired annotation and its counterpart share at least one character. Weighted scoring measures how much of their combined coverage they share. The paper describes the calculation in words. Expressed with sets of character positions, it is:

```
w = |A ∩ B| / |A ∪ B|
```

Here `w` is the weighted credit for a pair of annotations. `A` is the set of character positions in the span from one file, and `B` is the corresponding set for the other file. `∩` takes the positions in both sets, `∪` takes the positions in either set, and the bars give the number of positions in each resulting set. The slash divides the shared coverage by the combined coverage. Thus an annotation that extends beyond the reference can get partial credit, with the extra characters contributing to the combined coverage.

The score types address different questions about the same output. A surname inside a full-name annotation can overlap the intended mention and still be unusable as an exact reproduction of the annotated span. Weak credit captures the fact that the recognizer reached part of the right text. Weighted credit distinguishes reaching most of it from reaching only a small portion. Strict credit tests whether the predicted boundaries agree exactly with the reference. These are separate choices from the level of detail in the labels.

### Experiments and results

#### What the two test sets contain

Students-Gold consists of 895 sentences held out from GoldPers. The paper says the material was selected randomly from the larger collection. Because the training material and the held-out set come from the same collection, they share its range of publications and time period. The other test set, Danas-Gold, consists of 860 sentences sampled from 2018 articles in Danas. It supplies news from a later period, with the publication itself already represented in the broader GoldPers collection.

The authors give both the number of annotations and the number of distinct name forms. The distinction matters for the interpretation of the results. An occurrence repeated in many articles contributes several reference mentions to an occurrence-based evaluation. It contributes only once to the count of distinct forms. The training set has `6312/2825` under PERS_1, meaning 6312 tagged name occurrences and 2825 different forms. The corresponding entries are `901/471` for Students-Gold and `936/414` for Danas-Gold.

The mix of name forms differs between test sets. In the annotation that separates full names, first names and surnames, Students-Gold contains 461 full-name tags, 54 first-name tags and 386 surname tags. Danas-Gold contains 433 full-name tags, 21 first-name tags and 482 surname tags. The role scheme adds 266 role tags in Students-Gold and 269 in Danas-Gold. As a result, similar sentence counts give two tests with different opportunities for a recognizer to recover the kinds of spans that the paper later examines separately.

The training set also gives very unequal exposure to the name categories. In the scheme that distinguishes form, the paper lists 3280 full-name tags and 2672 surname tags, while first names alone account for 360. In the role scheme, the training entry for roles is `2069/1410`, with the counts again referring to occurrences and distinct forms. A learner is asked to recognize many possible role expressions in addition to the proper names themselves. The roles may be comparatively common as a category even while individual descriptions vary.

#### Which systems and metrics are compared

SRP NER provides the established Serbian baseline, with its rules and dictionaries. Stanford NER and spaCy provide the learned comparisons, each trained on the corresponding GoldPers label scheme. The common setups are therefore the test texts, the requested output categories and the evaluator. The sources of recognition evidence differ. SRP NER draws on its pre-existing linguistic resources and development history. Stanford NER and spaCy learn from the supplied examples in the training partition.

For strict scoring, precision measures the share of proposed annotations that match the reference, and recall measures the share of reference annotations recovered by the system. An extra predicted person lowers precision. An omitted reference mention lowers recall. A prediction with the wrong label or boundaries fails to recover its intended reference span under strict scoring and can also leave the system with an incorrect proposed span. F₁ combines precision and recall as their harmonic mean, so high recall by itself does not imply high F₁.

The paper’s headline comparison uses strict precision, recall and F₁. Its result table covers each system on both test sets under each label scheme. The F₁ lead for SRP NER holds across that grid. Precision typically favors SRP NER, and recall typically favors Stanford NER. Looking at the metrics separately explains why two systems can exchange advantages even in a setting where one clearly wins on F₁.

#### Names under a single label

The chart shows strict F₁ on Students-Gold for the scheme that gives all personal names the same label. As a test of simple name recognition, this scheme still requires exact boundaries. It removes the possibility of finding the correct span but losing credit for confusing a surname with a full or first name.

Students-Gold PERS_1 strict F₁ across recognizers SRP NER leads on the task of finding personal names under a shared label.

**The numbers**

| System or setting | F₁ |
| --- | --- |
| spaCy | 0.844 |
| Stanford NER | 0.842 |
| SRP NER (this paper) | 0.877 |

For the same Students-Gold setting, SRP NER has strict precision of 0.916 and recall of 0.841. Stanford NER has precision of 0.790 and recall of 0.902. The Stanford result therefore represents substantially different behavior even though its F₁ is close to spaCy’s. spaCy has precision of 0.819 and recall of 0.870. A reader interested in how many reference names appear in the predictions will see a different ordering from a reader interested in how frequently a proposed name span can be accepted as given.

For PERS_1 on Danas-Gold, the strict F₁ scores are 0.852 for SRP NER, 0.815 for spaCy and 0.800 for Stanford NER. Stanford again has the highest recall, at 0.887. SRP NER has recall of 0.847 and spaCy has recall of 0.827. The relative position of spaCy and SRP NER on recall depends on the test set here. On Danas-Gold, SRP NER also leads precision in this configuration, with 0.857. Stanford has precision of 0.729 and spaCy has 0.804.

#### Adding distinctions among forms and roles

Under PERS_3, strict F₁ on Students-Gold is 0.866 for SRP NER, 0.859 for spaCy and 0.830 for Stanford NER. This is the setting in which spaCy’s headline score comes closest to the rule-based score on that test set. On Danas-Gold, the PERS_3 scores are 0.832 for SRP NER, 0.811 for spaCy and 0.806 for Stanford NER. The two learned systems therefore preserve the same F₁ order as on Students-Gold, although their behavior across precision and recall remains different.

PERS_4 evaluates recognition when accompanying roles become an additional kind of target. On Students-Gold, SRP NER achieves strict F₁ of 0.863, followed by spaCy at 0.799 and Stanford NER at 0.767. On Danas-Gold, SRP NER has 0.841, Stanford NER has 0.738 and spaCy has 0.715. The change in order between the learned recognizers concerns the whole name-and-role task on each set. The paper’s per-category analysis is needed to distinguish performance on role spans from performance on the names themselves.

The Danas-Gold PERS_4 setting also supplies the exception to Stanford’s general lead in recall. With roles included, SRP NER recovers the greatest share of reference annotations on this test. For the same setting, its precision is 0.842, compared with 0.727 for spaCy and 0.675 for Stanford NER.

Danas-Gold PERS_4 strict recall across recognizers SRP NER leads on recall when the Danas test includes roles as well as names.

**The numbers**

| System or setting | Recall |
| --- | --- |
| spaCy | 0.703 |
| Stanford NER | 0.815 |
| SRP NER (this paper) | 0.840 |

#### Requiring gender-sensitive name labels

PERS_9 asks the recognizer to predict the form of the name along with its gender category. On Students-Gold, strict F₁ is 0.835 for SRP NER, 0.806 for spaCy and 0.784 for Stanford NER. On Danas-Gold, the scores are 0.802 for SRP NER, 0.785 for spaCy and 0.779 for Stanford NER. SRP NER therefore retains its F₁ lead when the label must express both distinctions.

Danas-Gold under PERS_9 supplies the precision exception. spaCy achieves precision of 0.812, ahead of SRP NER at 0.807 and Stanford at 0.744. Recall in that setting is 0.818 for Stanford NER, 0.797 for SRP NER and 0.760 for spaCy. A different recognizer leads each of the metrics in this case. The label scheme makes the individual precision and recall measures especially informative, because the highest F₁ belongs to the recognizer that balances those measures more favorably on the test.

#### Reading the dataset comparison

The paper’s result table and its prose disagree about which test set proved easier. The discussion says all the recognizers did better on the independent Danas sample in every configuration. In the table marked with the test-set labels, each Students F₁ is higher than its corresponding Danas F₁. The values above follow the table’s printed labels. The paper’s examples comparing individual categories with earlier SRP NER results also refer to the test sets by name, so a reader should keep the overall table and the individual-category claims distinct.

The authors expected overlapping news periods within GoldPers to help on Students-Gold, since articles from different outlets could discuss the same people. That expectation is one reason the independently sampled articles were included. Neither the unexpected direction described in the prose nor the direction printed in the table isolates the effect of recurring people. Danas-Gold also differs in publication mix, date and the distribution of name forms. The common F₁ ranking of SRP NER against the other recognizers within each condition is clear even with the discrepancy over the comparison between test sets.

### What the ablations show

#### What the label comparisons can test

The paper reports no component-removal ablation. It instead compares label schemes, tests the effect of giving credit for partially matching spans, and breaks results down by entity type. These comparisons vary the task or the way predictions are judged. The study keeps the SRP NER cascade as a functioning system and does not separately measure the contribution of its dictionaries, individual rules or cascade stages.

The closest comparison for studying the effect of label detail is between PERS_1 and PERS_3. Both cover the same kinds of personal-name spans, but PERS_3 gives separate labels to full names, first names and surnames. A boundary-correct mention can therefore fail on its category in PERS_3. For the recognizers trained on GoldPers, this change also divides the positive examples among several labels. Accordingly, the comparison combines a change in how the recognizer learns with a stricter requirement on what it has to predict.

The result does not move uniformly with the number of labels. spaCy’s strict F₁ on Students-Gold is 0.859 in PERS_3 and 0.844 in PERS_1. Stanford’s Students-Gold scores in those configurations are 0.830 and 0.842. The result for spaCy shows that a finer task definition can coincide with a higher overall score for a retrained recognizer. The experiment does not establish whether the categories supplied a useful learning distinction or whether other errors shifted between runs. Detailed counts of the individual errors would be needed to separate those explanations.

PERS_4 and PERS_9 change different parts of the task. Adding roles in PERS_4 brings in new target spans, changing what is counted in recall and what can qualify as a correct prediction. Adding gender distinctions in PERS_9 splits the name labels, with very unequal numbers of examples available for some categories. A change in overall F₁ between these settings can therefore reflect a different mix of target spans, a different requirement for labeling, or the way a recognizer responds during training. The comparisons show the behavior of each complete setup.

#### How much credit overlapping spans receive

The authors report that weak scoring produces the highest values, weighted scoring comes next, and strict scoring gives the lowest values for the systems and configurations they tested. This follows the increasing demand placed on a credited span. Consider a prediction that captures a surname within a reference full name. A weak score credits the overlap. A weighted score reflects the amount of the reference the prediction covered. Strict scoring requires the whole span. The exercise makes it possible to see that some errors under exact matching still contain part of the intended text.

The discussion says the broad relationships among the recognizers remain similar under these score types on both test sets. The strict F₁ lead is therefore accompanied by the authors’ observation that more permissive scoring did not overturn the broad comparison. This is an analysis of how the scoring rule affects the published experiment. The paper does not use it to count how frequently each system drops a given name, extends a span into a neighboring title, or makes some other specific boundary error.

#### Why first names and surnames deserve separate scores

The category breakdown shows that first names by themselves are difficult for all the recognizers across the schemes that separate name forms. This is a narrower claim than saying that the systems cannot recognize first names inside full names. A full-name annotation covers the combined mention, so the system can find the span without issuing a first-name label separately. In a first-name-only mention, the recognizer has to decide that the shorter span is a person’s name and that the relevant form category is `PERS_FIRST`.

The authors suggest that the low frequency of first-name-only tags helps explain the result for Stanford NER and spaCy. GoldPers gives these recognizers comparatively few such annotations to learn from. For SRP NER, they offer a different explanation. A form of mention that occurs infrequently in newspapers may have received less development attention when the rules were written. The frequency comparison is consistent with both accounts, although the study does not vary the training frequency or inspect the contribution of particular first-name rules.

The authors also report that full names score better than surnames alone across the settings they discuss. They point to differences in how many annotated examples are available. For SRP NER, they further suggest that the surrounding context gives less specific evidence for disambiguating a surname on its own. A full-name sequence supplies more of the naming expression, while a surname-only mention leaves more of the interpretation to context. The experiment shows the performance gap by category, and the discussion gives these reasons as plausible accounts of it.

Under PERS_4, the rule-based system performs best on the role category. Among the learned recognizers, Stanford has better recall for roles and spaCy has slightly better precision. This is a category-specific result. In particular, Stanford’s better recall than spaCy for role spans does not imply that it leads the full PERS_4 task. The overall result includes the name categories, so a system’s position depends on how well it handles the rest of the annotation as well.

#### Differences among gender categories

All three recognizers obtain higher F₁ for masculine names than for feminine names in the category breakdown. The authors point to two properties of the news data that could help explain the pattern. Feminine names occur less frequently, and the forms are more varied, especially in surname-only mentions. The training table gives `2460/686` for masculine surnames and `192/93` for feminine surnames, with each entry pairing annotation occurrences with distinct forms. The feminine categories therefore offer substantially fewer examples despite the range of forms that still has to be recognized.

The researchers also compare the current SRP NER findings with earlier evaluations of its ability to distinguish masculine and feminine names. For feminine full names, they report earlier F₁ of 0.94 and current F₁ of 0.86 on Students-Gold and 0.86 on Danas-Gold. For feminine surnames alone, they report earlier F₁ of 0.79 and current values of 0.49 on Students-Gold and 0.64 on Danas-Gold. The current evaluations make the surname-only category stand out as a particularly difficult case.

The pattern is useful for interpreting the headline metric because the larger masculine categories supply many more of the mentions being scored. A recognizer can achieve a comparatively favorable overall figure while recovering fewer examples from a less frequent category. The paper’s breakdown identifies where that happens. It does not separate the influence of training frequency, form variation, the contexts in which the mentions occur, and any differences in how the underlying rules handle them.

#### Comparisons with earlier evaluations

The paper also compares the current results with earlier work on SRP NER. For personal-name recognition, it reports earlier precision of 0.97, recall of 0.86 and F₁ of 0.91. Those values are above the corresponding PERS_1 values for the current tests. The authors suggest that adding first-name-only mentions to the task could partly explain the difference. This is a comparison between evaluations with different coverage, so the scores cannot by themselves indicate that the recognizer deteriorated.

For some categories the historical comparison goes the other way. The earlier reported role F₁ was 0.83. The paper gives current role F₁ of 0.87 on Students-Gold and 0.86 on Danas-Gold. For surnames alone, it reports an earlier F₁ of 0.78 and current F₁ of 0.86 and 0.85 for those same test sets. These category-specific comparisons show why a result reported for all personal names cannot stand in for the history of each annotation category.

The authors put Stanford NER’s Serbian results alongside earlier Stanford-based recognition of Croatian and Slovene. With distributional similarity included in that work, the reported personal-name F₁ is 0.92 for Croatian and 0.84 for Slovene. The paper describes the Croatian result as higher than the Serbian Stanford result in PERS_1 and the Slovene result as comparable. It also notes that the earlier tests contained fewer personal names. This comparison supplies context for the magnitude of the results across studies with different data.

A further comparison concerns existing evaluations of Stanford NER and spaCy on English Wikipedia articles. The paper reports Stanford NER precision of 0.72, recall of 0.87 and F₁ of 0.79 for that study. Its spaCy figures are 0.73 for precision, recall and F₁. The authors emphasize the similarity in the pattern of stronger Stanford recall and a more even precision–recall balance for spaCy. The texts and languages differ, so the resemblance is in the behavior of the reported metrics instead of a shared evaluation.

### Limitations

#### Limits the authors identify

The authors propose widening the entity coverage of their comparison. SRP NER already had rules for other classes, while the common training and evaluation procedure here was used for personal names and associated information. Applying it to locations, organizations, events, temporal expressions and quantitative expressions would require dedicated annotations and an evaluation for those targets. The present ranking answers the question posed for names in Serbian news. The proposed extensions would test whether the same comparative pattern holds on other parts of the recognition task.

They also want to expand the corpus beyond newspapers. They name Wikipedia articles, domain-specific texts and literary material as possibilities. Literary text is especially relevant to the difficulty with first names. News articles establish which mention forms the systems can learn or recognize in that setting. A collection containing different uses of first names could provide evidence about whether that difficulty persists when the forms occur in different contexts or occur more often.

Another direction the authors identify is entity linking. After recognition locates a name, linking would identify the corresponding entry in a knowledge base. The paper illustrates the goal with a link from a detected name to a biography in Wikidata. In the reported tests, a predicted span is evaluated against annotations in the text. It earns credit by finding and labeling the mention. The identity of the person beyond that annotation is outside the score.

The authors also describe a hybrid recognizer as a future goal. Their use of SRP NER to begin annotation already connects explicit rules to the work of preparing examples for learning. The final recognizers in the comparison are evaluated separately. The frequent Stanford recall lead and the general SRP NER precision lead describe behavior of the individual outputs. Testing a hybrid would require deciding which proposed spans to keep, what to do about conflicting labels and how the combined predictions score.

#### Limits of the reference procedure and test design

The reference annotations start from the predictions of one of the evaluated systems. The students and professor correct suggestions and add omissions, which gives the process a way to catch errors in both directions. The study does not report a separately produced reference for the same texts to check how the suggested spans influenced the final markup. In particular, it does not measure whether a difficult mention is more readily identified when the automatic pass has already drawn attention to it. This is a possible dependence in the evaluation design, not a demonstrated source of the SRP NER lead.

The process also differs across documents in the number of review runs. The paper describes checking by the students and their professor, and the continuing development of the system and dictionaries between repeated runs. It does not give an agreement measure that would show how frequently reviewers independently chose the same boundaries or role labels. Under exact matching, a judgment about where an accompanying description starts or ends can affect the score even when two people agree which person the sentence concerns.

The independent set improves the comparison by adding later material outside GoldPers, but it holds several aspects of the task close to the source collection. Danas was among the original publishers, and both evaluation sets contain news. The paper’s counts also show that the test sets have different proportions of first names and surnames. A comparison between these sets therefore mixes recency, publication mix and the composition of the annotations. The paper does not quantify how many people or distinct name forms are shared between training and test data.

That last distinction matters to a reader interested in unfamiliar names. The study gives counts of distinct forms within its collections. It does not report a separate evaluation limited to mentions whose forms are absent from the training data or the Serbian dictionaries. A name can be newly encountered as an occurrence while its form is already familiar from earlier articles. The scores show performance over the tested mix. The paper leaves open how much of the result comes from recovering familiar names and how much comes from generalizing to unfamiliar ones.

#### Limits of the comparison and its reporting

The learned recognizers and the rules draw on resources built in different ways. The rules benefited from dictionaries and development that predate the comparison, while the learned recognizers were trained on the annotated partition under the four mappings. This is a practical comparison of available approaches to the task. It does not establish how the approaches would rank if their access to lexical information, annotated text or development effort were held constant.

The paper gives the spaCy iteration and dropout settings and explains how it formats training data for Stanford NER. It does not give a comparable account of tuning and repeated training for both recognizers. The table reports scores for the resulting configurations without ranges across runs. Differences such as the close PERS_3 results on Students-Gold are therefore descriptive results for the reported training procedures. The article also refers to a simpler `PERS_2` configuration in the discussion, whereas its experimental mapping and result table name `PERS_1`, `PERS_3`, `PERS_4` and `PERS_9`. The defined configurations provide the basis for the comparisons.

Exact-span evaluation has a clear advantage for reproducibility when the intended output is the reference markup. Its practical meaning depends on the application that takes the output. A search procedure could sometimes make use of a partial name, while an annotation workflow might require the full span and the requested subtype. The weak and weighted comparisons provide evidence about tolerance for overlap. The study does not evaluate a downstream task in which the practical effect of those partial matches could be measured directly.

Gender-sensitive results also need to be read in terms of the paper’s labels. They concern named spans assigned to categories in the corpus. The sparse counts for `X`, including categories with no examples in some partitions, leave little basis for a separate assessment of its recognition. The imbalance between masculine and feminine mentions is visible, and the authors offer reasons it might affect performance. The experiment does not distinguish an error arising from an uncommon name form from one arising from ambiguity about the category or from the way the labeled examples are distributed.

### What came after

[Serbian NER&Beyond: The Archaic and the Modern Intertwined](https://md.research.elamur.ai/free/en/papers/todorovic-2021-serbian-ner-beyond-archaic-modern/) cites the comparison and returns to Serbian named entity recognition under the NER&Beyond name. Its title brings together archaic and modern material, a broader framing than the newspaper samples used here. This connection is particularly relevant to the earlier authors’ interest in moving beyond news and examining the ways people are named in other kinds of writing.

The established connection is the citation, the common subject and the recurring NER&Beyond name. The citation alone cannot show whether the later study reused GoldPers, adopted its name and role categories, or followed the same exact-span evaluation. Those distinctions matter for interpreting continuity between the studies. The earlier paper establishes a comparison on modern newspaper text with a specific reference procedure. Whether any of its training data, rules or scores transfer to archaic material remains a separate empirical question.

## Cite

Cite as Branislava Šandrih, Cvetana Krstev and Ranka Stankovic. 2019. Development and Evaluation of Three Named Entity Recognition Systems for Serbian - The Case of Personal Names. Proceedings of the International Conference on Recent Advances in Natural Language Processing (RANLP 2019).

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.26615/978-954-452-056-4_122](https://doi.org/10.26615/978-954-452-056-4_122)

```bibtex
@inproceedings{sandrih2019development,
  title = {{Development and Evaluation of Three Named Entity Recognition Systems for Serbian - The Case of Personal Names}},
  author = {Branislava Šandrih, Cvetana Krstev and Ranka Stankovic},
  booktitle = {Proceedings of the International Conference on Recent Advances in Natural Language Processing (RANLP 2019)},
  year = {2019},
  doi = {10.26615/978-954-452-056-4\_122},
  url = {https://doi.org/10.26615/978-954-452-056-4_122}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
