Python Forum
Determining string intersection (embeddings) between two narrative (text) fields
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Determining string intersection (embeddings) between two narrative (text) fields
#3
(Jun-24-2019, 02:32 PM)ichabod801 Wrote: Have you looked at difflib? I think it would give better answers than sets, but it would be a lot slower. If you decided to go with set intersections, I would look at removing stop words before comparing.

I had not considered difflib, but I've been researching it since your post. Thank you for the suggestion.
I think it could be a viable option, so I'm going to try both methods.
Reply


Messages In This Thread
RE: Determining string intersection (embeddings) between two narrative (text) fields - by twinpiques - Jun-30-2019, 05:41 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Curves Intersection silverfish 1 2,214 May-23-2018, 10:15 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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