I would like to compare two texts and try to find their degree of similarity and highlight the differences. I would like to do this, not only in terms of words, but also sentences/context, if it could be possible. I thought of using SequenceAlignment, but it is not a good fit in this case as there are many differences between the two texts.
txt1 = "Meghan Markle made a surprise appearance via Skype during \
Prince Harry's visit to Malawi earlier today. Prince Harry had been \
speaking at a college in Lilongwe in Malawi promoting girls' \
education. A grinning Meghan appeared via Skype from Johannesburg, \
South Africa, where she is staying with royal baby Archie Harrison."
txt2 = "Women from the Nalikule College of Education in Malawi were \
treated to a surprise appearance by Meghan Markle via Skype over the \
weekend, but no one was more excited than Prince Harry!
During his outing on Sunday, Harry saw the impact of U.K. \
investments to ensure that girls obtain at least 12 years of quality \
education. The project is supported by the Queen\[CloseCurlyQuote]s \
Commonwealth Trust, of which Harry is president and Meghan is \
vice-president.
The Duchess of Sussex, 38, remained in South Africa with the couple\
\[CloseCurlyQuote]s almost 5-month-old son Archie, but joined the \
important meeting with a Skype call."
Do you have any idea on how I could do? With Jaccard similarity will have a low score, however the 2 texts have very similar meanings. Here Jaccard similarity is neither able to capture semantic similarity nor lexical semantic of these two texts.
Thanks




