MCPcopy Create free account
hub / github.com/codingis4noobs2/QuickDigest / read_word_file

Function read_word_file

app.py:190–195  ·  view source on GitHub ↗
(file_path)

Source from the content-addressed store, hash-verified

188
189 # Read text from Word document
190 def read_word_file(file_path):
191 doc = Document(file_path)
192 full_text = []
193 for para in doc.paragraphs:
194 full_text.append(para.text)
195 return '\n'.join(full_text)
196
197 # Process uploaded documents
198 def process_documents(documents):

Callers 1

process_documentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected