API Reference#
This section provides comprehensive class, method, and function documentation for all modules in REANIMATOR-VLM.
Data Models (reanimator.models)#
Class |
Description |
|---|---|
Top-level container representing a processed document. |
|
Extracted table with DataFrame content, caption, and position. |
|
Extracted figure with caption, image path, and position. |
|
Extracted math formula or equation. |
|
Retrieval query topic object. |
|
Synthetic 4-level relevance judgment object. |
Document Pipeline (reanimator.pipeline)#
Class |
Description |
|---|---|
Main document processing pipeline entry point. |
|
Bounding box normalization & figure image cropper. |
Project Collection Workspace (reanimator.collection)#
Class / Method |
Description |
|---|---|
Workspace directory manager. |
|
Stream and save parsed documents directly to disk. |
|
Yield document instances lazily from disk. |
|
Evaluate synthetic relevance and export TREC qrels. |
Synthetic Relevance Assessment (reanimator.relevance)#
Class / Function |
Description |
|---|---|
Core UMBRELA-style relevance judging engine. |
|
Extract target modalities ( |
|
Normalize query strings, lists, or TREC topic dicts. |
|
Export judgments in standard TREC qrels format. |
VLM Backends (reanimator.backends)#
Class |
Description |
|---|---|
OpenAI API & remote |
|
Google Gemini 2.0 Flash / Pro vision backend. |
|
Disk-backed response caching wrapper. |
Visualization (reanimator.visualization)#
Function |
Description |
|---|---|
Render color-coded bounding boxes and centered label pills onto page images. |