Skip to content
Back to skills

Ocr4mt Eval

ASecurity

Evaluates the performance of OCR systems on low-resource languages and scripts using both real and synthetically augmented PDF documents. It measures character-level accuracy to assess how OCR errors propagate and impact downstream tasks like machine translation. Use when the user wants to benchmark on OCR4MT, or asks about evaluating this task. Reports CER.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 11, 2026
researchpythongoperformance

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill ocr4mt-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ocr4mt Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ocr4mt Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-ocr4mt-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-ocr4mt-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ocr4mt-eval
description: Evaluates the performance of OCR systems on low-resource languages and scripts using both real and synthetically augmented PDF documents. It measures character-level accuracy to assess how OCR errors propagate and impact downstream tasks like machine translation. Use when the user wants to benchmark on OCR4MT, or asks about evaluating this task. Reports CER.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2202.13274
  bibtex_key: [REDACTED]
  confidence: high
---

# ocr4mt-eval

> OCR Improves Machine Translation for Low-Resource Languages — Ignat et al. (2022) (arXiv:2202.13274, 2022)

## What this evaluates

Evaluates the performance of OCR systems on low-resource languages and scripts using both real and synthetically augmented PDF documents. It measures character-level accuracy to assess how OCR errors propagate and impact downstream tasks like machine translation.

## Datasets

- **OCR4MT** — total 1659; splits: val (1659)

## Metrics

- `CER` **(primary)** — range: [0, 1]
  - Character Error Rate (CER) is the minimum number of single-character edits (insertions, deletions, substitutions) required to transform the OCR output into the ground truth text, normalized by the length of the ground truth.

## Input / output format

**Input**: PDF images of documents or individual articles containing text in various low-resource scripts.

**Output**: Transcribed text string corresponding to the content of the input PDF image.

## Scoring recipe

```python
def compute_cer(predictions, ground_truths):
    cer_scores = []
    for pred, gold in zip(predictions, ground_truths):
        edits = levenshtein_distance(pred, gold)
        cer_scores.append(edits / len(gold))
    return sum(cer_scores) / len(cer_scores)
```

## Common pitfalls

- The benchmark mixes real PDFs (from UDHR) and artificially generated PDFs (from Flores 101), which have fundamentally different noise distributions and should be evaluated separately.
- Dataset construction removed ~7.8% of articles flagged as anomalies via a strict CER threshold (>2 standard deviations), which may bias the benchmark toward cleaner samples and underrepresent extreme OCR failure cases.

## Evidence (verbatim from paper)

> We automatically validate each article by measuring the CER per article. If the CER between the PDF labeled version and the text version is greater than two standard deviations away from the mean, the article is marked as anomalous (Cousineau and Chartier, 2010). We manually check and re-associate all the anomalous articles until no anomalies were detected. ... Finally, we obtain 1,659 pairs of PDF and corresponding text versions of articles.

## Citation

```bibtex
@misc{ignat2022ocrimproves,
  title={OCR Improves Machine Translation for Low-Resource Languages},
  author={Ignat et al. (2022)},
  year={2022},
  note={arXiv:2202.13274}
}
```

- arXiv: 2202.13274

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.