Python Forum
Finding phrases of one semantic meaning - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Finding phrases of one semantic meaning (/thread-14830.html)



Finding phrases of one semantic meaning - VladislavMz - Dec-19-2018

Hi!
I have a document in .doc format which consists of various contents are texts, tables, and so on. I use the python-docx library to work with word.docx files.
I need to write a program that finds in this document a phrase with a specific semantic meaning.
For example:
find ('More information')
Matches found: 'Additional information', 'Auxiliary data', 'Additional knowledge'.

What do I need to do for this? Use machine learning techniques? WordEmbeddings, Word2Vec?
Thanks.


RE: Finding phrases of one semantic meaning - Larz60+ - Dec-19-2018

From what I can tell, python-docx is used for construction, not reading docx files.
for reading see: https://pypi.org/project/docx/


RE: Finding phrases of one semantic meaning - VladislavMz - Dec-20-2018

(Dec-19-2018, 04:12 PM)Larz60+ Wrote: From what I can tell, python-docx is used for construction, not reading docx files.
for reading see: https://pypi.org/project/docx/

Thank you for your answer! python-docx is able to read documents also.