Added getSimilarityScore function that accepts two phrases and returns a score