I have a large amount of pairs of strings, for example:
s1 = 'newyork city lights are yellow'
s2 = ' the city of new york is large'
I would like to write a function that gets s1 and s2 (regardless of the order) and outputs:
s1_output = 'new york city lights are yellow'
s2_output = 'the city of new york is large'
such that the newyork in s2 is separated into new york or at least, a way to find the element that is matching other elements in the second string with only one character insertion.
The matched tokens are not known in advance and are not mandatory in the text Any ideas?