w2v-server: add column and overall normalized sums
diff --git a/templates/index.html.ep b/templates/index.html.ep
index 78ec921..9e78ea6 100644
--- a/templates/index.html.ep
+++ b/templates/index.html.ep
@@ -59,11 +59,10 @@
 									 "orderable": false,
 									 "targets": 0
 								 }, 
-								 { "orderSequence": [ "desc" ], "targets": [ 2, 3, 4 ] },
-								 { "orderSequence": [ "asc", "desc" ], "targets": [ 1, 5 ] },
-								 { "orderSequence": [ "desc" ], "targets": [ 3 ] }
+								 { "orderSequence": [ "desc" ], "targets": [ 2, 3, 4, 5, 6 ] },
+								 { "orderSequence": [ "asc", "desc" ], "targets": [ 1, 7 ] },
 						 ],
-						 "order": [[ 3, 'desc' ]],
+						 "order": [[ 4, 'desc' ]],
 				 } );
 				 t.on( 'order.dt search.dt', function () {
 						 t.column(0, {order:'applied'}).nodes().each( function (cell, i) {
@@ -626,8 +625,8 @@
 								<label for="sortby">window/sort</label>
 								<select id="sortby" name="sort">
 									<option value="0"  <%= ($sort!=1 && $sort!=2? "selected":"") %>>auto focus</option>
-									<option value="1"  <%= ($sort==1? "selected":"") %>>any single position</option>
-									<option value="2" <%= ($sort==2? "selected":"") %>>whole window</option>
+									<!-- <option value="1"  <%= ($sort==1? "selected":"") %>>any single position</option>
+											 <option value="2" <%= ($sort==2? "selected":"") %>>whole window</option> -->
 								</select>
 							% }
 							<input type="button" value="→ KorAP" onclick="queryKorAP();" title="query word with KorAP"/>
@@ -734,11 +733,13 @@
 								<tr>
 									% if($collocators) {
 										<th>#</th>
-										<th align="right" title="The window around the target word that is considered for summation.">w'</th>
+										<th align="right" title="The columns (c) around the target are considered for summation are marked with *.">w'</th>
 										<th align="right" title="Raw (max.) activation of the collocator in the output layers.">max(a)</th>
-										<th title="(c<sub><small>@</small></sub>) – Sum of the probability approximations that the combination of the target word and the collocator at the relative position @ come from the training corpus. Single approximations can be distorted because of sub-sampling frequent words and the sum cannot itself be interpreted as probability." align="right">⊥Σa</th>
-										<th align="right">Σa/Σw</th>
-										<th title="c" align="left">collocator</th>
+										<th title="Co-normalized raw activation sum of the collocator in the selected columns." align="right">⊥Σa</th>
+										<th title="Sum of activations over the selected colunns normalized by the total activation sum of the selected columns." align="right">Σa/Σc</th>
+										<th title="Sum of the column normalized activations over the selected colunns." align="right">Σ(a/c)</th>
+										<th title="Sum of the activations over the whole window normalized by the total window sum (no auto-focus)." align="right">Σa/Σw</th>
+										<th align="left">collocator</th>
 									% }
 								</tr>
 							</thead>
@@ -762,6 +763,12 @@
 											<td align="right">
 												<%= sprintf("%.3e", $c->{prob}) %>
 											</td>
+											<td align="right">
+												<%= sprintf("%.3e", $c->{cprob}) %>
+											</td>
+											<td align="right">
+												<%= sprintf("%.3e", $c->{overall}) %>
+											</td>
 											<td align="left">
 												<a onclick="<%= sprintf("queryKorAPCII('%s /w5 %s')", $c->{word}, $word) =%>"
 													 title="freq. rank: <%= $c->{rank} =%>">