<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>Antwerp, Belgium
∗Corresponding author.
£ sven.najem-meyer@epfl.ch (S. Najem-Meyer); matteo.romanello@unil.ch (M. Romanello)
ȉ</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Page Layout Analysis of Text-heavy Historical Documents: a Comparison of Textual and Visual Approaches</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Sven Najem-Meyer</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Matteo Romanello</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>EPFL</institution>
          ,
          <addr-line>Lausanne</addr-line>
          ,
          <country country="CH">Switzerland</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>UNIL</institution>
          ,
          <addr-line>Lausanne</addr-line>
          ,
          <country country="CH">Switzerland</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2022</year>
      </pub-date>
      <volume>000</volume>
      <fpage>0</fpage>
      <lpage>0002</lpage>
      <abstract>
        <p>Page layout analysis is a fundamental step in document processing which enables to segment a page into regions of interest. With highly complex layouts and mixed scripts, scholarly commentaries are text-heavy documents which remain challenging for state-of-the-art models. Their layout considerably varies across editions and their most important regions are mainly defined by semantic rather than graphical characteristics such as position or appearance. This setting calls for a comparison between textual, visual and hybrid approaches. We therefore assess the performances of two transformers (LayoutLMv3 and RoBERTa) and an objectiondetection network (YOLOv5). If results show a clear advantage in favor of the latter, we also list several caveats to this finding. In addition to our experiments, we release a dataset of ca. 300 annotated pages sampled from 19th century commentaries.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Page Layout Analysis</kwd>
        <kwd>Historical Documents</kwd>
        <kwd>Classical Commentaries</kwd>
        <kwd>Digital Humanities</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <sec id="sec-1-1">
        <title>1.1. Page layout analysis</title>
        <p>
          contents [
          <xref ref-type="bibr" rid="ref11 ref7">7, 11</xref>
          ]. Region contents can be of both textual and visual nature, and the two
modalities can be leveraged in a separate or combined fashion. Purely textual approaches
construe layout analysis as a natural language processing (NLP) problem. They aim at
delimiting and at labeling the sequence of text composing a region. Visual approaches,
on the other hand, seize the task as a computer vision problem and aim at detecting and
classifying image regions. Finally, hybrid approaches leverage both modalities to detect
and classify image regions and their corresponding text sequence.
        </p>
        <p>
          Visual approaches are often considered the standard way to go. This trend is probably
encouraged by the recent progress of pre-trained convolutional neural networks (CNN)
and by their ability to deal with non-textual regions. These approaches unsurprisingly
show their best performances in distinguishing regions with highly contrasting graphical
attributes, such as tables, illustrations and drop capitals. Yet, regions are often
characterised by semantic rather than graphical features. In this case, it makes sense to opt for
textual or hybrid approaches. If purely textual approaches prove their usefulness when a
page’s image is not aligned to its text or not available at all (e.g. [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ]), they end up
discarding relevant information when it is. Hybrid models hence make use of images, text
and their corresponding coordinates. Notice that this can be done either by enhancing
an image-based model with text embeddings (e.g. by addition or concatenation) or by
providing a textual model with text-coordinates in parallel to a visual backbone. How
these three approaches are best suited to analysing text-heavy documents remains to be
addressed.
        </p>
      </sec>
      <sec id="sec-1-2">
        <title>1.2. Background: the case of classical commentaries</title>
        <p>In this paper, we focus on historical classical commentaries. We place them in the broader
category of text-heavy documents as they mostly contain text, as opposed to more visual
documents like illuminated manuscripts. The research project Ajax Multi-Commentary2
serves as the context for this work. It aims to create an automated pipeline to convert
digitized commentaries into a body of structured information to aid in their comparative
analysis. Within this pipeline, page layout analysis plays a crucial role as it can enable
the (semi-)automatic markup of information contained within commentaries.</p>
        <p>Together with critical editions and translations, commentaries are one of the main
genres of publication in literary and textual scholarship. Providing in-depth analyses
often side by side with a critical edition of the chosen text, commentaries can have very
sophisticated layouts with considerable variations between editions (Fig. 1). A common
layout type has the commentary section as a single or double column footnote section
positioned below the primary text or its translation. In other layout types, however,
commentary sections span over the entire page. Conversely, regions with similar
placement and appearance can have different functions. Besides the complexity of their layout,
commentaries also feature a specific prose style, clearly recognizable by its intertwining
of multiple scripts and its pervasive use of abbreviations. Comments generally follow a
determined pattern such as line number - commented word or excerpt - comment, for
instance "1 (line number). ... (Excerpt): cp. Tr. 689-691. The passage in Aesch. Ag.
587-598 is scarcely a true parallel [...] (comment)".</p>
        <p>As our project’s pipeline starts with commentary images and ends with text mining,
we value page layout analysis as a crucial step in which primary text, margin notes,
line numbers and commentary sections ought to be precisely segmented. This task
remains a challenging one given the characteristics listed above. If information about
layout is mainly conveyed by semantic rather than by graphical clues, visual features
are not irrelevant. Commentary regions are generally written in a smaller font and are
often punctuated by bold line numbers anchors. Besides, for Greek commentaries, the
script lends to a good visual feature to differentiate between the primary text and its
translation.
1.3. Goals
In this challenging and mostly uncharted setting, our primary goal is to assess the
performances of textual, visual and hybrid approaches. For each of these approaches, we
ask the following questions:
• RQ1: How well do state-of-the art models perform over commentaries of works
written in different scripts (e.g. Latin or Polytonic Greek), belonging to different
literary genres and having different layout types? Which of the textual, visual and
hybrid approaches is best suited for the task?
• RQ2: What is the impact of the quantity of training data?
• RQ3: How well do models generalize on layout type they have not seen during
training?
For textual and hybrid approaches only, we address two additional questions:
• RQ4: How do hybrid models perform on languages they have not been pre-trained
on?
• RQ5: To which extent do textual and visual features separately account for the
model’s decision?</p>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>2. Related work</title>
      <p>
        Generic approaches to page layout analysis have known considerable progress in recent
