diff options
-rw-r--r-- | interface.php | 4 | ||||
-rw-r--r-- | views/debug.haml | 14 |
2 files changed, 9 insertions, 9 deletions
diff --git a/interface.php b/interface.php index 265fa7c..f92d196 100644 --- a/interface.php +++ b/interface.php @@ -63,8 +63,8 @@ foreach($db->raw_source_segments as $s) { <!-- Help --> <div id="help"> <strong>Help</strong><br /> -<p>Press the 'Next' button to submit your post-edit and to request the next segment to translate -Alternatively, just press enter when the 'Target' text area is focused. The session can be stopped at any time and continued later; However, if you have to pause your session, wait until the activity notification disappears and then press 'Pause', as we are collecting timing information. Alternatively, reload this site and re-request the next segment. Please only use <em>one</em> browser window at once. Going back to earlier examples is not possible, please take great care when interacting with the system.<br/> +<p>Press the 'Next' button to submit your post-edit and to request the next segment for translation. +Alternatively, just press enter when the 'Target' text area is focused. The session can be stopped at any time and continued later; However, if you have to pause your session, wait until the activity notification disappears and then press 'Pause', as we are collecting timing information. You may also just reload this site and re-request the next segment upon your return. Please only use <em>one</em> browser window at once. Going back to earlier examples is not possible, please take great care when interacting with the system.<br/> The interface was only tested with Firefox 31.</p> <p class="xtrasmall">Support: <a href="mailto://simianer@cl.uni-heidelberg.de">Mail</a></p> <p class="xtrasmall">Session: #<?php echo $_GET["key"]; ?> | <a href="http://coltrane.cl.uni-heidelberg.de:<?php echo $db->port; ?>/debug" target="_blank">Debug</a></p> diff --git a/views/debug.haml b/views/debug.haml index e963bd7..bfa7c73 100644 --- a/views/debug.haml +++ b/views/debug.haml @@ -2,11 +2,11 @@ !!! %html %head - %title debug view (for session ##{session_key}) + %title debug view (session ##{session_key}) %link(rel="stylesheet" type="text/css" href="debug.css") %body %h1 debug view - %h2 for session ##{session_key} + %h2 session ##{session_key} - if data["kbest"].empty? %p.red %strong No data to show! @@ -55,7 +55,7 @@ %p <strong>learning rate (sparse):</strong> #{data["learning_rate_sparse"]} %h2 k-best %p bleu | model score | original rank | \|e\| | translation \n features - %p.red update needed ("any of the higher ranked (by BLEU) hypotheses has a lower model score") + %p.red update needed ("any of the above hypotheses has a lower model score") %ol - kbest = [] - data["kbest"].each { |i| x=splitpipe(i); kbest << [ x[0].to_f, x[1].to_f, x[2].to_i, x[3], x[4] ] } @@ -97,14 +97,14 @@ %td #{"%+.1f"%((data["weights_after"][k]-data["weights_before"][k])/data["learning_rate"]).round(2)} - else %td #{"%+.1f"%((data["weights_after"][k]-data["weights_before"][k])/data["learning_rate_sparse"]).round(2)} - %h3 dense features explained + %h3 features explained %table %tr %td.noborder EgivenFCoherent (rule) %td.left -log10[ c(e, f) / sample c(f) ] %tr %td.noborder ForceRule (rule) - %td.left only feature of new rules, weight fixed at 1 + %td.left only feature of additional rules, weight fixed at 1 %tr %td.noborder Glue %td.left absolute number of rules used from glue grammar @@ -116,7 +116,7 @@ %td.left true|false (1|0) (sum) %tr %td.noborder LanguageModel - %td.left -log?[ score ] + %td.left -log10[ score ] %tr %td.noborder LanguageModel_OOV %td.left abs. count of OOV unigrams @@ -143,7 +143,7 @@ %td.left rule indicator features, sum over full derivation per rule %tr %td.noborder Shape_* - %td.left Indicator features for rule shapes + %td.left indicator features for rule shapes %tr %td.noborder IsSupportedOnline %td.left counts how many rules have support from local context (Denkowski) |