Planeshifter / node-word2vec

Node.js interface to the Google word2vec tool.
Apache License 2.0
348 stars 55 forks source link

Child process exited with code null #22

Closed evilfactory closed 4 years ago

evilfactory commented 4 years ago
var w2v = require( 'word2vec' );

w2v.word2vec( __dirname + '/input.txt', __dirname + '/output.txt', {
    cbow: 1,
    size: 200,
    window: 8,
    negative: 25,
    hs: 0,
    sample: 1e-4,
    threads: 20,
    iter: 15,
    minCount: 2
});

the example don't seem to work? it only returns Child process exited with code null also output.txt empty

evilfactory commented 4 years ago

nvm im dumb lol

you need run word2phrase first