Open wcchh opened 5 years ago
As title. I got 0.17365640608647942 from below :
var synonyms = require("node-synonyms"); synonyms.compare("旅游", "游历") .then(function (similarity) { console.log(similarity); });
But as Synonyms (Python) has value: 0.872 for this pair. print("旅游, 游历: %s" % (synonyms.compare("旅游", "游历")))
print("旅游, 游历: %s" % (synonyms.compare("旅游", "游历")))
Please let me know how to correct it, thanks in advance.
As title. I got 0.17365640608647942 from below :
But as Synonyms (Python) has value: 0.872 for this pair.
print("旅游, 游历: %s" % (synonyms.compare("旅游", "游历")))
Please let me know how to correct it, thanks in advance.