Adding str_correlation method to calculate the similarity between two sets of words