All these strings refer to the same movie. How can I compare them to check the similarity?
I get all these strings from an external source:
-
Spider man
-
Spider-man
-
Spider man 1
-
SpiderMan
-
Spider – Man
-
Film: Spider-man
-
Film:Spiderman
For me,
"Spider man 1"and"Spider man 2"are two strings completely different than"spider-man"and"spider man".
I’d want a function that, if it compare all these strings, it will return "true"
I think the Smith-Waterman algorithm can give you some points.