Skip to content

feat(docreader): add structured DOCX table extraction#1804

Open
langcaiye wants to merge 1 commit into
Tencent:mainfrom
langcaiye:feat/docx-structured-table-ingest
Open

feat(docreader): add structured DOCX table extraction#1804
langcaiye wants to merge 1 commit into
Tencent:mainfrom
langcaiye:feat/docx-structured-table-ingest

Conversation

@langcaiye

Copy link
Copy Markdown
Contributor

Summary

  • Add structured DOCX table extraction from original Word table XML
  • Preserve gridSpan/vMerge merge semantics and render row-level key/value text
  • Append structured table text to DOCX MarkItDown output with a safe fallback
  • Cover continuation tables, context rows, notes, header detection, and merge recovery in tests

Tests

  • PYTHONPATH=. docreader/.venv/bin/python -m unittest docreader.tests.test_docx_table_parser docreader.tests.test_config
  • PYTHONPATH=. docreader/.venv/bin/python docreader/scripts/parse_local.py /Users/langcaiye/Downloads/言语处理器常见故障处理方法.docx --out /tmp/speech_processor_structured.md
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant