PAWLS: PDF Annotation With Labels and Structure

Mark Neumann, Zejiang Shen, Sam Skjonsberg
1/25/2021
cs.CL

Official code: allenai/pawls (440 stars, Python, Apache-2.0, last commit 2026-10-26).

Abstract

Adobe's Portable Document Format (PDF) is a popular way of distributing view-only documents with a rich visual markup. This presents a challenge to NLP practitioners who wish to use the information contained within PDF documents for training models or data analysis, because annotating these documents is difficult.

Show full abstract

In this paper, we present PDF Annotation with Labels and Structure (PAWLS), a new annotation tool designed specifically for the PDF document format. PAWLS is particularly suited for mixed-mode annotation and scenarios in which annotators require extended context to annotate accurately. PAWLS supports span-based textual annotation, N-ary relations and freeform, non-textual bounding boxes, all of which can be exported in convenient formats for training multi-modal machine learning models. A read-only PAWLS server is available at https://pawls.apps.allenai.org/ and the source code is available at https://github.com/allenai/pawls.

View on arXivView PDF

Code Implementations(1)

allenai/pawlsOfficial100%
Apache-2.0

Software that makes labeling PDFs easy.

44081Python, TypeScriptAug 10, 20201 months agoApache-2.0

Similar Papers

Cite this paper

@article{neumann2021pawls,
  title  = {PAWLS: PDF Annotation With Labels and Structure},
  author = {Mark Neumann and Zejiang Shen and Sam Skjonsberg},
  year   = {2021},
  eprint = {2101.10281},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2101.10281}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2101.10281.svg)](https://codeofpaper.com/paper/2101.10281)

Discussion