Africa/Nairobi

Abstract

PDF is one of the most prominent data formats, making PDF parsing crucial for diverse NLP tasks, including document classification, information extraction, and retrieval, especially with the growing prevalence of Retrieval Augmented Generation (RAG) framework. While various PDF parsing tools exist, their effectiveness across different document types remains understudied, especially beyond academic documents. Our research aims to address this gap bycomparing 10 popular PDF pars-


Read Full Text

arXiv:2410.09871v2  [cs.IR]  3 Apr 2025
A Comparative Study of PDF Parsing Tools Across Diverse
Document Categories
Narayan S. Adhikari
1*
and Shradha Agarwal
1,2,3
1
JadooAI, Sacramento, California, USA.
2
Department Nuclear Engineering and Radiation Science, Missouri University of Science
and Technology, Rolla, Missouri, USA.
3
Department of Computer Engineering, Missouri University of Science and Technology,
Rolla, Missouri, USA.
*Corresponding author(s). E-mail(s):
n.adhikari2010@gmail.com;
Contributing authors:
sabrc@mst.edu;
Abstract
PDF is one of the most prominent data formats, making PDF parsing crucial for diverse NLP tasks,
including document classification, information extraction, and retrieval, especially with the growing
prevalence of Retrieval Augmented Generation (RAG) framework. While various PDF parsing tools
exist, their effectiveness across different document types remains understudied, especially beyond
academic documents. Our research aims to address this gap bycomparing 10 popular PDF pars-
ing tools across 6 document categories using the DocLayNet dataset. These tools include PyPDF,
pdfminer.six, PyMuPDF, pdfplumber, pypdfium2, Unstructured, Tabula, Camelot, as well as the deep
learning-based tools Nougat and Table Transformer(TATR).We evaluated both text extraction and
table detection capabilities. For text extraction, PyMuPDF and pypdfium generally outperformed
others, but all parsers struggled with Scientific and Patentdocuments. For these challenging cate-
gories, learning-based tools like Nougat demonstrated superior performance. In table detection, TATR
excelled in the Financial, Patent, Law & Regulations, and Scientific categories. Table detection tool
Camelot performed best for Government Tenders, while PyMuPDF performed superiorly in the Man-
ual category. Our findings highlight the importance of selecting appropriate parsing tools based on
document type and specific tasks, providing valuable insights for researchers and practitioners working
with diverse document sources.
Keywords:Text extraction, PDF parsing, Table detection, Evaluation
1 Introduction
PDF(Portable Document Format) was developed
in 1992 to enable viewing and exchanging elec-
tronic  documents  independently  of  device  or
environment[
1]. It uses an imaging model derived
from the PostScript language. PDF can incor-
porate various types of content, including text,
images, annotations, videos, and  3D objects.
Also, PDF supports encryption, digital signa-
tures, attachments, and metadata. These features
have made it one of the most popular docu-
ment formats. It is estimated that roughly around
2.5 trillion PDF documents are in circulation[2].
PDF parsing is crucial for a wide range of NLP
1

