derekovecs: show raw frequencies with classic collocators
diff --git a/templates/index.html.ep b/templates/index.html.ep
index fc47258..0d2440c 100644
--- a/templates/index.html.ep
+++ b/templates/index.html.ep
@@ -225,25 +225,25 @@
"dom": '<"top">rt<"bottom"flp><"clear">',
"columns": [
// { "data": "pos", width: "7%", sClass: "dt-center mono compact", render: function ( data, type, row ) {return bitvec2window(data, row.heat, row.word) }},
- { "data": "llr", render: function ( data, type, row ) {return data.toFixed(1) }},
- { "data": "lfmd", render: function ( data, type, row ) {return data.toFixed(2) }},
+ { "data": "llr", render: function ( data, type, row ) {return data.toFixed(0) }},
+ { "data": "lfmd", render: function ( data, type, row ) {return data.toFixed(1) }},
// { "data": "fpmi", type: "scientific", render: function ( data, type, row ) {return data.toExponential(2) } },
- { "data": "npmi", type: "scientific", render: function ( data, type, row ) {return data.toExponential(2) } },
- { "data": "llfmd", render: function ( data, type, row ) {return data.toFixed(2) }},
- { "data": "rlfmd", render: function ( data, type, row ) {return data.toFixed(2) }},
- { "data": "lnpmi", type: "scientific", render: function ( data, type, row ) {return data.toExponential(2) } },
- { "data": "rnpmi", type: "scientific", render: function ( data, type, row ) {return data.toExponential(2) } },
+ { "data": "npmi", render: function ( data, type, row ) {return data.toFixed(2) }},
+ { "data": "llfmd", render: function ( data, type, row ) {return data.toFixed(1) }},
+ { "data": "rlfmd", render: function ( data, type, row ) {return data.toFixed(1) }},
+ { "data": "lnpmi", render: function ( data, type, row ) {return data.toFixed(2) }},
+ { "data": "rnpmi", render: function ( data, type, row ) {return data.toFixed(2) }},
+ { "data": "f" },
{ "data": "word", sClass: "collocator" }
],
"columnDefs": [
- { className: "dt-right", "targets": [0,1,2,3,4,5,6] },
+ { className: "dt-right", "targets": [0,1,2,3,4,5,6,7] },
{ "searchable": false,
"orderable": false,
"targets": []
},
- { "type": "scientific", targets: [2,3,4,5,6] },
- { "orderSequence": [ "desc" ], "targets": [ 0, 1, 2, 3,4,5,6 ] },
- { "orderSequence": [ "asc", "desc" ], "targets": [ 7 ] },
+ { "orderSequence": [ "desc" ], "targets": [ 0, 1, 2,3,4,5,6,7 ] },
+ { "orderSequence": [ "asc", "desc" ], "targets": [ 8 ] },
],
"oLanguage": {
"sSearch": "Filter: "
@@ -359,7 +359,7 @@
return $(this).attr('title');
}}
)
- })
+ });
$(function () {
$(document).tooltip({
@@ -572,7 +572,7 @@
}
#second {
- min-width: 800px;
+ min-width: 700px;
// border: 1px solid #333;
overflow: hidden; /* if you don't want #second to wrap below #first */
}
@@ -963,7 +963,7 @@
<div id="sominfo">SOM iteration <span id="iterations">0</span></div>
</div>
<div id="tabs-3" style="width:1500px">
- <div style="width: 55%; float: left;" id="secondt">
+ <div style="width: 45%; float: left;" id="secondt">
<table class="display compact nowrap" id="secondtable">
<thead>
<tr>
@@ -1027,10 +1027,9 @@
</td>
<td align="right">
</td>
- <td align="right">
- </td>
- <td align="right">
- </td>
+ <td align="right"></td>
+ <td align="right"></td>
+ <td align="left"></td>
</tr>
</tbody>
</table>