docling-project / docling-project/docling
missing data in single page docx
- Dominant language
- Python
- Stars
- 66.4k
- Forks
- 4.8k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 84
Description
### Question
I have a single page word document (attached) and what appears to be very clear text in table form is being missed...
```python
from docling.document_converter import DocumentConverter
converter = DocumentConverter()
file_path = 'test.docx'
result = converter.convert(file_path)
result.document.export_to_markdown()
```
Additionally, as a bonus round - not sure if the first table can be better handled.
```markdown
### SUMMARY OF CHANGES FROM 01/07/2024
The 01/07/2024 changes to the MBS are summarised below and are identified in the Schedule pages by one or more of the following words appearing above the item number:
| (a) new item | New |
|--------------------------|-------|
| (b) amended description | Amend |
| (c) fee amended | Fee |
| (d) item number changed | Renum |
| (e) EMSN changed | EMSN |
Deleted Items
[ MISSING ]
New Items
[ MISSING ]
Description Amended
[ MISSING ]
Fee Amended
[ MISSING ]
Indexation
From 1 July 2024, annual fee indexation will be applied to pathology items in Group P12. The MBS indexation factor for 1 July 2024 is 3.5 per cent.
Changes to pathology services
From 1 July 2024, the following changes will be made to pathology services under the MBS:
- New item 66586 to provide pathology testing for quantifying BNP or NT-proBNP in patients with previously diagnosed pulmonary arterial hypertension;
- Two new items (73313 and 73316) for the detection of measurable residual disease (MRD) in patients with acute lymphoblastic leukaemia (ALL) using quantitative molecular assay (qPCR);
- Amendment of pathology item 73410 to include carrier testing of individuals with normal red cell indices if their reproductive partner has been diagnosed with a heterozygous 2-gene deletional alpha thalassemia; and
- Amendment to items 73410, 73411, 73412 and 73413 to allow for testing of reproductive couples in either order.
- Two new items (69421 and 69422) for nucleic acid testing of respiratory pathogens in patients with suspected respiratory infection.
- Amendment to item 73295 for the detection of germline BRCA1 or BRCA2 gene, to enable medical practitioners to request testing for additional groups of patients.
```
I wouldn't ordinarily ask but seems odd that the basic text which is clearly laid out is missing from the sections above. I inspected the `result.document` but couldn't locate the text anywhere? Is there a setting I need to set for e.g. tables with 1 row which looks like the format it is in?
[test.docx](https://github.com/user-attachments/files/19061602/test.docx)
Contributor guide
Assessment
This issue has not been assessed yet.