tasks, including document summarization, trans-
lation, information retrieval, and question answer-
ing. With the advent of promising Retrieval-
Augmented Generation (RAG) architectures[3],
it has become even more important, as PDF is
a common source for knowledge base creation,
and unlike tagged documents such as HTML,
PDFs only store instructions for character and line
placement[4]. Parsing PDFs has several critical
challenges that demand careful consideration and
handling[5], some of these are mentioned below:
1. Word identification: Extraction processes may
incorrectly break words, mishandle hyphen-
ation, or struggle with special characters like
emojis and diacritics (e.g., ‘a’ vs. ‘`a’).
2. Word order preservation: Maintaining correct
word sequence can be problematic, especially
when dealing with multi-column layouts.
3. Paragraph integrity: Text flow can be disrupted
by embedded formulas or images, potentially
fragmenting paragraphs or inadvertently incor-
porating image captions into the main text.
4. Table  extraction:  Inaccurate  identification/
complete failure in the identification of tabu-
lar data. This can result in misaligned rows
and columns, compromising the integrity of the
extracted information.
PDF parsing methods can be broadly cat-
egorized  into  rule-based  and  learning-based
approaches. Rule-based methods include fixed
rules[6], Hidden Markov Models[7], etc. Learning-
based  approaches  include  a  variety  of  tech-
niques  such  as  using  Machine  learning[8][9],
CRNN[10], and transformer architectures[11][12].
While advanced machine learning methods are
promising in this area, studying rule-based parsers
for PDF analysis remains highly relevant. Rule-
based approaches offer distinct advantages in com-
putational efficiency, speed of deployment, and
ease of use. They require less processing power
and can be quickly implemented without any
domain-specific training, making them accessible
to a wider range of users and scenarios. One of
the other advantages of rule-based parsers is their
interpretability, which allows for easier debugging
and auditing of the parsed text. The primary
objective of our study is to evaluate the state-of-
the-art rule-based tools for text extraction from
PDFs across various domains, including their per-
formance on both general text and tabular con-
tent. We aim to identify their shortcomings and
propose potential solutions to address these limi-
tations.
We conduct a comprehensive comparison of 10
well-maintained, open-source PDF parsing tools
using the DocLayNet dataset[13] for general text
extraction and table detection tasks. Notably, this
is the first comparative study of PDF parsers
across six distinct document categories. To the
best of our knowledge, the DocLayNet dataset
has not been previously utilized for such studies.
Our study primarily utilizes digitally-born PDFs
rather than being scanned from paper documents
from the DocLayNet dataset. For such documents,
rule-based parsers are one of the most efficient
methods for text extraction. To contextualize our
work, we summarize labeled datasets and evalua-
tion approaches used in previous studies in Section
2. Section3outlines the DocLayNet dataset and
our evaluation criteria, establishing the founda-
tion for our comparative analysis of PDF parsing
tools. At the end part of the paper, we provide a
comparison of PDF parsers across document cate-
gories as well as an overall study, aiming to provide
a fair assessment of their capabilities for table and
text extraction.
2 Related Work
We first survey the existing labeled datasets for
information extraction tasks from PDFs. The ear-
liest datasets for Document Image Analysis and
Recognition (DIAR) can be traced back to the
1990s, including NIST[
14] and UW[15] datasets.
Over the past 30 years, there has been significant
progress in this direction. Notably, since 2015,
the field has seen a boom in terms of dataset
availability. Initially, the datasets were small and
comprised scanned PDFs or images, but as time
progressed, datasets with digitally born PDFs
became more prevalent. In creating a Document
Layout Analysis (DLA) dataset, annotation is the
most challenging part. The process of annotation
can be broadly classified into three categories[16]:
1. Manual: A set of rules is given to human
annotators for annotating the documents.
2

2. Automatic: A set of algorithms is used to anno-
tate the data. Humans are only needed for
quality checking.
3. Generative: Generative models are used to
synthesize the data.
Manual annotation is very laborious and not scal-
able for large documents. Automatic annotation
is a good choice for a large number of documents,
but it has certain constraints. It often requires
additional structured files such as TeX or XML.
Most of the DLA datasets consist of scientific or
research documents as shown in Table1. There
are two primary reasons for this: (i) Availability:
These documents are easily accessible online, e.g.,
arXiv. (ii) Ease of annotation: Automatic annota-
tion is possible since most of these accompanying
TeX files.
We also observe that some of these datasets are
partially annotated, focusing only on certain ele-
ments (such as metadata or references) of the doc-
uments. DocBank and PubLayNet are currently
the two largest fully annotated datasets available.
PubLayNet[17], containing over 360,000 docu-
ments, was constructed using scientific and medi-
cal publications. On the other hand, DocBank[18]
was created using approximately 500,000 docu-
ments from arXiv. It categorizes the extracted text
into 12 element categories. The recent M6Doc[19]
dataset contains 9,080 manually annotated pages,
which include scanned and photographed doc-
uments from categories such as scientific arti-
cles, textbooks, books, test papers, magazines,
newspapers, and notes in Chinese and English.
There are many datasets specifically dedicated
to table detection and table structure recogni-
tion. PubTables-1M[20] is the largest dataset cre-
ated using scientific articles for table detection
and structure recognition. It has input files in
PDF/XML format and output as JSON. However,
several popular datasets, such as ICDAR-2019 [21]
and TableBank [22], contain input in Image/La-
TeX format. We have not included them in Table
1as we are interested in PDFs only.
DocLayNet[13] is the largest dataset containing
fully annotated digital-born documents from six
different domains (Law and Regulations, Finan-
cial documents, Government Tenders, Scientific
articles, Manuals, and Patents). It comprises over
80,000 manually annotated documents catego-
rized into 11 different element categories (Caption,
Footnote, Formula, List-item, Page footer, Page-
header, Picture, Section-header, Table, Text, and
Title).
Several studies have been conducted to evalu-
ate PDF parsing tools using various metrics (Table
2). Our literature review of these studies found
that:
1. Some of these studies[8][28] focus solely on
selected element extraction capabilities of PDF
parsers (e.g. metadata).
2. Only Bast[5] and Meuschke[29] have compared
PDF parsers for full layout analysis.
3. Almost all of these studies have tested PDF
parsers against academic documents exclu-
sively.
4. There is no study comparing PDF parsers
that focus solely on full-text extraction with-
out specific element extraction (e.g., headers,
titles).
5. Meuschke et al.[29] shows that  the Table
extraction   quality   of   some   of   these
tools(Camelot, Tabula, etc.) is significantly
lower compared to other elements. However,
they do not further investigate the underlying
reasons for this disparity.
6. Except for the study by Meuschke[29], most of
the tools from other studies are outdated or not
actively maintained.
These observations highlight the need for a
comparative study to evaluate the performance
of the latest PDF parsers across a wide range of
document types, not just limited to scientific pub-
lications. The DocLayNet dataset includes various
document types with specific element labels such
as formulas and tables. The diversity in docu-
ment categories in the DocLayNet dataset allows
for a more accurate representation of the variety
of document layouts found in real-world applica-
tions. We chose this dataset for our study because
it directly aligns with our objectives: (i) com-
paring PDF parser performance across multiple
document types; (ii) assessing parser capabilities
for comprehensive full-text extraction; and (iii)
evaluating table extraction performance.
3 Methodology
In this section, we provide an overview of the
main features of the dataset we used for our study,
namely the DocLayNet dataset[
13], and outline
3

Table 1Overview of commonly cited datasets for information extraction from PDFs, detailing various types of ground
truth elements (GTE) including references (R), full text with layout details (FT), and tables (T). The ground truth
elements were generated either automatically using XML or LaTeX files, or manually with human intervention.
DatasetSize  SourceDocument TypeGTE   Annotation
GIANT [23]1BCrossrefResearch articlesRAutomatic(XML)
S2ORC[24]8.1M  Semantic Scholar  Research articlesR, FT  Automatic(Latex)
PubLayNet[17]360k   PubMedBiomedical articlesFTAutomatic(XML)
SciTSR[25]15k    arXivResearch articlesTAutomatic(Latex)
Bast[5]12k    arXivScientific articlesFTAutomatic(Text)
DocBank[18]500k   arXivResearch articlesFTAutomatic(Text)
FinTabNet[26]89k    Multiple sources   Annual financial reports  TAutomatic(XML)
PubTables-1M[20]  1M    PubMedScientific articlesTAutomatic(XML)
DocLayNet[13]80k    Multiple sources   MultipleFTManual
M6Doc[19]9kMultiple sources   MultipleFTManual
SciBank[27]74k    arXivScientific articlesFTAutomatic(Latex)
Table 2Summary of studies comparing PDF parsers. Evaluation metrics used by the studies: Precision(P), Recall(R),
and F1 Score.
PaperDataset Size  Document Type  Metrics  Elements  No. of tools
Tkaczyk[8]9,491ScientificP, R, F1   References10
Bast[5]12,000ScientificCustom    Multiple14
Lipinski[28]1,253ScientificAccuracy   Metadata9
Meuschke[29]500,000AcademicP, R, F1    Multiple10
the steps we took to generate the ground truth
text. Additionally, we discuss the evaluation met-
rics utilized and the PDF parsers evaluated in our
analysis.
3.1 DocLayNet Dataset
DocLayNet contains approximately 80,000 docu-
ment pages. Documents are annotated with 11
distinct elements: Footnote, Formula, List-item,
Page footer, Page-header, Picture, Section header,
Table, Text, and Title. The documents provided
in the DocLayNet dataset are classified into 6
distinct categories: Financial Reports, Manuals,
Scientific Articles, Laws and Regulations, Patents,
and Government Tenders. The distribution of
these categories is provided in Figure
1. These doc-
uments are mostly in English (95%), with a few
documents in German (2.5%), French (1%), and
Japanese (1%).
The other datasets[17][18]mainly contain sci-
entific documents taken from repositories such as
arXiv or PubMed. These datasets have limited
variability in layout as they follow more or less
Financial
32.0%
Scientific
17.0%
Patents
8.0%
Manuals
21.0%
Tenders
6.0%
Law and Regulation
16.0%
Fig. 1Distribution of document categories in DocLaynet
Dataset[
13]
uniform templates. However, DocLayNet provides
a wide range of document layouts. The ‘Financial’
and ‘Manual’ categories include a large num-
ber of freestyle documents. Specifically, Financial
Reports consist of both annual reports in freestyle
format and formal SEC (Securities and Exchange
Commission) filings, while the Manuals category
4

comprises documents such as instructions for com-
puter program manuals and grammar guides. The
remaining categories - Scientific Articles, Laws
and Regulations, Patents, and Government Ten-
ders - contain documents from various websites
and publishers, further increasing the variability
in document layouts. To ensure the high quality
and reliability of the annotations, around 7,059
documents were doubly annotated, and 1,591 doc-
uments were triply annotated. This means these
documents were independently annotated by two
or three different annotators respectively, allowing
for the determination of inter-annotator agree-
ment.
DocLayNet’s ‘core’ dataset contains JSON files in
standard COCO format[30] with images (PNG).
Each JSON file has information such as document
category, document name, precedence (non-zero in
case of redundant double- or triple-annotation),
bounding box coordinates, and text inside the
bounding boxes. DocLayNet’s ‘extra’ dataset con-
tains PDF and JSON files which include the text
and bounding box coordinates. Both datasets con-
tain files split into test, train, and validation
sets.
3.1.1 Extraction of Ground Truth
For the extraction of ground truth, we used the
processed files from Hugging Face
1
, which con-
tained the DocLayNet core dataset with corre-
sponding PDF files taken from DocLayNet extra
files. For text extraction, we followed a 4-step
process to generate ground truth from JSON :
1. Load the JSON into a data frame.
2. Sort the text by ‘id
boxline’. The ‘idboxline’
is a unique identifier that ensures the text is
processed in the correct order based on its
position in the document.
3. Add the text together with a space if the text
‘category’ is the same. If the text ‘category’
changes, add a new line.
4. Repeated the process for each JSON file.
With these steps, we were able to extract the
full ground truth text as closely as possible to the
actual layout. In addition to that we made sure
that the header is always on top and the footer
1
https://huggingface.co/datasets/pierreguillou/DocLayNet-
base
on bottom. An example of the output is shown in
Figure
2.
JSON
Fig. 2Example of ground truth generation from the
JSON file loaded into a dataframe. Content from the ‘text’
column was extracted, and new lines and spaces were added
according to the ‘category’ column.
3.2 Evaluation Procedure
We used two different evaluation procedures: i) for
the text and ii) for the tables. The distinction is
necessary because, in the former, we are evaluating
the text extraction quality of the parser, while in
the latter, we are only evaluating the table detec-
tion ability of parsers.
i) For the text extraction: Ground truth
text was obtained by parsing JSON files using
the procedure discussed in the previous section.
Correspondingly, PDFs with matching filenames
were processed using a PDF parser to obtain the
extracted text. We compared the text extracted
from PDF parsers with the ground truth from the
JSON file. However, for some metrics(Levenshtein
similarity and BLEU) as shown in Figure
3, the
text is required in tokenized format, we tokenized
the combined text for those metrics.
ii)For the table detection: We used a sim-
ilar process as described in the previous section.
However, we only extracted ‘text’ from the JSON
file if it belonged to the ‘Table’ category. The
rule-based PDF parser we used has the capability
to extract the tables separately (Table1). How-
ever, these parsers only provide the tables and
not the bounding boxes of the identified tables.
Therefore, we relied on the extracted text to deter-
mine whether the table was correctly detected. We
compared the extracted text from the tables rec-
ognized by the PDF parsers with the ground truth
text and then used a threshold to decide whether
the table was correctly identified. When com-
paring with transformer-based parsers, instead of
using the extracted text, we relied on the bounding
5

Fig. 3Comparison of PDF parser outputs against ground
truth data. Both JSON and PDF files are processed to
produce ground truth text and extracted text from PDF
parsers. Both outputs are saved in the tokenized and com-
bined format before being evaluated using metrics such as
F1 score, BLEU, and Local Alignment.
boxes since they provide the bounding box coor-
dinates in the output. The threshold criterion and
the evaluation metrics will be discussed in detail
in the subsequent section.
3.3 Evaluation Metrics
In this section, we establish evaluation criteria
suitable for comparing extracted text against the
ground truth and for assessing table detection. As
discussed in the introduction, several factors can
affect extraction quality, including word order,
word identification, paragraph alignment, and
misidentification of tables. Therefore, it is crucial
to utilize evaluation metrics that consider all
these factors.
For Text Extraction: For the evaluation of
text extraction, we used a three-fold evaluation
strategy: i) Calculation of F1 score using Leven-
shtein similarity ii) BLEU Score iii) Calculation of
local alignment score
The Levenshtein distance(L
d
) is the minimum
number of edit operations required to transform
one string into another. The edit operations are:
(i) Single character insertion (ii) Single character
deletion (iii) Single character substitution.
Levenshtein Similarity(L
s
) for two stringss
1
, s
2
is
defined in Equation
1. However, we prefer Normal-
ized Levenshtein similarity defined in Equation2
as it is not sensitive to the length of strings[31].
L
s
(s
1
, s
2
) = 1−L
d
(s
1
, s
2
)(1)
kL
s
(s1, s2)k=
L
s
(s
1
, s
2
)
max(l
1
, l
2
)
(2)
where,
l
1
, l
2
are lengths of stringss
1
, s
2
.
For each document, we generated a similarity
matrix by computing the Normalized Levenshtein
similarity score between the tokenized extracted
text and the ground truth. Each element of Simi-
larity Matrix S (Equation
3) represents the simi-
larity between thei
th
token of extracted text and
j
th
token of ground truth.
S= [S
ij
]
(l
et
×l
gt
)
(3)
We chose a matching threshold of 0.7[29]. We
then computed Precision, Recall, andF
1
scores as
follows:
T P
i,j
=
{
1  ifs
ij
≥0.7
0  Otherwise
Where,s
ij
is an element of the similarity matrix.
P=
∑
l
et
i=1
∑
l
gt
j=1
T P
i,j
l
et
(4)
R=
∑
l
et
i=1
∑
l
gt
j=1
T P
i,j
l
gt
(5)
F
1
=
2×P×R
P+R
(6)
This procedure is discussed in detail by Meuschke
et al.[
29]. This metric evaluates the PDF parser’s
word/token-wise extraction quality. By computing
the Normalized Levenshtein similarity token-wise,
the F1 score provides a reliable estimate of the
PDF parser’s ability to accurately identify and
extract individual words from the PDF.
TheBLEU(BilingualEvaluation
Understudy)[32] method was originally developed
for evaluating machine translation. It can be
used to compare a reference text (the ground
truth) with a candidate text (the extracted text).
To calculate the BLEU score, we first compute
the geometric average of the modified n-gram
precisionp
n
of the tokenized ground truth and
extracted text. Then, we multiply it by the
6

Text
Fig. 4Similarity matrix is generated by calculating
the normalized Levenshtein similarity between tokenized
GT(Ground truth) and ET(Extracted text). if the value is
greater than the threshold(colored) it is counted as 1. Here
∑
3
i=1
∑
3
j=1
TP
i,j
= 2
brevity penalty (BP),
BP =
{
1ifc > r
exp(1−r/c)  otherwise.
(7)
and,
BLEU = BP·exp
(
N
∑
n=1
w
n
logp
n
)
(8)
where c is the length of candidate text(extracted
text) and r is the length of reference text(ground
truth text). N is the maximum length of n-
gram,w
n
assigned weights  to  n-gram preci-
sion. In our experiments, we calculated BLEU-4
score(N=4). Since BLEU computes the n-gram
overlap between the extracted text and the ground
truth, it is an effective metric for evaluating both
word order and word identification.
Local alignment is a commonly used method in
bioinformatics for matching sequences[
33]. We use
the local alignment score to assess the overall qual-
ity of text extraction. When given two stringss
1
ands
2
, we look for two substringss
′
1
ands
′
2
(from
s
1
ands
2
respectively) with the highest similar-
ity among all pairs of substrings froms
1
ands
2
.
The similarity is calculated using a scoring system
(refer to Figure
5), where matches receive positive
scores, and mismatches and gaps are penalized.
The gap penalty[
33] can be defined in the following
way:
GS = OGS + (n-1)×EGS(9)
Where, GS is Gap Score, OGS is an open gap score
for the first gap in a cluster. EGS is the extended
gap score used for each gap following the open gap.
n is the length of the gap.
Local alignment score is a quantifiable scoring
system, that balances well-matched areas against
parsing errors like incorrect word extraction, lay-
out mistakes, and paragraph splitting issues, mak-
ing it an excellent choice for evaluating PDF
parsers. The local alignment score is usually cal-
culated using the Smith-Waterman algorithm[34].
In our experiments, we calculated the normal-
ized local alignment(normalized by the length of a
longer string) score using combined ground truth
and extracted text.
Fig. 5An example of Local alignment score calculation
for two strings. First, we define the matching score, mis-
match, and Gap penalty. For these two strings, the local
alignment score is 4 and the normalized local alignment
score is 0.67.
For Tables: In order to evaluate table extrac-
tion, we use the Intersection over Union (IoU)
to compare the similarity between the table
extracted by the parser and the ground truth
table. IoU can be defined as follows:
IoU =
|A∩B|
|A∪B|
(10)
Where A and B can be areas of bounding boxes or
sets of strings; the latter is also known as Jaccard
similarity.
If the parser extracts text from a table without
providing the bounding boxes, we use the Jaccard
index to calculate the precision and recall of the
detection. First, we flatten the tables extracted by
parsers into a list, as the tables from the ground
truth JSON can only be extracted as a list. Then,
for each document, we compute the normalized
Jaccard similarity between all extracted tables
and ground truth tables. If the Levenshtein simi-
larity between a pair of ground truth tables and an
extracted table exceeds a threshold, we consider it
as a correctly identified table by the parser.
In cases where bounding box information is
available, we use Intersection over Union (IoU) to
calculate the precision and recall of the detection.
7

The DocLayeNet dataset contains bounding boxes
in COCO format, but we converted it to Pascal
VOC format because the model we used requires
this format.
2
Then we computed the IoU between
the extracted table and ground truth table accord-
ing to the Equation10. If the IoU is greater than
the threshold, we consider it a correctly identified
table. Finally, we calculate precision, recall, and
F1 score for table detection.
3.4 Tools used
In our study, we conducted a comprehensive com-
parison of 10 open-source tools for text and table
extraction tasks. These tools were selected based
on their recent activity, ensuring that each has
had active contributions on GitHub within the
last six months. This criterion guarantees that the
tools are up-to-date and likely to be supported
and maintained by their developers. The tools we
evaluated are summarized in Table3. By including
only actively maintained tools, we aim to present
the most relevant and effective solutions available
for text and table extraction tasks.
PyPDF
3
: PyPDF is a mature, pure Python
library capable of extracting text, images, and
metadata  from  PDF  files.  It  has  inspired
many forks, including the well-known PyPDF2,
PyPDF3, and PyPDF4. Notably, PyPDF2 has
been merged back into the main PyPDF library,
consolidating its features and improvements. For
our experiments, we used the latest version of
PyPDF.
Pdfminer
4
: Pdfminer is a versatile tool capable of
extracting text, images, table of contents, and font
size information from PDF files. It performs auto-
matic layout analysis and supports CJK (Chinese,
Japanese, Korean) languages as well as vertical
writing. For our experiments, we used its most
active fork, pdfminer.six.
PDFPlumber
5
: Built on top of pdfminer, it can
extract text as well as tables. It also features a
visual debugging tool to aid in the extraction pro-
cess.
PyMuPDF
6
: It provides Python bindings to the
2
COCO to PASCAL: [x
center
, y
center
, width, height]→
[x
min
, y
min
, x
max
, y
max
]
3
https://github.com/py-pdf/pypdf
4
https://github.com/pdfminer/pdfminer.six
5
https://github.com/jsvine/pdfplumber
6
https://github.com/pymupdf/PyMuPDF
MuPDF library written in C. It can extract text,
tables, and images, and provides optional OCR
support with Tesseract. However, here we use only
the rule-based version of PyMuPDF for our anal-
ysis.
Pypdfium2
7
: Pypdfium2 is a binding to the
PDFium library, capable of extracting text and
images from PDF files.
Unstructured
8
: Unstructured is a library for
preprocessing and ingesting images and text doc-
uments. It supports element-wise text extraction
and can extract images as well. Unstructured also
provides support for the OCR and chipper model,
to extract text from scanned documents, and per-
forms layout analysis with the ‘detectron2’ model.
It offers table extraction features with OCR. We
haven’t used the OCR version of this tool in our
comparison.
Camelot
9
: It is a Python library that provides
table extraction features for PDFs. Tables are
extracted as Pandas DataFrames. It provides user
flexibility to tweak the configuration parameters
for table extraction. It uses two technologies:
stream and lattice. Lattice mode identifies the
demarcated lines between cells and uses them to
parse the tables. On the other hand, stream mode
uses whitespace between cells to parse the table.
In our experiments, we used the default settings.
Tabula
10
: Tabula or tabula-py is a Python wrap-
per around tabula-java and uses PDFBox in the
background. It can extract tables from PDFs
and convert them into DataFrames, CSV files, or
JSON. It also offers stream and lattice modes. In
our experiments, we did not specify any mode our-
selves.
Nougat: Nougat[35](Neural Optical Understand-
ing for Academic documents) is a transformer-
based vision and document understanding (VDU)
model. It uses an encoder-decoder architecture
inspired by the donut model. It is specifically
trained for academic documents. Nougat excels at
converting Scientific documents to markup text
and is particularly adept at parsing Mathematical
equations.
TATR: The Table Transformer(TATR)[36] is an
7
https://github.com/pypdfium2-team/pypdfium2
8
https://github.com/Unstructured-IO/unstructured
9
https://github.com/camelot-dev/camelot
10
https://github.com/chezou/tabula-py
8

object detection model trained on the PubTables-
1M and FinTabNet datasets for table detection.
It is capable of recognizing tables from image
inputs. However, a separate OCR model is needed
to extract the text. TATR can be trained for other
domains using custom datasets.
4 Results
In this section, we present the results of evaluating
various PDF parsers for text extraction and table
detection tasks using the DocLayNet dataset[
13].
We compared parsers across 6 categories as sum-
marized in Table4-5and Figures6-9. For text
extraction(4.1), we used a Levenshtein similar-
ity threshold of 0.7. For table detection(4.2), the
Jaccard index threshold was set to 0.75, and we
computed IOU with two thresholds: 0.6 and 0.7.
To ensure a fair comparison, we used a balanced
dataset with an equal number of documents across
all categories in our experiments.
4.1 For Text Extraction:
We compared the PDF parsers using the met-
rics: F1 scores, BLEU-4, and local alignment
scores across 6 document categories(refer Table
4). The results reveal significant performance vari-
ations among PDF parsing tools across differ-
ent document categories. Financial, Tender, Law,
and Manual categories saw consistently high F1
scores across most tools, with PyMuPDF and
pypdfium consistently performing better in these
document types as shown in Figure6and Figure
7. PyMuPDF and pypdfium demonstrated con-
sistency in word order preservation, achieving
the highest BLEU-4 scores in Financial, Manual,
Scientific, and Tender, Patent, Law & Regula-
tions categories, respectively. This suggests that
these two tools are particularly adept at main-
taining the original word structure in sentences, a
crucial factor in many information retrieval appli-
cations. PyMuPDF and pypdfium have also shown
good performance in local alignment scores indi-
cating their ability to handle complex layouts
and paragraph structures effectively. Additionally,
PyPDF has demonstrated high local alignment
scores across some categories such as Law (0.9358)
and Manual (0.9343). However, it’s important
to note that it didn’t perform as well in other
metrics, emphasizing the significance of consider-
ing multiple evaluation criteria when choosing a
parser.
Scientific  and  Patent  categories  presented
notable challenges. In the Scientific category, all
tools showed a marked decrease in performance,
with Pypdfium maintaining a slight edge at an
F1 score of 0.8525 and BLEU score of 0.7089,
as shown in Table4. The Patent category exhib-
ited the widest performance gap among tools.
PyMuPDF and pypdfium significantly outper-
formed others, scoring F1 scores of 0.973 and 0.969
respectively. The significant drop in scores for
Scientific and Patent documents highlights a per-
sistent challenge in PDF parsing technology. For
Scientific documents, we compare the rule-based
parser with Nougat a Visual transformer model
and it outperforms all rule-based parsers by a huge
margin as shown in Figure8.
The results show that the type of document
has a strong influence on the performance of the
tools used. The best choice of tools depends on
the specific document type and the performance
aspects prioritized for a particular information
retrieval task. For tasks that prioritize maintain-
ing the structure of the document, like legal doc-
ument analysis, parsers with high BLEU-4 scores
such as PyMuPDF may be preferred. On the other
hand, tasks requiring comprehensive information
capture may benefit from parsers with high recall.
Although there was not a significant difference in
F1 scores among the tools (the highest difference
being 0.1 for the patent category), the variation
in BLEU and local alignment scores was quite
apparent as shown in Table4. This indicates that
the differences in performance among parsers pri-
marily lie in their ability to accurately interpret
the structure and layout of the documents, rather
than in their ability to extract individual words.
9

Table 3Overview of text and table extraction tools used in our study. Key extraction capabilities include extraction of
Image (I), Text (T), Metadata (M), Table of Contents (TOC), and Table (TB). Most tools use rule-based (RB)
technology, with some offering Optical Character Recognition (OCR) capabilities. However, Nougat and Table
Transformers were not the primary focus of this study.
ToolVersionExtraction  TechnologyOutput
PyPDF4.3.0I, T, MRBTXT
pdfminer.six20240706I, T, TOCRBTXT, HTML, hORC, JPG
PyMuPDF1.24.7I, T, TBRB(MuPDF), OCRTXT, HTML, SVG, JSON
pdfplumber0.11.2I, T, TBRB(pdfminer)TXT, HTML, hORC, JPG
pypdfium24.30.0TRBTXT
Unstructured0.14.10T, TBRB, OCRTXT
Tabula2.9.3TBRBDataFrame, CSV, JSON
Camelot0.11.0TBRBDataFrame, CSV, JSON, HTML
Nougatbase(350M)TTransformerMarkdown
Table Transformer  TATR-v1.1-All  TBTransformerImage
FinancialTenderLawScientificManualPatent
Categories
0.0
0.2
0.4
0.6
0.8
1.0
F1 Score
Tools
pdfminer
pdfplumber
PyMuPDF
pypdf
pypdfium
Unstructured
Fig. 6F1 score of 6 PDF parsers across all document
categories for text extraction.
FinancialTenderLawScientificManualPatent
Categories
0.0
0.2
0.4
0.6
0.8
1.0
BLEU
 Score
Tools
pdfminer
pdfplumber
PyMuPDF
pypdf
pypdfium
Unstructured
Fig. 7BLEU-4 score of 6 PDF parsers across all docu-
ment categories for text extraction.
NougatPdfminerPdfplumberPyMuPDFPyPDFPypdfiumUnstructured
Parsers
0.0
0.2
0.4
0.6
0.8
1.0
Scores
Metrics
F1
BLEU
Fig. 8Comparison of rule-based parsers and Nougat
for text extraction in Scientific documents using F1 and
BLEU.
4.2 For Table Extraction:
The evaluation of four rule-based PDF table
extraction   tools   -   Camelot,   pdfplumber,
PyMuPDF,  and  Tabula  -  along  with  a
transformer-based model TATR for table detec-
tion shows performance patterns across various
document categories(Table
5). While rule-based
tools like Camelot excel in specific document
types, the transformer-based model demonstrates
superior versatility and consistency across all
categories. In terms of recall, the rule-based
tools performed poorly in all categories other
than Manual and Tender, as shown in Fig.11.
Camelot achieved the highest score in the Tender
category (0.72). Tabula outperformed others in
the Manual, Scientific, and Patent categories.
PyMuPDF showed the most consistent recall
across categories among rule-based tools. The
Table Transformer, however, demonstrated high
recall scores across Scientific, Financial, and Ten-
der categories with Scientific documents achieving
the highest recall (>0.9) (Fig.9, right panel).
However, in the Manual and Tender categories,
its performance is not better than PyMuPDF and
Camleot respectively(Table5).
5 Discussion
For text extraction, all rule-based parsers under-
performed in the Scientific and Patent categories.
Scientific documents are challenging to parse due
to the Mathematical expressions in them. All
of the rule-based parsers analyzed here extract
the mathematical equation in symbolic form. We
10

FinancialTenderLawScientificManualPatent
Categories
0.0
0.2
0.4
0.6
0.8
1.0
Scores
Precision
FinancialTenderLawScientificManualPatent
Categories
Recall 
IOU threshold
0.6
0.7
Fig. 9Precision and Recall of Table Transformer(TATR) across alldocument categories for Table detection.
FinancialTenderLawScientificManualPatent
Categories
0.0
0.2
0.4
0.6
0.8
1.0
Precision
Tools
Camelot
pdfplumber
PyMuPDF
Tabula
Fig. 10Precision of rule-based parsers across all docu-
ment categories for Table detection.
found that it is insufficient to express the complex
formulas involving vectors, matrices, etc. Also, the
parsers sometimes extract the content of graphs
and it gets mixed in paragraphs which further
worsens the quality of extraction. In our opin-
ion, the better way would be to use parsers that
can extract the texts from scientific documents
as Latex, Markdown, or MathML formats. As we
show with an example of Nougat, these approaches
are much better for scientific documents than
the conventional rule-based approaches. In the
DocLayNet dataset, most patents are documents
filled with images of designs or diagrams of chem-
ical compounds, etc. Parsing such documents is
beyond the scope of rule-based parsers. Hence, an
OCR-based approach would be more suitable for
such documents.
FinancialTenderLawScientificManualPatent
Categories
0.0
0.2
0.4
0.6
0.8
1.0
Recall
Tools
Camelot
pdfplumber
PyMuPDF
Tabula
Fig. 11Recall of rule-based parsers across all document
categories for Table detection.
Table detection is a challenging part for all of
the parsers. Rule-based parsers excel in detecting
the table if i) there are clear boundaries in tables
and ii) Spaces between columns’ text are fixed.
However, most of the parsers in this category were
not able to parse the PDF at all. It can be seen
in low recall/high false positive scores. However,
the diversity in table structures across document
categories poses a considerable obstacle for rule-
based parsers. We found that all of these parsers
mainly struggle to detect the tables if i) Tables are
nested ii) There is no table boundary iii) the Table
is in the form of the table of contents iv) Multi-
ple tables on a single page v) Tables using color
differentiation instead of lines vi) Table columns
are separated by “..” or “ - -”. We found that
11

Table 4A comprehensive comparison of various PDF parsing libraries across different document categories (Financial,
Law and Regulations, Manual, Patent, Scientific, and Government tenders). Performance is evaluated using: F1 score,
Precision, Recall, BLEU score, and Local Alignment. Highervalues (indicated by↑) are better for all metrics. Bold values
represent the best performance for each metric within each category. The evaluation used 800 balanced documents per
category, ensuring a fair comparison across different document types.
Category  ParserF1 (↑)  Precision (↑)  Recall (↑)  BLEU (↑)  Local Alignment (↑)
Financial
pdfminer.six0.99790.96490.99120.81910.6827
pdfplumber0.95680.97850.93610.81590.7029
PyMuPDF0.98250.97600.98920.93480.9178
pypdf0.95420.96120.94740.83210.8978
pypdfium0.98850.99090.98600.94570.9285
Unstructured   0.97670.96490.98870.93710.8371
Law
pdfminer.six    0.98140.97960.98320.87480.7996
pdfplumber0.97910.98150.97680.82360.6506
PyMuPDF0.98310.98570.98060.92320.9354
pypdf0.96980.97460.96500.87320.9358
pypdfium0.98390.99120.97680.91830.9228
Unstructured   0.98070.97980.98160.87510.8359
Manual
pdfminer.six    0.98570.98820.98320.89500.8617
pdfplumber0.88170.96720.81000.73860.8432
PyMuPDF0.98600.98860.98350.92130.9317
pypdf0.96010.97650.94420.86450.9343
pypdfium0.98680.99080.98290.92900.9311
Unstructured   0.98430.98930.97940.89130.8835
Patent
pdfminer.six    0.87030.96720.79100.53010.6141
pdfplumber0.94690.95380.94010.60700.5459
PyMuPDF0.97320.97260.97370.80420.8507
pypdf0.85480.92910.79160.61170.7842
pypdfium0.96920.97090.96760.80200.8108
Unstructured   0.87040.96720.79110.49390.5873
Scientific
pdfminer.six    0.85100.89180.81370.65770.7222
pdfplumber0.76440.85840.68900.57190.6446
PyMuPDF0.83950.89700.78880.69620.8088
pypdf0.76410.88100.67460.58320.7968
pypdfium0.85260.90460.80630.70890.8004
Unstructured   0.85140.89410.81270.66250.7407
Tender
pdfminer.six    0.99080.99150.99010.89710.8333
pdfplumber0.98340.98680.98010.89320.8513
PyMuPDF0.99290.99550.99040.95210.9433
pypdf0.96910.95650.98210.85440.9404
pypdfium0.98880.99460.98310.93850.9315
Unstructured   0.98990.99150.98840.88900.8580
the learning-based approach would be more suit-
able for handling complex tables. As can be seen
in Table5- TATR although trained for finan-
cial and scientific documents, also excels in other
categories.
6 Conclusion and Future
Work
While our study provides valuable insights into
the performance of various PDF parsing tools
across different document categories, it has a few
limitations - The sample size for comparison of
Nougat is relatively small due to the nature of the
ground truth of the DocLayNet dataset(Ground
truth is not in LaTex format). One major chal-
lenge was dealing with scientific documents, which
often contain inline equations, which are Mathe-
matical expressions embedded within the text and
crucial for the document’s integrity. However, the
dataset we used didn’t support extracting inline
12

Table 5A comprehensive comparison of various PDF parsers for tabledetection across different document categories.
For Camelot, pdfplumber, PyMuPDF, and Tabula, the Jaccard threshold is 0.75. Intersection over Union (IoU) threshold
for TATR @ 60 and TATR @ 70 is 0.60 and 0.70, respectively. The best scores for each category are highlighted in bold.
Higher values (indicated by↑) are better for all metrics. The evaluation used 400 balanced documents per category,
ensuring a fair comparison across different document types.
Category  Parser
Metrics
F1 (↑)  Precision (↑)  Recall (↑)
Financial
Camelot0.10120.57630.0555
pdfplumber   0.06230.05960.6530
PyMuPDF    0.17940.18630.1729
Tabula0.24320.27400.2186
TATR @ 600.78570.84300.7357
TATR @ 70   0.74220.79630.6949
Law
Camelot0.38610.88690.2466
pdfplumber   0.31000.55020.2158
PyMuPDF    0.34460.70740.2277
Tabula0.19560.23390.1681
TATR @ 600.48900.68310.3808
TATR @ 70   0.43390.60620.3379
Manual
Camelot0.59750.95950.4338
pdfplumber   0.68950.91400.5535
PyMuPDF0.74630.97940.6028
Tabula0.48370.64780.3859
TATR @ 60   0.61620.76530.5157
TATR @ 70   0.50720.63000.4245
Patent
Camelot0.01810.26920.0094
pdfplumber   0.01820.33330.0094
PyMuPDF    0.01840.50000.0094
Tabula0.08940.27400.2186
TATR @ 600.52850.61050.4659
TATR @ 70   0.44800.51750.3949
Scientific
Camelot0.33920.52740.2500
pdfplumber   0.06230.05960.0351
PyMuPDF    0.17940.18630.0890
Tabula0.24320.27400.2974
TATR @ 600.91340.92330.9038
TATR @ 70   0.89440.90410.8850
Tender
Camelot0.82790.96960.7224
pdfplumber   0.55800.49670.6366
PyMuPDF    0.68080.73530.6388
Tabula0.46190.42620.5042
TATR @ 60   0.74960.82930.6939
TATR @ 70   0.69610.77000.6351
equations, making accurate text comparison diffi-
cult. Also, comparison to learning-based methods
was limited to a single tool each for scientific text
extraction (Nougat) and table detection (TATR).
In future studies, it would be valuable to inves-
tigate how different types of learning methods
perform when trained on samples from these 6 cat-
egories. In particular, We plan to test TATR and
other such models on a wider range of document
types, including Law and Regulation, Manual,
Government Tenders, and Patents categories. This
will help us understand how well it handles dif-
ferent kinds of tables, like nested or multimodal
13

ones, tables of contents, etc. During our experi-
ments, we observed that Nougat sometimes hal-
lucinates when parsing Scientific documents. To
address this, we would like to explore combining
rule-based parsers with learning-based models like
Nougat. This hybrid approach might help reduce
errors and lead to more accurate parsing.
In our study, we analyzed and compared the
performance of rule-based parsers in extracting
text and detecting tables across various docu-
ment types. We used the DocLayNet dataset
and compared these tools using multiple met-
rics. Our findings show that the performance of
these tools is strongly related to the document
type or the document structure, with scientific
documents presenting the most significant chal-
lenges. Based on our findings, we suggest that
learning-based approaches could be more suitable
for handling scientific documents. We also inves-
tigated the table detection capabilities of these
parsers and found that their poor text extraction
performance was largely attributable to inade-
quate table detection. Based on our findings, we
suggest that techniques like TATR could prove
more effective for table detection tasks.
Additionally, we examined and discussed the
underlying factors contributing to the parsers’
subpar performance in Scientific categories and
table detection. This comprehensive analysis pro-
vides valuable insights into the strengths and limi-
tations of current rule-based parsing tools, paving
the way for future improvements in document
analysis and information extraction technologies.
References
[1] ISO: Document management—portable doc-
ument format—Part 1: PDF 1.7. Technical
Report  ISO  32000–1:2008,  International
Organization for Standardization, Geneva,
Switzerland (2008).
http://www.adobe.com/
content/dam/Adobe/en/devnet/acrobat/
pdfs/PDF320002008.pdf
[2] Staar, P.W.J., Dolfi, M., Auer, C., Bekas, C.:
Corpus conversion service: A machine learn-
ing platform to ingest documents at scale. In:
Proceedings of the 24th ACM SIGKDD Inter-
national Conference on Knowledge Discovery
& Data Mining. KDD ’18, pp. 774–782. ACM,
New York, NY, USA (2018).https://doi.org/
10.1145/3219819.3219834
[3] Lewis, P., Perez, E., Piktus, A., Petroni, F.,
Karpukhin, V., Goyal, N., K ̈uttler, H., Lewis,
M., Yih, W.-t., Rockt ̈aschel, T., Riedel, S.,
Kiela, D.: Retrieval-augmented generation for
knowledge-intensive NLP tasks. In: Proceed-
ings of the 34th International Conference
on Neural Information Processing Systems.
NIPS ’20, pp. 9459–9474. Curran Associates
Inc., Red Hook, NY, USA (2020)
[4] Lin, D.: Revolutionizing retrieval-augmented
generation with enhanced PDF structure
recognition. ArXiv (2024)
arXiv:2401.12599
[5] Bast, H., Korzen, C.: A benchmark and
evaluation for text extraction from PDF.
In: 2017 ACM/IEEE Joint Conference on
Digital Libraries (JCDL), pp. 1–10. IEEE,
Toronto, ON, Canada (2017).https://doi.
org/10.1109/JCDL.2017.7991564
[6] Alamoudi, A., Alomari, A., Alwarthan, S.: A
rule-based information extraction approach
for extracting metadata from PDF books.
ICIC Express Letters, Part B: Applications
12(2), 121–132 (2021)
[7] Hetzner,  E.:  A  simple  method  for  cita-
tion  metadata  extraction  using  hidden
Markov models. In: Proceedings of the 8th
ACM/IEEE-CS Joint Conference on Digital
Libraries. JCDL ’08, pp. 280–284. Associa-
tion for Computing Machinery, New York,
NY, USA (2008).
https://doi.org/10.1145/
1378889.1378937
[8] Tkaczyk, D., Szostek, P., Fedoryszak, M.,
et al.: CERMINE: automatic extraction of
structured metadata from scientific litera-
ture. IJDAR18, 317–335 (2015)https://doi.
org/10.1007/s10032-015-0249-8
[9] Lopez, P.: GROBID: Combining automatic
bibliographic  data  recognition  and  term
extraction for scholarship publications. In:
Agosti,  M.,  Borbinha,  J.,  Kapidakis,  S.,
Papatheodorou,  C.,  Tsakonas,  G.  (eds.)
Research and Advanced Technology for Digi-
tal Libraries. ECDL 2009, vol. 5714. Springer,
14

Berlin, Heidelberg (2009).https://doi.org/
10.1007/978-3-642-04346-862
[10] Shi, B., Bai, X., Yao, C.: An end-to-end train-
able neural network for image-based sequence
recognition and its application to scene text
recognition. IEEE transactions on pattern
analysis and machine intelligence39(11),
2298–2304 (2016)
[11] Kim, G., Hong, T., Yim, M., Nam, J., Park,
J., Yim, J.,et al.: OCR-free document under-
standing transformer. In: European Con-
ference on Computer Vision, pp. 498–517.
Springer, Cham (2022)
[12] Li, M., Lv, T., Chen, J., Cui, L., Lu, Y., Flo-
rencio, D.,et al.: TrOCR: Transformer-based
optical character recognition with pre-trained
models. In: Proceedings of the AAAI Con-
ference on Artificial Intelligence, vol. 37, pp.
13094–13102 (2023)
[13] Pfitzmann, B., Auer, C., Dolfi, M., Nassar,
A.S., Staar, P.: DocLayNet: A large human-
annotated dataset for document-layout seg-
mentation. In: Proceedings of the 28th ACM
SIGKDD Conference on Knowledge Discov-
ery and Data Mining. KDD ’22, pp. 3743–
3751. Association for Computing Machinery,
New York, NY, USA (2022).
https://doi.org/
10.1145/3534678.3539043
[14] Grother, P.J.: NIST special database 19.
handprinted forms and characters database.
Technical report, National Institute of Stan-
dards and Technology (1995)
[15] Phillips,  I.T.,  Chen,  S.,  Haralick,  R.M.:
Cd-rom document database standard. In:
Proceedings of 2nd International Confer-
ence on Document Analysis and Recognition
(ICDAR’93), pp. 478–483 (1993)
[16] Gemelli, A., Marinai, S., Pisaneschi, L.,et al.:
Datasets and annotations for layout analysis
of scientific articles. IJDAR (2024)https://
doi.org/10.1007/s10032-024-00461-2
[17] Zhong,  X.,  Tang,  J.,  Yepes,  A.J.:  Pub-
LayNet: largest dataset ever for document
layout analysis. In: 2019 International Con-
ference on Document Analysis and Recogni-
tion (ICDAR), pp. 1015–1022 (2019)
[18] Li, M., Xu, Y., Cui, L., Huang, S., Wei, F., Li,
Z., Zhou, M.: DocBank: A benchmark dataset
for document layout analysis. In: Scott, D.,
Bel, N., Zong, C. (eds.) Proceedings of the
28th International Conference on Computa-
tional Linguistics, pp. 949–960. International
Committee on Computational Linguistics,
Barcelona, Spain (Online) (2020).
https://
doi.org/10.18653/v1/2020.coling-main.82
[19] Cheng, H., Zhang, P., Wu, S., Zhang, J., Zhu,
Q., Xie, Z., Li, J., Ding, K., Jin, L.: M6Doc:
A large-scale multi-format, multi-type, multi-
layout, multi-language, multi-annotation cat-
egory dataset for modern document layout
analysis. In: CVPR, pp. 15138–15147 (2023)
[20] Smock,  B.,  Pesala,  R.,  Abraham,  R.:
PubTables-1M: Towards comprehensive table
extraction from unstructured documents. In:
Proceedings of the IEEE/CVF Conference on
Computer Vision and Pattern Recognition,
pp. 4634–4642 (2022)
[21] Gao, L.,et al.: ICDAR 2019 competition on
table detection and recognition (cTDaR). In:
2019 International Conference on Document
Analysis and Recognition (ICDAR), Syd-
ney, NSW, Australia, pp. 1510–1515 (2019).
https://doi.org/10.1109/ICDAR.2019.00243
[22] Li, M., Cui, L., Huang, S., Wei, F., Zhou,
M., Li, Z.: TableBank: Table benchmark for
image-based table detection and recognition.
In: Calzolari, N., B ́echet, F., Blache, P.,
Choukri, K., Cieri, C., Declerck, T., Goggi,
S., Isahara, H., Maegaard, B., Mariani, J.,
Mazo, H., Moreno, A., Odijk, J., Piperidis,
S. (eds.) Proceedings of the Twelfth Lan-
guage  Resources  and  Evaluation  Confer-
ence, pp. 1918–1925. European Language
Resources  Association,  Marseille,  France
(2020).
https://aclanthology.org/2020.lrec-1.
236
[23] Grennan,  M.,  Schibel,  M.,  Collins,  A.,
Beel, J.: GIANT: The 1-Billion Annotated
SyntheticBibliographic-Reference-String
15

Dataset for Deep Citation Parsing [Data].
Harvard Dataverse (2019).https://doi.org/
10.7910/DVN/LXQXAO
[24] Lo, K., Wang, L.L., Neumann, M., Kinney,
R., Weld, D.: S2ORC: The semantic scholar
open research corpus. In: Proceedings of the
58th Annual Meeting of the Association for
Computational Linguistics, pp. 4969–4983.
Association for Computational Linguistics,
Online (2020)
[25] Chi, Z., Huang, H., Xu, H., Yu, H., Yin,
W., Mao, X.: Complicated table structure
recognition. ArXiv (2019)
arXiv:1908.04729
[26] Zheng, X., Burdick, D., Popa, L., Zhong, X.,
Wang, N.: Global table extractor (gte): A
framework for joint table identification and
cell structure recognition using visual con-
text. In: 2021 IEEE Winter Conference on
Applications of Computer Vision (WACV),
pp. 697–706. IEEE Computer Society, Los
Alamitos, CA, USA (2021).https://doi.org/
10.1109/WACV48630.2021.00074
[27] Grijalva, F., Parra, C., Gallardo, M., San-
tos, E., Acu ̃na, B., Rodr ́ıguez, J.C., Larco, J.:
SciBank: A Large Dataset of Annotated Sci-
entific Paper Regions for Document Layout
Analysis. IEEE Dataport (2022).https://doi.
org/10.1109/ACCESS.2021.3125913
[28] Lipinski, M., Yao, K., Breitinger, C., Beel,
J., Gipp, B.: Evaluation of header metadata
extraction approaches and tools for scientific
PDF documents. In: Proceedings of the 13th
ACM/IEEE-CS Joint Conference on Digital
Libraries. JCDL ’13, pp. 385–386. Associa-
tion for Computing Machinery, New York,
NY, USA (2013).https://doi.org/10.1145/
2467696.2467753
[29] Meuschke,  N.,  Jagdale,  A.,  Spinde,  T.,
Mitrovi ́c, J., Gipp, B.: A benchmark of PDF
information extraction tools using a multi-
task and multi-domain evaluation frame-
work  for  academic  documents.  In:  Sser-
wanga, I.,et al.(eds.) Information for a Bet-
ter World: Normality, Virtuality, Physical-
ity, Inclusivity. iConference 2023, vol. 13972.
Springer, Cham (2023).https://doi.org/10.
1007/978-3-031-28032-031
[30] Lin, T.-Y., Maire, M., Belongie, S., Hays, J.,
Perona, P., Ramanan, D., Doll ́ar, P., Zitnick,
C.L.: Microsoft coco: Common objects in con-
text. In: Computer Vision–ECCV 2014: 13th
European Conference, Zurich, Switzerland,
September 6-12, 2014, Proceedings, Part V
13, pp. 740–755 (2014). Springer
[31] Tashima, K., Aman, H., Amasaki, S., Yoko-
gawa, T., Kawahara, M.: Fault-prone java
method analysis focusing on pair of local vari-
ables with confusing names. In: 2018 44th
Euromicro Conference on  Software Engi-
neering and Advanced Applications (SEAA),
pp. 154–158 (2018).
https://doi.org/10.1109/
SEAA.2018.00033
[32] Papineni, K., Roukos, S., Ward, T., Zhu,
W.-J.: Bleu: a method for automatic evalua-
tion of machine translation. In: Proceedings
of the 40th Annual Meeting on Associa-
tion for Computational Linguistics. ACL ’02,
pp. 311–318. Association for Computational
Linguistics, USA (2002).https://doi.org/10.
3115/1073083.1073135
[33] Cock, P.J.A., Antao, T., Chang, J.T., Chap-
man, B.A., Cox, C.J., Dalke, A., Friedberg,
I., Hamelryck, T., Kauff, F., Wilczynski,
B., Hoon, M.J.L.: Biopython: freely available
Python tools for computational molecular
biology and bioinformatics. Bioinformatics
25(11), 1422–1423 (2009)https://doi.org/10.
1093/bioinformatics/btp163
[34] Smith, T.F., Waterman, M.S.: Identifica-
tion  of  common  molecular  subsequences.
Journal  of  Molecular  Biology147(1),
195–197  (1981)https://doi.org/10.1016/
0022-2836(81)90087-5
[35] Blecher, L., Cucurull, G., Scialom, T., Sto-
jnic, R.: Nougat: Neural optical understand-
ing for academic documents. arXiv preprint
arXiv:2308.13418 (2023)
[36] Smock,  B.,  Pesala,  R.,  Abraham,  R.:
PubTables-1M: Towards comprehensive table
extraction from unstructured documents. In:
Proceedings of the IEEE/CVF Conference on
16

Computer Vision and Pattern Recognition
(CVPR), pp. 4634–4642 (2022)
17