I have DocChunk how do i convert back to document #324
mailtoshwetha09
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
docchunktest.txt
I need to convert this back to word.
i have a pdf which has tables and paragraph which is in japanese, i need to translate to english, while converting the pdf to docchunk was getting SSLCertVerificationError converter = DocumentConverter()
result = converter.convert(source)
print(result.document.export_to_markdown())
i have converted pdf to word and have doc chunk
chunks = list(HierarchicalChunker().chunk(doc))
here i am extracting docchunk.text and translating it and replacing the text. Now i need to revert the back to word or pdf.
Beta Was this translation helpful? Give feedback.
All reactions