-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: document Docling JSON parsing (#819)
* docs: document Docling JSON parsing Also: - factored out and expanded supported formats - reorged feature list Signed-off-by: Panos Vagenas <[email protected]> * update feature list, minor fixes Signed-off-by: Panos Vagenas <[email protected]> --------- Signed-off-by: Panos Vagenas <[email protected]>
- Loading branch information
Showing
5 changed files
with
70 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
Docling can parse various documents formats into a unified representation (Docling | ||
Document), which it can export to different formats too — check out | ||
[Architecture](./concepts/architecture.md) for more details. | ||
|
||
Below you can find a listing of all supported input and output formats. | ||
|
||
## Supported input formats | ||
|
||
| Format | Description | | ||
|--------|-------------| | ||
| PDF | | | ||
| DOCX, XLSX, PPTX | Default formats in MS Office 2007+, based on Office Open XML | | ||
| Markdown | | | ||
| AsciiDoc | | | ||
| HTML, XHTML | | | ||
| PNG, JPEG, TIFF, BMP | Image formats | | ||
|
||
Schema-specific support: | ||
|
||
| Format | Description | | ||
|--------|-------------| | ||
| USPTO XML | XML format followed by [USPTO](https://www.uspto.gov/patents) patents | | ||
| PMC XML | XML format followed by [PubMed Central®](https://pmc.ncbi.nlm.nih.gov/) articles | | ||
| Docling JSON | JSON-serialized [Docling Document](./concepts/docling_document.md) | | ||
|
||
## Supported output formats | ||
|
||
| Format | Description | | ||
|--------|-------------| | ||
| HTML | Both image embedding and referencing are supported | | ||
| Markdown | | | ||
| JSON | Lossless serialization of Docling Document | | ||
| Text | Plain text, i.e. without Markdown markers | | ||
| Doctags | | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters