mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-26 20:14:47 +00:00
Documentation improvements
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
This commit is contained in:
parent
f221083a14
commit
60302c312c
@ -71,11 +71,11 @@ This can improve output quality if you find that multiple columns in extracted t
|
|||||||
```python
|
```python
|
||||||
|
|
||||||
pipeline_options = PipelineOptions(do_table_structure=True)
|
pipeline_options = PipelineOptions(do_table_structure=True)
|
||||||
pipeline_options.table_structure_options.do_cell_matching = True
|
pipeline_options.table_structure_options.do_cell_matching = False # Uses text cells predicted from table structure model
|
||||||
|
|
||||||
doc_converter = DocumentConverter(
|
doc_converter = DocumentConverter(
|
||||||
artifacts_path=artifacts_path,
|
artifacts_path=artifacts_path,
|
||||||
pipeline_options=pipeline_options, # Controls if OCR is applied (ignores programmatic content)
|
pipeline_options=pipeline_options,
|
||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user