假设我有一个带有拼写错误和类似小变化的电影名单 -
"Pirates of the Caribbean: The Curse of the Black Pearl"
"Pirates of the carribean"
"Pirates of the Caribbean: Dead Man's Chest"
"Pirates of the Caribbean trilogy"
"Pirates of the Caribbean"
"Pirates Of The Carribean"
Run Code Online (Sandbox Code Playgroud)
如何组合或查找这样的单词集,最好使用python和/或redis?