There is a similarity or even equality between many sentences in English language such as:
I happened to come across the scientific definitions while reading.
I came across the scientific definitions by chance while reading.
I came across the scientific definitions accidentally while reading.
My question is that if there is any possible
data set/collection/group that indicates such situation that if some words replace with other (not just synonyms and antonyms) and the meaning of the sentence remain same while the sentence itself has a different looking. For example, the first sentence changed into the other two examples by removing the verb
happened and changing the tense of verb
come and then adding
by chance and
accidentally at other part of sentence. (However we can even change these sentences more by removing
while and replacing
when I was, but to keep it simple let's just assume we left that part intact)