Saved in:
Bibliographic Details
Main Authors: Adhikari, Narayan S., Agarwal, Shradha
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2410.09871
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916672357531648
author Adhikari, Narayan S.
Agarwal, Shradha
author_facet Adhikari, Narayan S.
Agarwal, Shradha
contents PDF is one of the most prominent data formats, making PDF parsing crucial for information extraction and retrieval, particularly with the rise of RAG systems. While various PDF parsing tools exist, their effectiveness across different document types remains understudied, especially beyond academic papers. Our research aims to address this gap by comparing 10 popular PDF parsing 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 Patent documents. For these challenging categories, 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 tender documents, while PyMuPDF performed superior in the Manual 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.
format Preprint
id arxiv_https___arxiv_org_abs_2410_09871
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle A Comparative Study of PDF Parsing Tools Across Diverse Document Categories
Adhikari, Narayan S.
Agarwal, Shradha
Information Retrieval
Digital Libraries
I.7.0
PDF is one of the most prominent data formats, making PDF parsing crucial for information extraction and retrieval, particularly with the rise of RAG systems. While various PDF parsing tools exist, their effectiveness across different document types remains understudied, especially beyond academic papers. Our research aims to address this gap by comparing 10 popular PDF parsing 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 Patent documents. For these challenging categories, 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 tender documents, while PyMuPDF performed superior in the Manual 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.
title A Comparative Study of PDF Parsing Tools Across Diverse Document Categories
topic Information Retrieval
Digital Libraries
I.7.0
url https://arxiv.org/abs/2410.09871