w2-server: finally fix spurious bug with small cutoffs
diff --git a/w2v-server.pl b/w2v-server.pl
index 9ee47d6..bc4a2bc 100755
--- a/w2v-server.pl
+++ b/w2v-server.pl
@@ -756,7 +756,7 @@
}
for (b = 0; b < pars->cutoff; b++)
pars->target_sums[b] += target_sums[b]; //(target_sums[b] / wpos_sum ) / (window * 2);
- printf("Target-Summe von 0: %f\n", pars->target_sums[150298]);
+
free(target_sums);
for(b=0; b<N && best[b].wordi >= 0; b++);; // THIS LOOP IS NEEDED (b...)
// printf("%d: best syn: %s %.2f %.5f\n", b, &vocab[best[b].wordi*max_w], best[b].activation, best[b].probability);