diff --git a/pyproject.toml b/pyproject.toml
index 7ca5aaf002..6656f43571 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -55,6 +55,7 @@ dependencies = [
'certifi>=2024.7.4',
'pluggy>=1.0.0,<2.0.0',
'tqdm>=4.65.0,<5.0.0',
+ "docling-core",
]
[project.urls]
@@ -282,7 +283,8 @@ typecheck = [
]
pr-fast-checks = [
{ include-group = "typecheck" },
- "docling-core[chunking] (>=2.73.0,<3.0.0)",
+ # TODO: restore line below before merging
+ # "docling-core[chunking] (>=2.73.0,<3.0.0)",
"pydantic (>=2.0.0,<3.0.0)",
"pydantic-settings (>=2.3.0,<3.0.0)",
"ruff==0.15.12",
@@ -345,7 +347,7 @@ members = ["packages/docling"]
[tool.uv.sources]
docling = { workspace = true }
# docling-parse = { git = "https://github.com/docling-project/docling-parse", rev = "main" }
-# docling-core = { git = "https://github.com/docling-project/docling-core/", rev = "main" }
+docling-core = { git = "ssh://git@github.com/docling-project/docling-core.git", rev = "f5298f893fd4e9dd63a0e304dd26c0180021b0b5" }
[tool.uv]
package = true
diff --git a/tests/data/groundtruth/docling_v2/docx_rich_cells.docx.html b/tests/data/groundtruth/docling_v2/docx_rich_cells.docx.html
index be69ab91e7..1281bc96a1 100644
--- a/tests/data/groundtruth/docling_v2/docx_rich_cells.docx.html
+++ b/tests/data/groundtruth/docling_v2/docx_rich_cells.docx.html
@@ -219,7 +219,7 @@
Table with nested table
Rich cell A nested table
|
-After table with bold , underline , strikethrough , and italic formatting
+After table with bold, underline, strikethrough, and italic formatting
Table with pictures
diff --git a/tests/data/groundtruth/docling_v2/docx_rich_cells.docx.md b/tests/data/groundtruth/docling_v2/docx_rich_cells.docx.md
index 7617de3f1c..9b8040fa6d 100644
--- a/tests/data/groundtruth/docling_v2/docx_rich_cells.docx.md
+++ b/tests/data/groundtruth/docling_v2/docx_rich_cells.docx.md
@@ -15,7 +15,7 @@ Before table
| Simple cell upper left | Simple cell with **bold** and *italic* text |
| A B C Cell 1 Cell 2 Cell 3 | Rich cell A nested table A B C Cell 1 Cell 2 Cell 3 |
-After table with **bold** , underline , ~~strikethrough~~ , and *italic* formatting
+After table with **bold**, underline, ~~strikethrough~~, and *italic* formatting
### Table with pictures
diff --git a/tests/data/groundtruth/docling_v2/docx_rich_tables_01.docx.md b/tests/data/groundtruth/docling_v2/docx_rich_tables_01.docx.md
index 0f61402f45..3c0a7d1b11 100644
--- a/tests/data/groundtruth/docling_v2/docx_rich_tables_01.docx.md
+++ b/tests/data/groundtruth/docling_v2/docx_rich_tables_01.docx.md
@@ -6,8 +6,8 @@ This document identifies the edits needed for a PAS submission to ISO via ISO/IE
The transformation of this technical draft for ISO compliance involves two phases:
-- **Phase 1** (Macro-Level Structural Realignment) fixes the document's main layout. It forces the strict standard clause order, removes forbidden company and author names, cuts out critiques of competing formats, and changes all casual requirement language or uppercase tokens into standard lowercase ISO verbal forms (shall, should, may).
-- **Phase 2** (Micro-Level Editorial Optimization) cleans up the small details required by the ISO House Style. This fixes layout bugs like ha nging paragraphs, adds spaces to large numbers (e.g., 65 535), writes out printable web links for physical paper copies, uses proper math subscript formatting, and limits all typography to standard fonts so it passes the final publishing system.
+- **Phase 1**(Macro-Level Structural Realignment) fixes the document's main layout. It forces the strict standard clause order, removes forbidden company and author names, cuts out critiques of competing formats, and changes all casual requirement language or uppercase tokens into standard lowercase ISO verbal forms (shall, should, may).
+- **Phase 2**(Micro-Level Editorial Optimization) cleans up the small details required by the ISO House Style. This fixes layout bugs like ha nging paragraphs, adds spaces to large numbers (e.g., 65 535), writes out printable web links for physical paper copies, uses proper math subscript formatting, and limits all typography to standard fonts so it passes the final publishing system.
**Phase 1**
diff --git a/tests/data/groundtruth/docling_v2/epub_purvis_poetry.epub.md b/tests/data/groundtruth/docling_v2/epub_purvis_poetry.epub.md
index 847a8c1a8b..7613a54b0b 100644
--- a/tests/data/groundtruth/docling_v2/epub_purvis_poetry.epub.md
+++ b/tests/data/groundtruth/docling_v2/epub_purvis_poetry.epub.md
@@ -1,6 +1,6 @@
# Poetry
-By **Sarah Louisa Forten Purvis** .
+By **Sarah Louisa Forten Purvis**.
@@ -10,13 +10,13 @@ The Standard Ebooks logo.
-This ebook is the product of many hours of hard work by volunteers for [Standard Ebooks](https://standardebooks.org/) , and builds on the hard work of other literature lovers made possible by the public domain.
+This ebook is the product of many hours of hard work by volunteers for [Standard Ebooks](https://standardebooks.org/), and builds on the hard work of other literature lovers made possible by the public domain.
-This particular ebook is based on digital scans from the [Internet Archive](https://standardebooks.org/ebooks/sarah-louisa-forten-purvis/poetry#page-scans) .
+This particular ebook is based on digital scans from the [Internet Archive](https://standardebooks.org/ebooks/sarah-louisa-forten-purvis/poetry#page-scans).
-The source text and artwork in this ebook are believed to be in the United States public domain; that is, they are believed to be free of copyright restrictions in the United States. They may still be copyrighted in other countries, so users located outside of the United States must check their local laws before using this ebook. The creators of, and contributors to, this ebook dedicate their contributions to the worldwide public domain via the terms in the [CC0 1.0 Universal Public Domain Dedication](https://creativecommons.org/publicdomain/zero/1.0/) . For full license information, see the [Uncopyright](uncopyright.xhtml) at the end of this ebook.
+The source text and artwork in this ebook are believed to be in the United States public domain; that is, they are believed to be free of copyright restrictions in the United States. They may still be copyrighted in other countries, so users located outside of the United States must check their local laws before using this ebook. The creators of, and contributors to, this ebook dedicate their contributions to the worldwide public domain via the terms in the [CC0 1.0 Universal Public Domain Dedication](https://creativecommons.org/publicdomain/zero/1.0/). For full license information, see the [Uncopyright](uncopyright.xhtml) at the end of this ebook.
-Standard Ebooks is a volunteer-driven project that produces ebook editions of public domain literature using modern typography, technology, and editorial standards, and distributes them free of cost. You can download this and other ebooks carefully produced for true book lovers at [standardebooks.org](https://standardebooks.org/) .
+Standard Ebooks is a volunteer-driven project that produces ebook editions of public domain literature using modern typography, technology, and editorial standards, and distributes them free of cost. You can download this and other ebooks carefully produced for true book lovers at [standardebooks.org](https://standardebooks.org/).
## The Grave of the Slave
@@ -60,7 +60,7 @@ No arm is stretched to rescue, and to save.
Oh! ye who boast of Freedom's sacred claims,
Do ye not blush to see our galling chains;
To hear that sounding word-"that all are free"-
-When thousands groan in hopeless *slavery* ?
+When thousands groan in hopeless *slavery*?
Upon your land it is a cruel stain-
Freedom, what art thou?-nothing but a name.
@@ -152,7 +152,7 @@ A cloud of error, doubt and fear,
O'er him is ever hovering near;
And sad and hard his lot must be,
To know that he can ne'er be free;
-To feel that *his* is doomed to be
+To feel that*his* is doomed to be
A life, and death, of slavery.
But will not justice soon arise,
And plead the cause of the despised?
@@ -200,7 +200,7 @@ This bursting heart relief?
There's nothing left for me to love
This earth holds nothing dear,
-Since *he* , my sweet-my gentle one,
+Since*he*, my sweet-my gentle one,
Is now no longer here.
My poor fond heart had counted on
@@ -311,12 +311,12 @@ Unhonored and unnamed.
Oh! speak not of heathenish darkness again,
Nor tell me of lands held in error's dread chain!
Where-where is the nation so erring as we,
-Who claim the proud name of the " **home of the free** "!
+Who claim the proud name of the "**home of the free** "!
What a throb do the lov'd ties of country awake
In the heart of the exile!-for time cannot break
The sweet vision of home, and all he loved well,
Which has thrown o'er his pathway a magical spell.
-Can the name of " **my country** "-the deeds which we sing-
+Can the name of "**my country** "-the deeds which we sing-
Be honored-revered-'midst pollution and sin?
Can the names of our fathers who perished in fight,
Be hallowed in story, midst slavery's blight?
@@ -463,21 +463,21 @@ The Standard Ebooks logo.
-*Poetry* was compiled from poems published between 1831 and 1836 by [Sarah Louisa Forten Purvis](https://en.wikipedia.org/wiki/Sarah_Louisa_Forten_Purvis) .
+*Poetry* was compiled from poems published between 1831 and 1836 by [Sarah Louisa Forten Purvis](https://en.wikipedia.org/wiki/Sarah_Louisa_Forten_Purvis).
-This ebook was transcribed and produced for [Standard Ebooks](https://standardebooks.org/) by [Weijia Cheng](https://weijiarhymeswith.asia/) ,
-and is based on digital scans from the [Internet Archive](https://standardebooks.org/ebooks/sarah-louisa-forten-purvis/poetry#page-scans) .
+This ebook was transcribed and produced for [Standard Ebooks](https://standardebooks.org/) by [Weijia Cheng](https://weijiarhymeswith.asia/),
+and is based on digital scans from the [Internet Archive](https://standardebooks.org/ebooks/sarah-louisa-forten-purvis/poetry#page-scans).
-The cover page is adapted from *Sunday Morning* ,
-a painting completed in 1877 by [Thomas Waterman Wood](https://en.wikipedia.org/wiki/Thomas_Waterman_Wood) .
-The cover and title pages feature the **League Spartan** and **Sorts Mill Goudy** typefaces created in 2014 and 2009 by [The League of Moveable Type](https://www.theleagueofmoveabletype.com/) .
+The cover page is adapted from *Sunday Morning*,
+a painting completed in 1877 by [Thomas Waterman Wood](https://en.wikipedia.org/wiki/Thomas_Waterman_Wood).
+The cover and title pages feature the **League Spartan** and **Sorts Mill Goudy** typefaces created in 2014 and 2009 by [The League of Moveable Type](https://www.theleagueofmoveabletype.com/).
-This edition was released on **May 21, 2026, 6:29 p.m.** and is based on **revision 936122b** .
+This edition was released on **May 21, 2026, 6:29 p.m.** and is based on **revision 936122b**.
The first edition of this ebook was released on
December 6, 2023, 8:52 p.m.
-You can check for updates to this ebook, view its revision history, or download it for different ereading systems at [standardebooks.org/ebooks/sarah-louisa-forten-purvis/poetry](https://standardebooks.org/ebooks/sarah-louisa-forten-purvis/poetry) .
+You can check for updates to this ebook, view its revision history, or download it for different ereading systems at [standardebooks.org/ebooks/sarah-louisa-forten-purvis/poetry](https://standardebooks.org/ebooks/sarah-louisa-forten-purvis/poetry).
-The volunteer-driven Standard Ebooks project relies on readers like you to submit typos, corrections, and other improvements. Anyone can contribute at [standardebooks.org](https://standardebooks.org/) .
+The volunteer-driven Standard Ebooks project relies on readers like you to submit typos, corrections, and other improvements. Anyone can contribute at [standardebooks.org](https://standardebooks.org/).
## Uncopyright
@@ -489,4 +489,4 @@ Copyright pages exist to tell you that you *can't* do something. Unlike them, th
Copyright laws are different all over the world, and the source text or artwork in this ebook may still be copyrighted in other countries. If you're not located in the United States, you must check your local laws before using this ebook. Standard Ebooks makes no representations regarding the copyright status of the source text or artwork in this ebook in any country other than the United States.
-Non-authorship activities performed on items that are in the public domain-so-called "sweat of the brow" work-don't create a new copyright. That means that nobody can claim a new copyright on an item that is in the public domain for, among other things, work like digitization, markup, or typography. Regardless, the contributors to this ebook release their contributions under the terms in the [CC0 1.0 Universal Public Domain Dedication](https://creativecommons.org/publicdomain/zero/1.0/) , thus dedicating to the worldwide public domain all of the work they've done on this ebook, including but not limited to metadata, the titlepage, imprint, colophon, this Uncopyright, and any changes or enhancements to, or markup on, the original text and artwork. This dedication doesn't change the copyright status of the source text or artwork. We make this dedication in the interest of enriching our global cultural heritage, to promote free and libre culture around the world, and to give back to the unrestricted culture that has given all of us so much.
\ No newline at end of file
+Non-authorship activities performed on items that are in the public domain-so-called "sweat of the brow" work-don't create a new copyright. That means that nobody can claim a new copyright on an item that is in the public domain for, among other things, work like digitization, markup, or typography. Regardless, the contributors to this ebook release their contributions under the terms in the [CC0 1.0 Universal Public Domain Dedication](https://creativecommons.org/publicdomain/zero/1.0/), thus dedicating to the worldwide public domain all of the work they've done on this ebook, including but not limited to metadata, the titlepage, imprint, colophon, this Uncopyright, and any changes or enhancements to, or markup on, the original text and artwork. This dedication doesn't change the copyright status of the source text or artwork. We make this dedication in the interest of enriching our global cultural heritage, to promote free and libre culture around the world, and to give back to the unrestricted culture that has given all of us so much.
\ No newline at end of file
diff --git a/tests/data/groundtruth/docling_v2/equations.docx.md b/tests/data/groundtruth/docling_v2/equations.docx.md
index 6f6b9a5fd9..a47349f066 100644
--- a/tests/data/groundtruth/docling_v2/equations.docx.md
+++ b/tests/data/groundtruth/docling_v2/equations.docx.md
@@ -1,8 +1,8 @@
-This is a word document and this is an inline equation: $A= \pi r^{2}$ .
+This is a word document and this is an inline equation: $A= \pi r^{2}$.
-- First item with inline equation: $A= \pi r^{2}$ is the area formula.
-- Second item with equations: $E=mc^{2}$ and $F=ma$ are physics formulas.
-- The formula $a^{2}+b^{2}=c^{2}$ is the Pythagorean theorem.
+- First item with inline equation: $A= \pi r^{2}$ is the area formula.
+- Second item with equations: $E=mc^{2}$ and $F=ma$ are physics formulas.
+- The formula $a^{2}+b^{2}=c^{2}$ is the Pythagorean theorem.
If instead, I want an equation by line, I can do this:
@@ -16,7 +16,7 @@ $$f\left(x\right)=a_{0}+\sum_{n=1}^{ \infty }\left(a_{n}\cos(\frac{n \pi x}{L})+
This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text.
-This is a word document and this is an inline equation: $A= \pi r^{2}$ . If instead, I want an equation by line, I can do this:
+This is a word document and this is an inline equation: $A= \pi r^{2}$. If instead, I want an equation by line, I can do this:
$$\left(x+a\right)^{n}=\sum_{k=0}^{n}\left(\genfrac{}{}{0pt}{}{n}{k}\right)x^{k}a^{n-k}$$
@@ -28,7 +28,7 @@ $$\left(1+x\right)^{n}=1+\frac{nx}{1!}+\frac{n\left(n-1\right)x^{2}}{2!}+ \text{
This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text. This is text.
-This is a word document and these are inline equations: $N_{s}^{H}$ / $N_{s}^{P}$ . If instead, I want an equation by line, I can do this:
+This is a word document and these are inline equations: $N_{s}^{H}$/$N_{s}^{P}$. If instead, I want an equation by line, I can do this:
$$e^{x}=1+\frac{x}{1!}+\frac{x^{2}}{2!}+\frac{x^{3}}{3!}+ \text{ \textellipsis } , - \infty < x < \infty$$
diff --git a/tests/data/groundtruth/docling_v2/escaped_characters.md.json b/tests/data/groundtruth/docling_v2/escaped_characters.md.json
index 0e550ee6d9..44ce796784 100644
--- a/tests/data/groundtruth/docling_v2/escaped_characters.md.json
+++ b/tests/data/groundtruth/docling_v2/escaped_characters.md.json
@@ -4,7 +4,7 @@
"name": "escaped_characters",
"origin": {
"mimetype": "text/html",
- "binary_hash": 961663658752708402,
+ "binary_hash": 11640422101581433287,
"filename": "escaped_characters.md"
},
"furniture": {
@@ -133,8 +133,8 @@
"content_layer": "body",
"label": "text",
"prov": [],
- "orig": "Text: 00:16.000 ----> 00:18.000 & < > \" '",
- "text": "Text: 00:16.000 ----> 00:18.000 & < > \" '"
+ "orig": "Text:00:16.000 ----> 00:18.000& < > \" '",
+ "text": "Text:00:16.000 ----> 00:18.000& < > \" '"
},
{
"self_ref": "#/texts/3",
diff --git a/tests/data/groundtruth/docling_v2/escaped_characters.md.md b/tests/data/groundtruth/docling_v2/escaped_characters.md.md
index 84f40db5fe..fc44f7e450 100644
--- a/tests/data/groundtruth/docling_v2/escaped_characters.md.md
+++ b/tests/data/groundtruth/docling_v2/escaped_characters.md.md
@@ -33,7 +33,7 @@ Text: 00:16.000 ----> 00:18.000 & < > " '
| Apostrophes | ' |
| Pipe | | | | |
-The pipe symbol (| or `|` ) only needs to be escaped in tables.
+The pipe symbol (| or `|`) only needs to be escaped in tables.
# Raw HTML
diff --git a/tests/data/groundtruth/docling_v2/formatting.html.md b/tests/data/groundtruth/docling_v2/formatting.html.md
index c437c97e8b..c5528cdae3 100644
--- a/tests/data/groundtruth/docling_v2/formatting.html.md
+++ b/tests/data/groundtruth/docling_v2/formatting.html.md
@@ -1,13 +1,13 @@
# HTML Text Formatting Examples
-This is a **bold (b)** example and right next to it we have a **strong emphasis (strong)** . Notice that **strong + bold mixed** looks similar but carries additional semantic meaning.
+This is a **bold (b)** example and right next to it we have a **strong emphasis (strong)**. Notice that **strong + bold mixed** looks similar but carries additional semantic meaning.
-Here is an *italic (i)* word and an *emphasis (em)* example. Sometimes we combine them like *italic + emphasis together* .
+Here is an *italic (i)* word and an *emphasis (em)* example. Sometimes we combine them like *italic + emphasis together*.
-Now let's look at text that appears crossed out: ~~strikethrough with s~~ and ~~deleted with del~~ . You can also mix them: ~~double strikethrough (s + del)~~ .
+Now let's look at text that appears crossed out: ~~strikethrough with s~~ and ~~deleted with del~~. You can also mix them: ~~double strikethrough (s + del)~~.
-To highlight insertions or underlines: underlined with u , inserted with ins . A combination could be: underline + insertion together .
+To highlight insertions or underlines: underlined with u, inserted with ins. A combination could be: underline + insertion together.
-Subscript and superscript examples: Water is written as H 2 O using sub. The mathematical expression x 2 + y 3 uses sup. They can also be combined: CO 2 * .
+Subscript and superscript examples: Water is written as H 2 O using sub. The mathematical expression x 2 + y 3 uses sup. They can also be combined: CO 2 *.
-Mixing several: This sentence has ***strong + emphasis*** , some **bold + underline** , and a formula like a 2 + b 3 .
\ No newline at end of file
+Mixing several: This sentence has ***strong + emphasis***, some **bold + underline**, and a formula like a 2 + b 3.
\ No newline at end of file
diff --git a/tests/data/groundtruth/docling_v2/grve_10q_htm.xml.md b/tests/data/groundtruth/docling_v2/grve_10q_htm.xml.md
index 037b06bcea..4cbf1b85d7 100644
--- a/tests/data/groundtruth/docling_v2/grve_10q_htm.xml.md
+++ b/tests/data/groundtruth/docling_v2/grve_10q_htm.xml.md
@@ -38,7 +38,7 @@ Income Taxes
The Company is taxed as a C corporation for income tax purposes. The Company accounts for income taxes under the liability method, and deferred tax assets and liabilities are recognized for the future tax consequences attributable to differences between the financial statement carrying values of existing assets and liabilities and their respective tax bases. Deferred tax assets and liabilities are measured using enacted tax rates in effect for the year in which those temporary differences are expected to be recovered or settled. A valuation allowance is provided on deferred tax assets if it is determined that it is more likely than not that the deferred tax asset will not be realized. The Company records interest, net of any applicable related income tax benefit, on potential income tax contingencies as a component of income tax expense. The Company records tax positions taken or expected to be taken in a tax return based upon the amount that is more likely than not to be realized or paid, including in connection with the resolution of any related appeals or other legal processes. Accordingly, the Company recognizes liabilities for certain unrecognized tax benefits based on the amounts that are more likely than not to be settled with the relevant taxing authority. The Company recognizes interest and/or penalties related to unrecognized tax benefits as a component of income tax expense.
-**Recent Accounting Standard Adopted** :
+**Recent Accounting Standard Adopted**:
In November 2023, the FASB issued Accounting Standards Update ("ASU") 2023-07 - Improvements to Reportable Segment Disclosures, which enhances the disclosures required for reportable segments in annual and interim financial statements, including additional, more detailed information about a reportable segment's expenses. The standard is effective for fiscal years beginning after December 15, 2023, and interim periods within fiscal years beginning after December 15, 2024. The Company adopted ASU 2023-07 for the year ended March 31, 2025, retrospectively to all periods presented in the financial statements. The adoption of this ASU had no impact on reportable segments identified and had no effect on the Company's financial position, results of operations, or cash flows.
diff --git a/tests/data/groundtruth/docling_v2/html_code_snippets.html.md b/tests/data/groundtruth/docling_v2/html_code_snippets.html.md
index 8228e0420e..2fdb5dea2d 100644
--- a/tests/data/groundtruth/docling_v2/html_code_snippets.html.md
+++ b/tests/data/groundtruth/docling_v2/html_code_snippets.html.md
@@ -1,10 +1,10 @@
# Code snippets
-The Pythagorean theorem can be written as an equation relating the lengths of the sides *a* , *b* and the hypotenuse *c* .
+The Pythagorean theorem can be written as an equation relating the lengths of the sides *a*, *b* and the hypotenuse *c*.
To use Docling, simply install `docling` from your package manager, e.g. pip: `pip install docling`
-To convert individual documents with python, use `convert()` , for example:
+To convert individual documents with python, use `convert()`, for example:
```
from docling.document_converter import DocumentConverter
@@ -20,5 +20,5 @@ The program will output: `## Docling Technical Report[...]`
Prefetch the models:
- Use the `docling-tools models download` utility:
-- Alternatively, models can be programmatically downloaded using `docling.utils.model_downloader.download_models()` .
+- Alternatively, models can be programmatically downloaded using `docling.utils.model_downloader.download_models()`.
- Also, you can use download-hf-repo parameter to download arbitrary models from HuggingFace by specifying repo id: `$ docling-tools models download-hf-repo ds4sd/SmolDocling-256M-preview Downloading ds4sd/SmolDocling-256M-preview model from HuggingFace...`
\ No newline at end of file
diff --git a/tests/data/groundtruth/docling_v2/html_rich_table_cells.html.md b/tests/data/groundtruth/docling_v2/html_rich_table_cells.html.md
index 04e9601535..9e70fa8885 100644
--- a/tests/data/groundtruth/docling_v2/html_rich_table_cells.html.md
+++ b/tests/data/groundtruth/docling_v2/html_rich_table_cells.html.md
@@ -4,7 +4,7 @@
| - | - | - |
| Wood Duck | | Often seen near ponds. |
| Mallard | Ponds, lakes, rivers | Quack |
-| Goose (not a duck!) | Water & wetlands | **Large** , *loud* , noisy , ~~small~~ |
+| Goose (not a duck!) | Water & wetlands | **Large**, *loud*, noisy, ~~small~~ |
| Teal | - Pond - Marsh - Riverbank | 1. Fly south in winter 2. Build nest on ground |
| Genus | Species |
diff --git a/tests/data/groundtruth/docling_v2/hyperlink_01.html.md b/tests/data/groundtruth/docling_v2/hyperlink_01.html.md
index 14b49160df..57c5d0f7af 100644
--- a/tests/data/groundtruth/docling_v2/hyperlink_01.html.md
+++ b/tests/data/groundtruth/docling_v2/hyperlink_01.html.md
@@ -1,3 +1,3 @@
# Something
-Please follow the link to: [This page](#) .
\ No newline at end of file
+Please follow the link to: [This page](#).
\ No newline at end of file
diff --git a/tests/data/groundtruth/docling_v2/hyperlink_06.html.md b/tests/data/groundtruth/docling_v2/hyperlink_06.html.md
index a6807ba207..2556266bda 100644
--- a/tests/data/groundtruth/docling_v2/hyperlink_06.html.md
+++ b/tests/data/groundtruth/docling_v2/hyperlink_06.html.md
@@ -1,7 +1,7 @@
# Anchor Links Test
-Jump to [Section 2](#section-2) or visit [Example](https://example.com/) .
+Jump to [Section 2](#section-2) or visit [Example](https://example.com/).
## Section 2
-Content for section 2 with a [top link](#) .
\ No newline at end of file
+Content for section 2 with a [top link](#).
\ No newline at end of file
diff --git a/tests/data/groundtruth/docling_v2/inline_and_formatting.md.md b/tests/data/groundtruth/docling_v2/inline_and_formatting.md.md
index 9051b9a45d..59eb305185 100644
--- a/tests/data/groundtruth/docling_v2/inline_and_formatting.md.md
+++ b/tests/data/groundtruth/docling_v2/inline_and_formatting.md.md
@@ -2,22 +2,22 @@
This is simple.
-Foo *emphasis* **strong emphasis** ***both*** .
+Foo *emphasis* **strong emphasis** ***both***.
-Create your feature branch: `git checkout -b feature/AmazingFeature` .
+Create your feature branch: `git checkout -b feature/AmazingFeature`.
-1. Pull the [**repository**](https://github.com/docling-project/docling) .
-2. Create your feature branch ( `git checkout -b feature/AmazingFeature` )
-3. Commit your changes ( `git commit -m 'Add some AmazingFeature'` )
-4. Push to the branch ( `git push origin feature/AmazingFeature` )
+1. Pull the [**repository**](https://github.com/docling-project/docling).
+2. Create your feature branch (`git checkout -b feature/AmazingFeature`)
+3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
+4. Push to the branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request
6. **Whole list item has same formatting**
7. List item has *mixed or partial* formatting
# *Whole heading is italic*
-- **First** : Lorem ipsum.
-- **Second** : Dolor `sit` amet.
+- **First**: Lorem ipsum.
+- **Second**: Dolor `sit` amet.
Some *`formatted_code`*
diff --git a/tests/data/groundtruth/docling_v2/inline_and_formatting.md.yaml b/tests/data/groundtruth/docling_v2/inline_and_formatting.md.yaml
index 97dfae469f..9ab61a729c 100644
--- a/tests/data/groundtruth/docling_v2/inline_and_formatting.md.yaml
+++ b/tests/data/groundtruth/docling_v2/inline_and_formatting.md.yaml
@@ -228,6 +228,7 @@ tables:
text: data b
num_cols: 2
num_rows: 2
+ orientation: rot_0
table_cells:
- col_span: 1
column_header: true
diff --git a/tests/data/groundtruth/docling_v2/list_after_num_headers.docx.md b/tests/data/groundtruth/docling_v2/list_after_num_headers.docx.md
index d10fbcab53..7618e8fd10 100644
--- a/tests/data/groundtruth/docling_v2/list_after_num_headers.docx.md
+++ b/tests/data/groundtruth/docling_v2/list_after_num_headers.docx.md
@@ -7,8 +7,8 @@
### 1 Glosario
-- **Term 1** : Definition 1
-- **Term 2** : Definition 2
-- **Term 3** : Definition 3
-- **Term 4** : Definition 4
-- **Term 5** : Definition 5
\ No newline at end of file
+- **Term 1**: Definition 1
+- **Term 2**: Definition 2
+- **Term 3**: Definition 3
+- **Term 4**: Definition 4
+- **Term 5**: Definition 5
\ No newline at end of file
diff --git a/tests/data/groundtruth/docling_v2/mixed_without_h1.md.md b/tests/data/groundtruth/docling_v2/mixed_without_h1.md.md
index 47232f4441..884981ef3b 100644
--- a/tests/data/groundtruth/docling_v2/mixed_without_h1.md.md
+++ b/tests/data/groundtruth/docling_v2/mixed_without_h1.md.md
@@ -5,6 +5,6 @@ Content before first heading
- A. first
- subitem
- B. second
-- 2 . strange
+- 2. strange
The end!
diff --git a/tests/data/groundtruth/docling_v2/mixed_without_h1.md.yaml b/tests/data/groundtruth/docling_v2/mixed_without_h1.md.yaml
index 24c0a2b730..13c7f3ac59 100644
--- a/tests/data/groundtruth/docling_v2/mixed_without_h1.md.yaml
+++ b/tests/data/groundtruth/docling_v2/mixed_without_h1.md.yaml
@@ -43,7 +43,7 @@ groups:
key_value_items: []
name: mixed_without_h1
origin:
- binary_hash: 8222250741625232160
+ binary_hash: 1004175075401466085
filename: mixed_without_h1.md
mimetype: text/html
pages: {}
@@ -111,12 +111,12 @@ texts:
enumerated: false
label: list_item
marker: ''
- orig: 2 . strange
+ orig: 2. strange
parent:
$ref: '#/groups/1'
prov: []
self_ref: '#/texts/5'
- text: 2 . strange
+ text: 2. strange
- children: []
content_layer: body
label: text
diff --git a/tests/data/groundtruth/docling_v2/signature_stamp_01.md.json b/tests/data/groundtruth/docling_v2/signature_stamp_01.md.json
index 159db2e47d..bc1ad8af2a 100644
--- a/tests/data/groundtruth/docling_v2/signature_stamp_01.md.json
+++ b/tests/data/groundtruth/docling_v2/signature_stamp_01.md.json
@@ -4,7 +4,7 @@
"name": "signature_stamp_01",
"origin": {
"mimetype": "text/html",
- "binary_hash": 2979414821188907113,
+ "binary_hash": 10963647705406903262,
"filename": "signature_stamp_01.md"
},
"furniture": {
diff --git a/tests/data/groundtruth/docling_v2/text_document_01.odt.html b/tests/data/groundtruth/docling_v2/text_document_01.odt.html
index dd46f975d7..e574d5c239 100644
--- a/tests/data/groundtruth/docling_v2/text_document_01.odt.html
+++ b/tests/data/groundtruth/docling_v2/text_document_01.odt.html
@@ -202,8 +202,8 @@ Heading level 2: A
Heading level 2: B
-Contrary to popular belief, Lorem Ipsum is not simply random text . Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia , looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature , discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" ( The Extremes of Good and Evil ) by Cicero, written in 45 BC.
-X 2 + Y 2 = Z
+Contrary to popular belief, Lorem Ipsum is not simply random text. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC.
+X 2 + Y 2 = Z