years. Overtaking CNNs, image transformers such as DiT [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] or LayoutLMv3 [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] can be
used for several visual or multi-modal document analysis tasks. However, on the contrary
to newspapers, magazines and scientific press, commentaries remain barely explored
as far as layout analysis is concerned. We therefore compared studies on historical
documents, as they share the many similarities with commentaries.
      </p>
      <p>
        Simistra et al. [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ] report the performances of several pixel classification algorithms for
the Competition on Layout Analysis for Challenging Medieval Manuscripts at ICDAR
2017. The tasks include region detection for text, comments and images. Results show
a net advantage in favor of convolutional neural networks (CNN), with intersection over
union (IoU) scores ranging up to .90 for comments. It must be signaled, however, that
comments consistently take the form of of marginal glosses and thereby possess very
distinctive graphical features.
      </p>
      <p>
        Mehri et al. [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ] also report performances of pixel-based approaches for the
Competition on Historical Book Analysis at ICDAR 2019. The competition is based on two
challenges: distinguishing between text and images and classifying various text fonts.
The best models used fully CNNs and reach scores close to perfection in the first
challenge (.99 F-score and above), but the binary classification is relatively easy for this type
of pre-trained networks. Results to the second challenges, though slightly lower, are
particularly interesting to our research. They show that CNN can leverage fine-grained
information regarding the font style (e.g. bold, italicized, etc.), which may avail in our
case.
      </p>
      <p>
        Finally, Yang et al. [21] proposed a multimodal CNN to extract semantic structure
from documents. The principle is to build a text embedding map which is accessible
by the last layer of the model. Building on this idea, Barman et al. [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] reports notable
improvement when using textual features to segment historical newspapers. If the
textonly models yield the lowest scores, combining text and images consistently outperform
image-only features by 3% mIoU in average.
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. Datasets</title>
      <p>
        While ground truth datasets already exist for layout analysis of historical documents
such as manuscripts and early printed books [
        <xref ref-type="bibr" rid="ref20 ref3">20, 3</xref>
        ], newspapers [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] and even for the
semantic segmentation of geographical maps [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ], no such dataset existed for scholarly
commentaries or critical editions. We contribute to filling this gap by creating and
releasing GT4HistCommentLayout, a dataset of page layout analysis annotations on 19th
century commentaries to Ancient Greek and Latin works, written in English, French and
German3. This new dataset complements GT4HistComment [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ], which provides OCR
ground-truth data for the same type of historical documents.
      </p>
      <sec id="sec-3-1">
        <title>3.1. Layout annotation</title>
        <p>To perform layout annotation we devise a content-based region taxonomy geared towards
commentaries and critical editions (Fig. 2). It consists of 18 fine-grained classes, which
are mapped to 8 coarse-grained classes in order to reduce the class number and class
sparsity. Mapping is achieved by grouping region types with similar visual characteristics
(e.g. numbers). The list of classes defined by our taxonomy is given in Table 1. For the
experiments reported below, we exclusively consider coarse-grained classes.</p>
        <p>This taxonomy distinguishes between the original Greek text of the work being
commented upon (Primary text), the commentary sections (Commentary), the
commentator’s translation of the commented text (Translation), the section containing information
about manuscript readings and editorial conjectures (Critical apparatus), the
paratextual elements — e.g. table of contents, appendices, indices, footnotes, introductory and
prefatory materials — (Paratext) and finally page and line numbers (Number).</p>
        <p>
          In order to make the published dataset
as widely reusable as possible, we mapped
our classes to the SegmOnto controlled
vocabulary [
          <xref ref-type="bibr" rid="ref8 ref9">9, 8</xref>
          ]. The only difficulty we
encountered in the mapping to SegmOnto
concerned the commentary region class, as
it can be mapped both to a MainZone or to
a MarginTextZone, depending on the
commentary at hand. In fact, in commentaries
containing both primary text and
commentary, commentary regions could be
interpreted as marginalia to the commented
text (i.e. a MarginTextZone); whereas
in commentaries with no primary text,
the commentary itself is undoubtedly the
main region of the page (i.e. a
MainZone). We address this issue by always
considering commentary of type MainZone,
based on the consideration that the area
of the page such regions tend to occupy is
roughly equal to the area of primary text
Figure 2: The main layout elements of a or translation regions (when present).
scholarly commentary page. Annotation was performed by three
annotators by using the VGG Image
Annotator (VIA) tool [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ]. While each
commentary was annotated by one person at a maximum, all annotations were revised by an
expert in order to ensure consistency in the application of the annotation guidelines.
Manually annotated page regions were automatically resized to fit exactly the minimal
bounding rectangle around contained words.
        </p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Sampling and dataset composition</title>
        <p>As a sampling strategy, we started with ca. 40 pages of annotation per commentary. We
