node-synonyms icon indicating copy to clipboard operation
node-synonyms copied to clipboard

:ferris_wheel: 中文近义词工具包,聊天机器人

Results 3 node-synonyms issues
Sort by recently updated
recently updated
newest added

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...

I tried to install with `npm install node-synonyms -S`, it gave me the following errors. ``` C:\Users\Liu.D.H\Desktop\node>npm install node-synonyms -S > [email protected] install C:\Users\Liu.D.H\Desktop\node\node_modules\node-word2vec-reader > node-gyp rebuild C:\Users\Liu.D.H\Desktop\node\node_modules\node-word2vec-reader>if not defined...

```js for (let keyword of keywords) { const nearby = await synonyms.nearby(keyword) console.log(keyword, nearby[0]) } ``` what is wrong ?