commit | 0a68a79b1c7a74b6c9c38a9d1ae678739fb34d33 | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Thu Dec 20 11:41:45 2018 +0100 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Thu Dec 20 11:41:45 2018 +0100 |
tree | d3285ed247e13a68e21b5d6adf911a5ea3adda6c | |
parent | 3020f48ab7e4b25444c8379ece807cdb329f8415 [diff] |
w2v-server: dump only 100000 vectors
diff --git a/w2v-server.pl b/w2v-server.pl index 26dd100..0ee5543 100755 --- a/w2v-server.pl +++ b/w2v-server.pl
@@ -1185,8 +1185,8 @@ int dump_vecs(char *fname) { long i, j; FILE *f; - /* if(words>200000) */ - /* words=200000; */ + if(words>100000) + words=100000; if((f=fopen(fname, "w")) == NULL) { fprintf(stderr, "cannot open %s for writing\n", fname);