getWordnetSimilarity refactor