Python Forum
Finding phrases of one semantic meaning
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Finding phrases of one semantic meaning
#1
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.
Reply
#2
From what I can tell, python-docx is used for construction, not reading docx files.
for reading see: https://pypi.org/project/docx/
Reply
#3
(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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to understand the meaning of the line of code. jahuja73 0 268 Jan-23-2024, 05:09 AM
Last Post: jahuja73
  Csv writer meaning of quoting mg24 2 1,105 Oct-01-2022, 02:16 PM
Last Post: Gribouillis
  meaning of -> syntax in function definition DrakeSoft 5 1,877 Apr-09-2022, 07:45 AM
Last Post: DrakeSoft
  Operator meaning explanation Sherine 3 1,980 Jul-31-2021, 11:05 AM
Last Post: Sherine
  parser.parse_args() meaning vinci 2 2,548 Oct-26-2020, 04:13 PM
Last Post: vinci
  What is the meaning of k in this function? giladal 3 2,651 Aug-15-2020, 12:32 PM
Last Post: buran
  Here what is the meaning of span=(1,2) ,match='1'? srisrinu 1 2,077 Apr-27-2020, 10:22 AM
Last Post: anbu23
  What is the meaning of mutable data type? qliu 3 2,875 Apr-17-2020, 07:20 PM
Last Post: deanhystad
  Upper-Bound Exclusive Meaning Johnny1998 1 3,310 Aug-02-2019, 08:32 PM
Last Post: ichabod801
  How to detect semantic errors with numbers more complex than integers? RedSkeleton007 1 2,388 Aug-01-2018, 09:27 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020