@@ -0,0 +1,628 @@
+import re%0A%0Adef soundex(name):%0A    return ' '.join(process_word(word).upper()%0A                       for word in %0A                         name.split(' ')%0A                          )   %0A%0A%0Adef process_word(word):%0A    fl = word%5B0%5D%0A    word = word.lower()%0A    word = word%5B0%5D + re.sub('%5Bhw%5D', '', word%5B1:%5D)%0A    word = word.translate(str.maketrans('bfpvcgjkqsxzdtlmnr','111122222222334556'))%0A    word = re.sub(r'(%5Cd)(%5C1)+', lambda d: d.group()%5B0%5D, word)%0A    word = word%5B0%5D + re.sub('%5Baeiouy%5D', '', word%5B1:%5D)%0A    if word%5B0%5D.isdigit(): word = fl + word%5B1:%5D%0A    return (word + '000')%5B:4%5D if len(re.findall('%5Cd', word)) %3C 3 else word%5B:4%5D%0A

Create 5kyu_soundex.py