add similarity function in wordnet wapper