# Repository Briefing: grobidOrg/grobid
> Source: https://repoforai.com/repo/grobidOrg/grobid (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/grobidOrg/grobid
- **Official Docs / Website**: https://grobid.readthedocs.io
- **Category**: RAG, Data & Memory (知识库 / 爬虫 / 记忆层)
- **Primary Language**: Java
- **License**: Apache-2.0
- **Engineering Health**: A+ (88/100 · Maintenance 35/35 · Adoption 19/25 · Releases 14/20 · License 20/20)
- **Latest Release**: 0.9.1 (2026-08-04) — https://github.com/grobidOrg/grobid/releases
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: Docker, Self-Hosted
- **Momentum**: 5,257 ★ total (+0 24h / +9 7d) · 578 forks
- **Topics**: `machine-learning`, `scientific-articles`, `pdf`, `metadata`, `fulltext`, `bibliographical-references`, `hamburger-to-cow`, `deep-learning`, `rnn`, `transformers`, `crf`
- **When to Use**: Best for: Self-hosted scholarly ingestion where metadata, references and article structure need to survive chunking and indexing. Skip if: You need a vector database, only want plain text, or require proven scan-to-text OCR without a separate OCR stage.

## Overview
```text
### Architecture & Core Mechanics
GROBID is a Java/Gradle document analysis system with separate `grobid-core`, `grobid-service` and `grobid-trainer` modules, alongside `grobid-home` and `config/`. Its role in a RAG stack is upstream of chunking and indexing: process scholarly PDFs into structured extraction results, then let downstream components handle storage and retrieval. There is no basis for treating it as a database or vector index.

The changes to the header and segmentation models, together with 0.9.1's debug API for inspecting first-level model results, establish that intermediate model outputs can be inspected rather than only judging the final extraction. Model flavors, introduced in 0.8.2, offer a way to specialize processing for document types. The available details do not establish the complete stage order, supported checkpoints or a public plugin contract.

### Key Capabilities & Differentiators
GROBID extracts metadata, full text and bibliographic references from scholarly PDFs. Version 0.9.0 added conflict-of-interest and author-contribution statements in the header and segmentation models, figure, table and equation extraction in back and annex sections, and extraction of URLs stored in PDF annotations. Annotation URLs are useful when link targets are not visible in the page text. The presence of table and equation extraction does not establish faithful reconstruction of table cells or mathematical notation.

Version 0.8.2 added a lightweight processing variant for documents such as corrections and editorial letters that do not follow the usual segmentation scheme. For a corpus that mixes article types, validate the fields you actually index rather than adopting a single overall quality score. Output schemas, OCR support and measured extraction accuracy are not established here.

### Trade-offs & Limitations
Compared with a generic PDF text extractor, GROBID is the better fit when indexing depends on distinctions such as references versus body text or disclosures versus ordinary paragraphs. If the task is simply to make page text searchable, the extra parsing stages and field-level validation may not earn their upkeep. For a mixed corpus, test unfamiliar article layouts and annexes separately; extracting full text successfully does not prove that citations or fields are usable.

A managed document parser can shift runtime operations to a provider, while self-hosting lets you control where PDFs are processed and when parser versions change. In return, your team owns capacity, upgrades and regression checks. Apache-2.0 supports commercial adoption, but it does not grant rights over publishers' PDFs. Version the parser and model variant in ingestion records so extraction changes can be distinguished from retrieval regressions.

### Hardware & Deployment Guide
Self-hosting can start from `Dockerfile.crf` or `Dockerfile.delft`; the source tree also includes the Gradle wrapper, `config/` and `monitoring/`. The Java stack makes JVM and process memory relevant to sizing. The build files alone do not establish a JDK version, exposed ports, accelerator requirements or whether startup needs to fetch model assets. Confirm those details for the chosen build before planning an offline or resource-constrained deployment.

Version 0.9.1 added push-based OTLP export for JVM and process metrics, a training web API that lists running jobs and can interrupt a job while releasing its per-model lock, and a model debug API. Those interfaces are useful for operations and model development; restrict their exposure separately from normal ingestion traffic. Size the service using representative PDFs, the intended model variant and realistic concurrency rather than a universal memory target.
```

## Key Capabilities
```text
- Module boundaries: Gradle separates `grobid-core`, `grobid-service` and `grobid-trainer`; the tree also includes `grobid-home`.
- Container builds: `Dockerfile.crf` and `Dockerfile.delft` are separate build definitions to evaluate for self-hosting.
- Model selection: 0.8.2 introduced model flavors and a lightweight processing variant for corrections and editorial letters.
- Extraction scope: 0.9.0 added disclosure statements, annex figures, tables and equations, and URLs from PDF annotations.
- Training controls: 0.9.1 added a web API to list active training jobs and interrupt one while releasing its per-model lock.
- Diagnostics: 0.9.1 exposed first-level model results through a debug API and added push-based OTLP export for JVM and process metrics.
```

## Quick Start / Clone
```bash
git clone --depth 1 https://github.com/grobidOrg/grobid.git
cd grobid
```
