w2v-server: skip target word in total activation summation
diff --git a/w2v-server.pl b/w2v-server.pl
index 3e3a683..648f4b0 100755
--- a/w2v-server.pl
+++ b/w2v-server.pl
@@ -852,6 +852,7 @@
     fflush(stdout);
     for (a = 0; a < syn_threads; a++) pthread_join(pt[a+para_threads], (void *) &syn_nbs[a]);
 		for (a = 0; a <= syn_threads; a++) {
+      if(a == window) continue;
 			total_activation += window_sums[a];
 			printf("window pos: %d, sum: %f\n", a, window_sums[a]);
 		}