made sure that all page layout types (see Fig. 3 for selective examples) of any given
commentary are included in the sample because page layout can vary quite substantially
throughout a commentary depending on the section contents.</p>
        <p>The data used for experiments consist of an internal and an external dataset. The
internal dataset comprises of commentaries to Sophocles’ Ajax, published from the
beginning of the 19th century to date. Of these 12 commentaries, slightly less than a half
are in the public domain, while the remaining are still under copyright. The external
dataset, instead, consists of commentaries to both Latin and Greek classical works,
sampled to include works both in prose and poetry. It contains an English commentary
to Tacitus’ Annals (Latin prose), a German commentary to book 6 of Vergil’s Aeneid
(Latin poetry), and a German commentary to book 7 of Thucydides’ History of the
Peloponnesian War (Ancient Greek prose). The specific purpose of this external dataset
is to evaluate with which accuracy layout analysis models trained on data from one
specific genre and literature (i.e. Greek poetry, in the case of the Ajax) can be applied to
commentaries about works from a wider variety of literary genres (see RQ6).</p>
        <p>Given this important distinction, the ground-truth dataset we release contains the
public domain portion of the internal dataset, as well as the entire external dataset (as
it consists exclusively of out of copyright documents). Detailed statistics about these
datasets can be found in Table 2.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Experimental setup</title>
      <sec id="sec-4-1">
        <title>4.1. Models</title>
        <p>
          LayoutLMv3 For hybrid experiments, we use LayoutLMv3 [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ], a transformer
which uses text, text-coordinates and image as inputs. This choice is motivated by
the need to have a state-of-the-art hybrid model easily comparable both with a
textual approach (by pitting it against RoBERTa, infra) and a visual approach (by way
token ablation). On the contrary to its predecessor, LayoutLMv3 does not rely on a
pre-trained CNN for its visual backbone, but uses a multi-modal transformer instead.
The authors claim superior results to concurrent systems such as DocFormer or
StructuralLM. Pretests showed LayoutLMv3 to be slightly superior to LayoutLMv2 at the
cost of a longer training time. As the model converged after 30 epochs, we fine-tune
each model for a total of 40 epochs using recommended parameters and a maximum
length of 512 tokens per instance. In the experiments below, we use LayoutLM for token
classification, which opens three possible ways of labeling the data. The first method
consists in annotating only the first word of a region. This method has the downside
Commentary
Lobeck 1835
Campbell 1881
Jebb 1896
Schneidewin 1853
Wecklein 1894
Total
Colonna 1975
De Romilly 1976
Ferrari 1974
Garvie 1998
Kamerbeek 1953
Paduano 1982
Untersteiner 1934
Total
Classen &amp; Steup 1889 41
Norden 1903 40
Furneaux 1896 40
Total 121
Grand total (public domain) 371
Grand total (all) 652
of creating highly imbalanced classes, with a vast majority of words marked with a
zero-label and very few marked with their region’s class. This method did not yield
encouraging results in pre-tests and was therefore abandoned. The second method is
inspired by the named entity recognition field and consists in labelling the first word
of a region with BEGIN-[RegionClass] and the following with INSIDE-[RegionClass].
Besides doubling the number of classes, this method leads to the creation of very long
entities and performed poorly in pre-tests. We therefore go for the third method, which
consists in labeling all the words in a region with the region’s label.
        </p>
        <p>
          RoBERTa Provided the multilingualism of commentaries, it could have been relevant
to use a multilingual transformer for text-only experiments. However, as LayoutLMv3
uses RoBERTa [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ] to initialize its embeddings, we stick to the method used by its
authors [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ] and chose to train RoBERTa for a fair comparison with the former. This
bi-directional multi-head attention transformer was released as an improved version of
BERT [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ], being pre-trained on 160GB of uncompressed English text from Wikipedia,
BooksCorpus, CC-News, OpenWebText and Stories [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ]. Regarding training and
labelling, we use the same settings as LayoutLM.
YOLOv5 For visual experiments, we use YOLOv54,5, an object-detection model based
on DarkNet. The choice of YOLO is mainly motivated by the encouraging results in
historical document layout recognition obtained by [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ]. In preliminary tests, the model
performed best with an image resolution of 1280 and converged around epoch 250.
Regarding the size of the model, the larger version (YOLOv5x) did not yield considerably
better results despite a much longer training time. All experiments are therefore run on
YOLOv5m with a resolution of 1280 for 300 epochs. In order to assess the amount of
difficulty added by multiplying classes, we create two YOLO models:
• YOLO is trained for single class object detection, which is enabled by labelling
all regions identically.
• YOLO is trained for multi-class object detection, using our dataset’s coarse
labels (see Section 3.1).
        </p>
        <p>YOLO +LayoutLM/RoBERTa This model combines the two approaches, using
YOLO to detect regions and LayoutLM/RoBERTa to classify them. Words
contained within predicted regions are fed to LayoutLM/RoBERTa. The majority class
among words is then used to label the regions.</p>
      </sec>
      <sec id="sec-4-2">
        <title>4.2. Implementation and training</title>
        <p>We implement our experiments using HuggingFace transformers6 and YOLO’s API7.
Training was performed on two NVIDIA GeForce GTX TITAN X GPUS, each with
12.2GO of memory. The code is made publicly available on GitHub8.</p>
      </sec>
      <sec id="sec-4-3">
        <title>4.3. Evaluation methods</title>
        <p>As LayoutLM and RoBERTa are used for token classification, they should be evaluated
