GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - soduco/paper-ner-bench-das22: All the material (paper, code, dataset, results) of our DAS 2022 paper (OCR+NER benchmark)

This repository was archived by the owner on Aug 1, 2026. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

247 Commits
247 Commits

Folders and files

NameName
Last commit message
Last commit date
dataset
dataset
 
 
material
material
 
 
preparation
preparation
 
 
rebuttal
rebuttal
 
 
src-latex
src-latex
 
 
src
src
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 

Repository files navigation

Code and Data for our paper "Benchmark of NER Approaches in Historical Documents…" presented at DAS 2022

This is our original working repo, and it contains almost everything we used to perform the experiments and write the paper. As a result, the content may be a bit messy and lack some documentation. Instead of waiting for it to be perfectly clean, we chose to make it public early and plan to improve it when we have time and on demand.

Feel free to submit an issue if you cannot find what you are looking for.

Easy-to-download artifacts

  • Official dataset: DOI
  • NER models: DOI
  • Paper's PDF: HAL | arXiv | GitHub Release
  • Supplementary material: GitHub Release
  • Presentation slides: Google slides

Code

Except for the annotation platform we used (which is not published yet), we believe most of the code we produced and used in under the src/ folder.

Code organization:

  • src/ocr/ contains code related to OCR data preparation.
    • We do not include OCR code nor models, but the dataset contains the raw OCR predictions.
    • It contains a lot of notebooks used to prepare the dataset, and ✨ some normalization and charset stat scripts ✨ may be of some interest to you if you work on OCR evaluation.
    • Our ✨ Python wrapper around UNLV-ISRI OCR evaluation tools ✨ may also be interesting to you as it really speeds evaluation up. Please check the src/ocr/DEMO.ipynb notebook and the src/ocr/README.md help.
    • There also are, in the notebooks, more statistics about the dataset and OCR scores when using different normalization variants. This was not included anywhere else.
  • src/ner/ contains code related to NER (pre-)training and evaluation.
    • You may be particularly interested in the ✨ pretraining and fine-tuning scripts for CamemBERT ✨.

Models

Huggingface BERT models are shared on Huggingface Hub and on Zenodo. Users can import any model hosted on Transformers Python library, e. g.:

from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("HueyNemud/das22-44-camembert_finetuned_pero")
model = AutoModelForTokenClassification.from_pretrained("HueyNemud/das22-44-camembert_finetuned_pero")

The SpaCy fine-tuned best model is available in the Zenodo repository.

Latex sources

In case you want to copy-paste some table or figure:

  • latex sources are in src-latex/
  • main latex file for the paper is src-latex/main-paper.tex
  • sub-parts are under src-latex/parts/
  • some supplementary material is available in src-latex/main-supplementary-material.tex

✅ TODOs

  • NER: extract pre-training and fine-tuning scripts for CamemBERT to another repo for fast retargeting.
  • OCR: extract OCR evaluation tools (with Python wrapper) to another repo.

Interesting related work

  • http://spacetime.nypl.org/city-directory-meetup

About

All the material (paper, code, dataset, results) of our DAS 2022 paper (OCR+NER benchmark)

Topics

benchmarkdatasetdocument-analysisnerocr

Resources

Readme
Activity
Custom properties

Stars

10 stars

Watchers

6 watching

Forks

0 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.