I need to compare strings to decide whether they represent the same thing. This relates to case titles entered by humans where abbreviations and other small details may di
You could use ngrams for that. For example, transform the two strings in word trigrams (usually lowercase) and compare the percentage of them that are equal to one another.
Your challenge is to define a minimum percentage for similarity.