on entity or word basis. However, in order to enable a meaningful comparison with
YOLO, we group consecutive words with identical labels and build up a region from their
bounding rectangle. Notice that LayoutLM and RoBERTa are severely disadvantaged
by this evaluation procedure, as a single incorrectly labelled word among an actual
region disrupts its unity. This problem is illustrated Figure 4 in the appendix and is not
straightforward to mitigate without visual operations or carefully tailored rules. Indeed,
homogenising long strands of tokens could result in the absorption of tiny regions like line
numbers. We therefore evaluate the results without post-processing them and compute
all mean average precision (mAP) scores at a 0.5 IoU threshold9. It is worth noting
4https://github.com/ultralytics/yolov5
5Despite multiple attempts, we couldn’t get Kraken’s (https://github.com/mittagessen/kraken)
segmentation training to work on our infrastructures and therefore removed it from our experimental
procedure.
6https://github.com/huggingface/transformers
7https://github.com/ultralytics/yolov5
8https://github.com/AjaxMultiCommentary/ajmc/tree/main/ajmc/olr
9We used the Python package mean-average-precision, https://github.com/bes-dev/mean_average_
precision, version 2021.4.26.0</p>
        <p>Jebb - Base
Kamerbeek - Base
Jebb - Half trainset
Jebb - Token ablation
Jebb, Kamerbeck - base
Jebb - Text only
Campbell, Jebb - Transfer
Kamerbeek, Jebb - Transfer
Garvie, Jebb - Transfer
Paduano - Base
Wecklein - Base
Omnibus (internal)
Omnibus (external)
Omnibus - Transfer</p>
        <p>RQ</p>
        <sec id="sec-4-3-1">
          <title>Train data</title>
        </sec>
        <sec id="sec-4-3-2">
          <title>Test data</title>
          <p>RQ1 Jebb Jebb
RQ1 Kamerbeek Kamerbeek
RQ2 Jebb Jebb
RQ5 Jebb Jebb
RQ3 Jebb, Kamerbeek Jebb
RQ1&amp;5 Jebb Jebb
RQ3 Campbell Jebb
RQ3 Kamerbeek Jebb
RQ3 Garvie Jebb
RQ4 Paduano Paduano
RQ4 Wecklein Wecklein
RQ1 All (internal) All (internal)
RQ1 All (external) All (external)
RQ3 All (internal) All (external)</p>
          <p>
            Languages
en, gr
en, gr
en, gr
en, gr
en, gr
en, gr
en, gr
en, gr
it, gr
de, gr
en, de, it, lat, gr
en, de, lat
en, de, lat
that the obtained scores are approximately .10 mAP points below the scores produced
by YOLO’s built-in evaluation tool, a discrepancy already mentioned by [
            <xref ref-type="bibr" rid="ref3">3</xref>
            ]10.
          </p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>5. Experiments</title>
      <p>
        We divide our experiments according to our research questions and list them in Table 3.
As using only textual features is consistently reported to yield lower results [
        <xref ref-type="bibr" rid="ref10 ref2">2, 21, 10</xref>
        ],
we test this approach in a single sub-experiment to the hybrid series. This allows us to
simplify our experimental design and to spare computing power while still being able to
measure the benefits of adding image and coordinates. Results are presented in Table 4,
and sample predictions are shown in Figure 4.
      </p>
      <sec id="sec-5-1">
        <title>RQ1: Which of the textual, visual and hybrid approaches performs best? As de</title>
        <p>scribed in Section 1.3, our primary goal is to assess the performances of state-of-the-art
models on classical commentaries and to investigate which of the three named approaches
is the most appropriate for this kind of data.</p>
        <p>Experimental design. As LayoutLM is pre-trained on English data, we first test
its performances on two English commentaries: Jebb’s (baseline, experiment 0A) and
Kamerbeek’s (0B). Besides its scholarly resonance, we chose Jebb’s commentary as a
baseline because it contains regions of all coarse classes. As for Kamerbeek’s commentary,
it presents an utterly different layout in which the commentary sections span over an
entire page.
10See also https://github.com/bes-dev/mean_average_precision/issues/1</p>
        <p>Additionally, we also train and test our models on a diverse set of commentaries
on Sophocles’ Ajax (experiment 4A) and on other Greek and Latin prose and poetry
works (4B). We then test visual approaches by running the same experiments with
YOLO . Finally, we test textual approaches with RoBERTa using the same data as
0A (experiment 1E).</p>
        <p>Results and Discussion. Results show a net advantage in favor of YOLO , which
overtakes LayoutLM by an average of .27 points over experiments 0A, 0B, 4A and 4B.
Interestingly and on the contrary to LayoutLM, YOLO completely misses footnotes
in Jebb (N=8) and systematically incorporates them within the main paratext region.
As for RoBERTa, its poor results are inline with previously mentioned studies showing
the inferiority of text-only approaches. This first series of experiments shows that
imagebased approaches can perform well even on region with few distinctive graphical features
if they have seen similar layouts in training.</p>
      </sec>
      <sec id="sec-5-2">
        <title>RQ2: What is the impact of training set’s size? To address this question, we copy the</title>
        <p>setting of experiment 0A, only changing the size of the training set by sampling half of
it randomly (experiment 1A).</p>
        <p>Results and Discussion. If both YOLO and LayoutLM show a performance drop
in comparison with 0A, it is worth noting that depriving the former of half its training
data only leads to a .05 decrease in mAP. The latter’s case is more concerning and
deserves a more thorough inquiry. First, the model did not seem to be penalised by the
number of epochs, as its maximum score is already attained at epoch 33/50. Secondly,
the difference in mAP does not reflect the difference in word-based F1-score, which only
decreases of .10. In-depth analyses revealed predictions to be much more scattered,
which drastically hampers homogeneous region building and accounts for the plunge of
mAP scores. The takeaway of this experiment is that 15 to 20 pages of ground-truth
data already opens the way to satisfactory results, whereas doubling this amount only
accounts for an improve of .05 mAP.</p>
        <p>RQ3: How well do models generalize on layout types they have not encountered
during training? We address the question of generalization in three ways. We first train
a model on two commentaries and evaluate it on Jebb (baseline) to see whether mixing
layout types can confuse the model. For this sub-experiment (1D) we use the
commentaries by Jebb and Kamerbeek, two English commentaries with different layouts which
we already have individual baselines for (cf. 0A and 0B). We then train three models on
three English commentaries and evaluate them, again, on Jebb. We choose one
commentary with an almost identical layout (Campbell, experiment 2A), and two commentaries
with a completely different layout, Kamerbeek (2B) and Garvie (2C). In these two items,
commentary sections cover the main zone of the page. Finally, we train a model on all
internal commentaries and test it on external commentaries (4C).</p>
        <p>Results and discussion. First, it seems that mixing two types of layout in training
did not confuse the model. On the contrary, YOLO shows a .15 increase in mAP
between 0A and 1D. This improvement is probably due to the quantity of available data,
as regions such as running headers, paratext, numbers and footnotes see their number
of training instances doubled and their scores consistently improved. Interestingly, this
correlation is not present for commentary sections. Its AP remains at .90 despite a rise
in from 40 to 66. This plateau can be explained by the important change in the
region’s morphology between Kamerbeek and Jebb. More generally, this result suggests
that using a single model with more data yields better results than individual models.</p>
        <p>For experiments 2A, 2B and 2C, we generally observe a net decrease of performance
when compared to the baseline. This being said, results are still better when generalizing
to a similar layout type. Experiment 2A is therefore above 2B and 2C for both LayoutLM
and YOLO . These results also hint at the fact that LayoutLM only seems to gain
little information from the textual channel, a trend to be confirmed below. Performances
also decrease in experiment 4C, despite the broadness of the training set. This result
shows compelling evidence about the model’s struggles with completely unseen data.
Indeed, if many of the layout types are present in the training, one must not understate
the importance of other image features like the quality of the scan, the binarization
threshold and so forth. To circumvent this problem, it is maybe sufficient to add very
few images from the target data in training or fine-tuning. We keep this hypothesis to
be tested in future works.</p>
        <sec id="sec-5-2-1">
          <title>RQ4: How do hybrid models perform on languages they have not been pre-trained</title>
          <p>on? We then measure the impact of the text’s language by training two models on an
Italian (Paduano) and a German commentary (Wecklein) respectively (experiments 3A
and 3B).</p>
          <p>Results and discussion. As it appears, LayoutLM does not seem to be impacted by
the commentary’s main language. If results on German data fail to equate those of Jebb,
Italian data gets the best results for a single commentary overall. These results can be
explained by the domain-specific prose style of commentary writing. As mentioned in
Section 1.2, the text often patches Greek scripts, abbreviations, rare words and proper
nouns together. To circumvent this unusual distribution, LayoutLM’s tokenizer has to
chunk words into extremely tiny pieces to match them to its vocabulary. It is therefore
very frequent to see words fed to the model as sequences of single-character embeddings.
This setting lessens the model capacity to rely on the knowledge acquired during
pretraining and hence degrades its overall performances.</p>
        </sec>
        <sec id="sec-5-2-2">
          <title>RQ5: To which extent do textual and visual features separately account for the Lay</title>
          <p>outLM’s decision? To measure this last statement more precisely, we run LayoutLM in
token ablation mode (1C), feeding the model only with null tokens, thereby constraining
its weights to rely solely on coordinates and images.</p>
          <p>Results and discussion. RoBERTa’s poor results (1E) already indicate that
LayoutLM is highly dependant on coordinates and images. Experiment 1C confirms this
intuition and contributes to explaining the model’s indifference towards language. As a
matter of fact, blanking textual inputs only diminishes the models performances by .01
mAP. In some regions with consistent positioning, textual inputs are even worsening the
results: this is the case with commentary, critical apparatus and footnotes. However,
the textual contents of page regions such as running headers and numbers do contain
straightforward meaningful information. The former always contains identical words and
the latter almost only consist of Arabic numerals. This could explain why token ablation
deteriorates the model’s results in these two cases.</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>6. General discussion</title>
      <p>YOLO and YOLO +LayoutLM. With a single class to predict, YOLO
unsurprisingly surpasses YOLO and displays very encouraging results. The model is
above .9 in experiments 0B, 3A and 4B, generalizes better than its rivals and even reaches
perfect mAP@0.5 for experiment 3B. Though these results can already be useful for other
downstream tasks like pre-OCR region detection, we leverage YOLO ’s predictions
and use them as a basis for LayoutLM, thereby addressing the problem of rebuilding
regions. With an intriguing exception in experiment 0B, this method consistently
improves LayoutLM. This result is coherent with caveats that come with our evaluation
system (cf. Section 4.3). Rebuilding regions from labelled sequence can indeed lead to
unwanted patchwork like schemes, as small nested clusters divide regions and build new
ones. However, taking the majority class among labelled tokens in an already predicted
region alleviates the harshness of region-based evaluation. This methods conveys two
other remarks. First, though we applied token classification to enable a fair comparison
with baseline settings, the fact that regions are predefined allows for implementing a
sequence classification model, which could improve the results. Indeed, it may be tough
for the model to correctly label a single page number token lost in a long sequence of
text. However, classifying an isolated line or page number in a pre-defined region could
be an easier task. As a second remark, it is worth recalling that if this approach remains
inferior to YOLO in our case, it could prove to be more efficient with less
domainspecific and noisy texts. Lifting this barrier could perhaps be achieved by the use of
multilingual models such as LayoutXLM or by continuing the transformers pre-training
on domain-specific data, an investigation we plan to pursue in future works.
Inter- and intra-experiment variances For experiments 0A, 0B, 3A and 3B, we train a
single YOLO model per commentary. Despite similar training parameters
comparable amounts of data, we witness a strong variance between commentaries, with a gap of
.18 between 0A and 0B. If this variance might be explained by layout particularities, we
are also aware that it can be caused by the sparsity of the evaluation set. To acknowledge
this limitation, we indicate the number of training and evaluation instance in Table 4.
This sparsity also correlates with intra-experiment variance, i.e. differences between each</p>
    </sec>
    <sec id="sec-7">
      <title>7. Conclusions and further work</title>
      <p>Our main contributions lie in our experiments and in the release of an annotated dataset.
As part of our annotated data is still under copyright, we also release YOLO models
trained on the entirety of our data in the hope that they might constitute a useful starting
point for similar research 11. The key takeaways of this research are listed below:
• We show that an object detection model such as YOLO succeeds in classifying
semantic regions of text-heavy documents even if they feature little obvious graphical
differences.
• Hybrid models like LayoutLM may be of help to researchers working with clean
and generic English data. However, in a highly noisy, multi-lingual, domain-specific
and historic setting, they tend to make little use of the textual channel and mainly
base their decision on coordinates and images.
• With 8 classes in total, we show that annotating 15 to 20 pages of ground truth
data already yields satisfactory results. Doubling this amount amends results by
.05% in average.</p>
      <p>
        Furthermore, because historical classical commentaries and critical editions have a
significant similarity in terms of layout, our approach establishes the groundwork for
developing a robust, generic model for page layout analysis of these publications in the
near future. Such a model, in combination with existing open source tools for annotation
that can be chained into a seamless pipeline (e.g. eScriptorium for annotation and
Kraken for OCR), has the potential to open up new perspectives to researchers for
exploiting openly available digitized editions and commentaries. Similarly, such a model
could be useful to projects aimed at the creation of large-scale corpora of marked up texts
such the Free First Thousands Years of Greek (FF1KG) project [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ]. In this project,
dozens of summer interns over the years have manually annotated the layout of digitized
critical editions, carrying out a tedious task that in the near future will be possible to
semi-automate.
      </p>
      <p>As for future works, we think two strands of possible improvement are worth
investigating. First, and as mentioned in Section 5, we would like to explore the effect of
adding minimal in-domain data when fine-tuning a generic model. Based on our
experiments (notably 1A), our hypothesis is that providing only a few pages should improve
the results on unseen commentaries. Secondly, we think our hybrid would yield better
results if they could use more meaningful representation of the text. It could therefore be
worth testing with a multilingual model such as LayoutXLM or with a domain-specific
language modelling pre-training.</p>
    </sec>
    <sec id="sec-8">
      <title>Acknowledgments</title>
      <p>This research has been supported by the Swiss National Science Foundation under an
11https://github.com/AjaxMultiCommentary/layout-yolo-models
Ambizione grant PZ00P1_186033. We thank Carla Amaya who helped in the ground
truth annotation process.
[21] X. Yang, E. Yumer, P. Asente, M. Kraley, D. Kifer, and C. L. Giles. Learning to
Extract Semantic Structure from Documents Using Multimodal Fully Convolutional
Neural Network. 2017. url: http://arxiv.org/abs/1706.02337.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>R.</given-names>
            <surname>Barman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Ehrmann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Clematide</surname>
          </string-name>
          , and
          <string-name>
            <surname>Oliveira</surname>
          </string-name>
          .
          <source>Datasets and Models for Historical Newspaper Article Segmentation</source>
          .
          <year>2021</year>
          . doi:
          <volume>10</volume>
          .5281/zenodo.3706863. url: https://zenodo.org/record/3706863.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>R.</given-names>
            <surname>Barman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Ehrmann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Clematide</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. A.</given-names>
            <surname>Oliveira</surname>
          </string-name>
          , and
          <string-name>
            <given-names>F.</given-names>
            <surname>Kaplan</surname>
          </string-name>
          . “
          <article-title>Combining Visual and Textual Features for Semantic Segmentation of Historical Newspapers”</article-title>
          . In: arXiv:
          <year>2002</year>
          .06144 [cs] (
          <year>2020</year>
          ). url: http://arxiv.org/abs/
          <year>2002</year>
          .06144.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>T.</given-names>
            <surname>Clérice</surname>
          </string-name>
          .
          <source>YALTAi: Segmonto Manuscript and Early Printed Book Dataset</source>
          .
          <year>2022</year>
          . doi:
          <volume>10</volume>
          .5281/zenodo.6814770. url: https://zenodo.org/record/6814770.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>T.</given-names>
            <surname>Clérice</surname>
          </string-name>
          .
          <article-title>You Actually Look Twice At it (YALTAi): using an object detection approach instead of region segmentation within the Kraken engine</article-title>
          .
          <year>2022</year>
          . url: htt ps://hal-enc.
          <article-title>archives-ouvertes</article-title>
          .fr/hal-03723208.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>J.</given-names>
            <surname>Devlin</surname>
          </string-name>
          , M.-
          <string-name>
            <given-names>W.</given-names>
            <surname>Chang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Lee</surname>
          </string-name>
          , and
          <string-name>
            <given-names>K.</given-names>
            <surname>Toutanova</surname>
          </string-name>
          . “BERT:
          <article-title>Pre-training of Deep Bidirectional Transformers for Language Understanding”</article-title>
          . In: arXiv:
          <year>1810</year>
          .04805 [cs] (
          <year>2019</year>
          ). url: http://arxiv.org/abs/
          <year>1810</year>
          .04805.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>A.</given-names>
            <surname>Dutta</surname>
          </string-name>
          and
          <string-name>
            <given-names>A.</given-names>
            <surname>Zisserman</surname>
          </string-name>
          . “
          <article-title>The VIA annotation software for images, audio and video”</article-title>
          .
          <source>In: MM '19: Proceedings of the 27th ACM international conference on multimedia. New York</source>
          , NY, USA: Acm,
          <year>2019</year>
          , pp.
          <fpage>2276</fpage>
          -
          <lpage>2279</lpage>
          . doi:
          <volume>10</volume>
          .1145/33430 31.3350535. url: https://doi.org/10.1145/3343031.3350535.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>S.</given-names>
            <surname>Eskenazi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Gomez-Krämer</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>J.-M.</given-names>
            <surname>Ogier</surname>
          </string-name>
          . “
          <article-title>A comprehensive survey of mostly textual document segmentation algorithms since 2008”</article-title>
          .
          <source>In: Pattern Recognition</source>
          <volume>64</volume>
          (
          <year>2017</year>
          ), pp.
          <fpage>1</fpage>
          -
          <lpage>14</lpage>
          . doi:
          <volume>10</volume>
          .1016/j.patcog.
          <year>2016</year>
          .
          <volume>10</volume>
          .023. url: https://linking hub.elsevier.com/retrieve/pii/S0031320316303399.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>S.</given-names>
            <surname>Gabay</surname>
          </string-name>
          ,
          <string-name>
            <surname>J.-B. Camps</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Pinche</surname>
            , and
            <given-names>N.</given-names>
          </string-name>
          <string-name>
            <surname>Carboni. SegmOnto</surname>
          </string-name>
          ,
          <article-title>A Controlled Vocabulary to Describe the Layout of Pages</article-title>
          . Paris/Genève,
          <year>2021</year>
          . url: https://git hub.com/SegmOnto.
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>S.</given-names>
            <surname>Gabay</surname>
          </string-name>
          ,
          <string-name>
            <surname>J.-B. Camps</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Pinche</surname>
            , and
            <given-names>C.</given-names>
          </string-name>
          <string-name>
            <surname>Jahan</surname>
          </string-name>
          . “
          <article-title>SegmOnto: common vocabulary and practices for analysing the layout of manuscripts (and more)”</article-title>
          .
          <source>In: ICDAR 2021 Workshop on Computational Paleography (IWCP)</source>
          .
          <source>Lausanne</source>
          ,
          <year>2021</year>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>4</lpage>
          . url: https://www.csmc.uni-hamburg.de/iwcp2021/files/abstracts/iwcp2021-paper-7 .pdf.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Huang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Lv</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Cui</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Lu</surname>
          </string-name>
          , and
          <string-name>
            <given-names>F.</given-names>
            <surname>Wei</surname>
          </string-name>
          . LayoutLMv3:
          <article-title>Pre-training for Document AI with Unified Text</article-title>
          and
          <string-name>
            <given-names>Image</given-names>
            <surname>Masking</surname>
          </string-name>
          .
          <year>2022</year>
          . url: http://arxiv.org/abs/2 204.08387.
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>K.</given-names>
            <surname>Kise</surname>
          </string-name>
          . “
          <article-title>Page Segmentation Techniques in Document Analysis”</article-title>
          .
          <source>In: Handbook of Document Image Processing and Recognition</source>
          . Ed. by
          <string-name>
            <given-names>D.</given-names>
            <surname>Doermann</surname>
          </string-name>
          and
          <string-name>
            <given-names>K.</given-names>
            <surname>Tombre</surname>
          </string-name>
          . London: Springer London,
          <year>2014</year>
          , pp.
          <fpage>135</fpage>
          -
          <lpage>175</lpage>
          . doi:
          <volume>10</volume>
          .1007/978-0-
          <fpage>85729</fpage>
          -859-1\_5. url: http://link.springer.com/10.1007/978-0-
          <fpage>85729</fpage>
          -859-1%5C%
          <fpage>5F5</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>J.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Xu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Lv</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Cui</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , and
          <string-name>
            <given-names>F.</given-names>
            <surname>Wei</surname>
          </string-name>
          . DiT:
          <article-title>Self-supervised Pre-training for Document Image Transformer</article-title>
          .
          <year>2022</year>
          . url: http://arxiv.org/abs/2203.02378.
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Liu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Ott</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Goyal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Du</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Joshi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Levy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Lewis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Zettlemoyer</surname>
          </string-name>
          , and
          <string-name>
            <given-names>V.</given-names>
            <surname>Stoyanov</surname>
          </string-name>
          . “
          <article-title>RoBERTa: A Robustly Optimized BERT Pretraining Approach”</article-title>
          . In: arXiv:
          <year>1907</year>
          .11692 [cs] (
          <year>2019</year>
          ). url: http://arxiv.org/abs/
          <year>1907</year>
          .1169 2.
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>M.</given-names>
            <surname>Mehri</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Heroux</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Mullot</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.-P.</given-names>
            <surname>Moreux</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Couasnon</surname>
          </string-name>
          , and
          <string-name>
            <given-names>B.</given-names>
            <surname>Barrett</surname>
          </string-name>
          . “
          <article-title>ICDAR2019 Competition on Historical Book Analysis - HBA2019”</article-title>
          .
          <source>In: 2019 International Conference on Document Analysis and Recognition (ICDAR)</source>
          . Sydney, Australia: Ieee,
          <year>2019</year>
          , pp.
          <fpage>1488</fpage>
          -
          <lpage>1493</lpage>
          . doi:
          <volume>10</volume>
          .1109/icdar.
          <year>2019</year>
          .
          <volume>00239</volume>
          . url: https://i eeexplore.ieee.org/document/8978192/.
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>L.</given-names>
            <surname>Muellner</surname>
          </string-name>
          . “
          <article-title>The Free First Thousand Years of Greek”</article-title>
          . In: Digital Classical Philology. Ed. by
          <string-name>
            <given-names>M.</given-names>
            <surname>Berti</surname>
          </string-name>
          . Berlin, Boston: De Gruyter Saur,
          <year>2019</year>
          , pp.
          <fpage>7</fpage>
          -
          <lpage>18</lpage>
          . url: https: //www.degruyter.com/document/doi/10.1515/
          <fpage>9783110599572</fpage>
          -002/html.
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>R.</given-names>
            <surname>Petitpierre</surname>
          </string-name>
          .
          <source>Historical City Maps Semantic Segmentation Dataset</source>
          .
          <year>2021</year>
          . doi:
          <volume>10</volume>
          .5281/zenodo.5513639. url: https://zenodo.org/record/5513639.
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>M.</given-names>
            <surname>Riedl</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Betz</surname>
          </string-name>
          , and
          <string-name>
            <given-names>S.</given-names>
            <surname>Padó</surname>
          </string-name>
          . “
          <article-title>Clustering-Based Article Identification in Historical Newspapers”</article-title>
          .
          <source>In: Proceedings of the 3rd Joint SIGHUM Workshop on Computational Linguistics for Cultural Heritage</source>
          ,
          <source>Social Sciences, Humanities and Literature</source>
          . Minneapolis, USA: Association for Computational Linguistics,
          <year>2019</year>
          , pp.
          <fpage>12</fpage>
          -
          <lpage>17</lpage>
          . doi:
          <volume>10</volume>
          .18653/v1/
          <fpage>W19</fpage>
          -2502. url: https://www.aclweb.org/anthology/W19-2502.
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>M.</given-names>
            <surname>Romanello</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Amaya</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Robertson</surname>
          </string-name>
          , and S. Najem-Meyer.
          <article-title>AjaxMultiCommentary/GT-commentaries-</article-title>
          <source>OCR: Version 1.0</source>
          .
          <year>2021</year>
          . doi: 10 . 5 281/zenodo.5526670. url: https://doi.org/10.5281/zenodo.5526670.
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>F.</given-names>
            <surname>Simistira</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Bouillon</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Seuret</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Wursch</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Alberti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Ingold</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Liwicki</surname>
          </string-name>
          . “
          <article-title>ICDAR2017 Competition on Layout Analysis for Challenging Medieval Manuscripts”</article-title>
          .
          <source>In: 2017 14th IAPR International Conference on Document Analysis and Recognition (ICDAR)</source>
          .
          <source>Kyoto: Ieee</source>
          ,
          <year>2017</year>
          , pp.
          <fpage>1361</fpage>
          -
          <lpage>1370</lpage>
          . doi:
          <volume>10</volume>
          .1109/icdar.2
          <volume>017</volume>
          .223. url: http://ieeexplore.ieee.org/document/8270154/.
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <given-names>D.</given-names>
            <surname>Stoekl Ben Ezra</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Brown-DeVost</surname>
          </string-name>
          , P. Jablonski,
          <string-name>
            <given-names>H.</given-names>
            <surname>Lapin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Kiessling</surname>
          </string-name>
          , and
          <string-name>
            <given-names>E.</given-names>
            <surname>Lolli</surname>
          </string-name>
          . “BiblIA - a
          <article-title>General Model for Medieval Hebrew Manuscripts and an Open Annotated Dataset”</article-title>
          .
          <source>In: The 6th International Workshop on Historical Document Imaging and Processing</source>
          . Hip '
          <fpage>21</fpage>
          . New York, NY, USA: Association for Computing Machinery,
          <year>2021</year>
          , pp.
          <fpage>61</fpage>
          -
          <lpage>66</lpage>
          . doi:
          <volume>10</volume>
          .1145/3476887.3476896. url: https://doi.org/1 0.1145/3476887.3476896.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>