s1nospaces = map(lambda x: x.replace(' ', ''), s1)
s2nospaces = map(lambda x: x.replace(' ', ''), s2)
for seq in [s1, s2, s1nospaces, s2nospaces]:
    pass
Estimate Phonemic Similarity Between Two Words