Python Forum

Full Version: Finding phrases of one semantic meaning
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
From what I can tell, python-docx is used for construction, not reading docx files.
for reading see: https://pypi.org/project/docx/
(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.