Skip to main content
3 of 5
added 168 characters in body
learner
  • 13
  • 1
  • 4

How to split the text into main points based on given main points?

I am working on a problem where I have two texts T1, T2. T1 contains some important points that I have entered. How can I make sure that T2 has those points? I am aware of the algorithms like cosine, jaccard, BERT for semantic similarity but the problem is that they apply to the whole text whereas I want point-wise similarity i.e. T2 must contain the T1 points although the order and words used may differ a bit.

By points I meant bullet points covering discrete concepts and I basically want to ensure every discrete concept in my T1's points is covered in T2 where it could be in a single sentence or spread out across multiple sentences.

Example:

So T1 could have the following two points:

  • The Queen reigned from 1943 to 2022.
  • The Queen was the second longest reigning monarch.

Now T2 could either be:

The Queen was the second longest reigning monarch with her reign spanning 1943 to 2022.

or

  • The Queen reigned from 1943 to 2022.
  • She was Britain's second longest monarch.

In both these cases, T2 should be considered to contain both points in T1.

learner
  • 13
  • 1
  • 4