w2v-server: add getOutputWeight function to C library
diff --git a/w2v-server.pl b/w2v-server.pl
index dbe179a..105f69a 100755
--- a/w2v-server.pl
+++ b/w2v-server.pl
@@ -65,9 +65,9 @@
 
 # -cbow 1 -size 200 -window 8 -negative 25 -hs 0 -sample 1e-4 -threads 40 -binary 1 -iter 15
 if(!$ARGV[0]) {
-  init_net("vectors15.bin", $opt_n, ($opt_i? 1 : 0));
+  init_net("vectors15.bin", $opt_n, ($opt_i? 1 : 0), 0);
 } else {
-  init_net($ARGV[0], $opt_n, ($opt_i? 1 : 0));
+  init_net($ARGV[0], $opt_n, ($opt_i? 1 : 0), 1);
   if(open(FILE, "$ARGV[0].args")) {
     $training_args = <FILE>;
   }