Is there any way to parse text using workflow with Javascript/Python?
I'm trying to extract some data from a word doc/docx file, but unsure how to implement this function.
请
登录后发表观点

you can use python-docx lib to read content of docx file
but you must upload docx file and use code block of workflow to read attach file
Ok, thanks. I'll give it a try.
I have already similar experience with reading Excel file with xlrd library.
Just that I have no idea how to do it with Word file.
you can use python-docx lib to read content of docx file
but you must upload docx file and use code block of workflow to read attach file
1,convert binary file to text file. ( including from image to text )
2,set rules to extract words you need.
3,set rules to prevent extracting wrong words.
发表话题
- 积分
125 - 注册排名
1731