w2v-server: auto-focus based on maximized ⊥_w'(a/c)
and show average raw activations instead of co-norms
diff --git a/templates/index.html.ep b/templates/index.html.ep
index 5ede4fe..f50078c 100644
--- a/templates/index.html.ep
+++ b/templates/index.html.ep
@@ -134,7 +134,7 @@
{ "data": "rank", type: "allnumeric" },
{ "data": "pos", width: "7%", sClass: "dt-center mono compact", render: function ( data, type, row ) {return bitvec2window(data, row.heat, row.word) }},
{ "data": "max", render: function ( data, type, row ) {return data.toFixed(3) }},
- { "data": "conorm", render: function ( data, type, row ) {return data.toFixed(3) }},
+ { "data": "average", render: function ( data, type, row ) {return data.toFixed(3) }},
{ "data": "prob", type: "scientific", render: function ( data, type, row ) {return data.toExponential(3) } },
{ "data": "cprob", type: "scientific", render: function ( data, type, row ) {return data.toExponential(3) } },
{ "data": "overall", type: "scientific", render: function ( data, type, row ) {return data.toExponential(3) } },
@@ -323,7 +323,7 @@
}
.ui-tooltip-content {
- font-size: 9pt;
+ font-size: 10pt;
color: #222222;
}
@@ -820,11 +820,11 @@
<tr>
% if($collocators) {
<th>#</th>
- <th align="center" 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="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 align="center" title="Activation of the respective collocator in the columns around the target normalized by its maximum (red). Columns selected by the auto-focus funtion (which window of all possible column-combinations maximizes ⊥(a/c)?) are marked with +. Click on the column postions to lauch a KorAP query with target word and collocator in the respective position.">w'</th>
+ <th align="right" title="Maximum activation of the collocator anywhere in the output layer.">max(a)</th>
+ <th title="Average raw activation of the collocator in the columns selected by auto-focus." 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/Σw'</th>
+ <th title="Co-norm of the column-normalized activations over the colunns selected by the auto-focus." 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>
% }