From d2c92a9310c093681f3e5669b0b4d6fa7cdfcecd Mon Sep 17 00:00:00 2001 From: Ray Date: Wed, 5 Nov 2025 04:07:05 +0800 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index aac8e5f..3b6803a 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ PageIndex can transform lengthy PDF documents into a semantic **tree structure** Here is an example output. See more [example documents](https://github.com/VectifyAI/PageIndex/tree/main/tests/pdfs) and [generated trees](https://github.com/VectifyAI/PageIndex/tree/main/tests/results). -``` +```python ... { "title": "Financial Stability", @@ -164,12 +164,12 @@ python3 run_pageindex.py --md_path /path/to/your/document.md # ☁️ Improved Tree Generation with PageIndex OCR -This repo is designed for generating PageIndex tree structure for simple PDFs, but many real-world use cases involve complex PDFs that are hard to parsed by classic python tools. However, extracting high-quality text from PDF documents remains a non-trivial challenge. Most OCR tools only extract page-level content, losing the broader document context and hierarchy. +This repo is designed for generating PageIndex tree structure for simple PDFs, but many real-world use cases involve complex PDFs that are hard to parse by classic Python tools. However, extracting high-quality text from PDF documents remains a non-trivial challenge. Most OCR tools only extract page-level content, losing the broader document context and hierarchy. To address this, we introduced PageIndex OCR — the first long-context OCR model designed to preserve the global structure of documents. PageIndex OCR significantly outperforms other leading OCR tools, such as those from Mistral and Contextual AI, in recognizing true hierarchy and semantic relationships across document pages. - Experience next-level OCR quality with PageIndex OCR at our [Dashboard](https://dash.pageindex.ai/). -- Integrate seamlessly PageIndex OCR into your stack via our [API](https://docs.pageindex.ai/quickstart). +- Integrate PageIndex OCR seamlessly into your stack via our [API](https://docs.pageindex.ai/quickstart).