Comments (4)
Thanks for this report, I will look into it. If I recall correctly, I indeed put the .pop()
call there to remove newline and carriage returns from the array.
Regarding your isNaN
checks, any call to word2vev
should write a file where the first line consists of <number of words> <length of vector>
. I guess you have been using the library differently?
from node-word2vec.
Oh, right, yes I was using a pretrained file that I found on the internet. I just added the <number of words> <length of vector>
manually.
Also, sorry to pester, but did you see this issue on your node-wordnet-magic project?
from node-word2vec.
Yeah, sorry for not coming back to that earlier. I will have a look today into what's wrong with the WordNet module.
from node-word2vec.
Thanks 👍
from node-word2vec.
Related Issues (20)
- .mostSimilar() returns array of undefined words for an out-of-dictionary word HOT 2
- Why is 1GB of ram required to load a 160mb word vector file?
- post installation script fails on windows. HOT 1
- .similarity(term1, term2) returns null for two identical terms instead of 1 HOT 1
- `mostSimilar` outputs numbers when using Fasttext word vectors HOT 2
- 'make' is not recognized as an internal or external command, in windows 64 bit HOT 1
- Make error postinstall HOT 2
- In Readme HOT 1
- Error: spawn ./word2vec ENOENT
- Error loadModel HOT 4
- Child process exited with code null HOT 1
- Do I need to train the model or I can use the default values straight away to calculate words' similarity? HOT 1
- "Child process exited with code 126" error HOT 2
- clang: error: the clang compiler does not support '-march=native' (Apple M1) HOT 2
- Pass text and get vectors as output without the use of files?
- 'make' is not recognized as an internal or external command,
- LoadModel memory overflow
- Code 126 HOT 9
- In v1.0, the callback to loadModel doesn't get fired and no error messages are thrown HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-word2vec.