diff options
author | Patrick Simianer <p@simianer.de> | 2016-06-21 17:45:23 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2016-06-21 17:45:23 +0200 |
commit | 32715e9afbc1f08a32c3ef55c08d3a2ae1b2816e (patch) | |
tree | d1f1d76e798ede8ef89dbd40324ed71b078c983f /views | |
parent | 758e8671e0148d2abb0895a26593c33601aa44cc (diff) | |
parent | 88879ebcd230e7ace8c7819e8d02f83a7273d9a8 (diff) |
Merge branch 'master' of github.com:pks/lfpe
Diffstat (limited to 'views')
-rw-r--r-- | views/summary.haml | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/views/summary.haml b/views/summary.haml index f5ff4b3..671f1b5 100644 --- a/views/summary.haml +++ b/views/summary.haml @@ -31,13 +31,19 @@ TER %td %strong - Keystrokes + MT %td %strong - Mouse actions + HTER %td %strong - Duration + Key. + %td + %strong + M.a. + %td + %strong + Dur. - data["post_edits"].each_with_index do |pe,j| %tr %td.center #{j+1}. @@ -46,8 +52,10 @@ %td #{data["references"][j]} %td.center #{(BLEU::per_sentence_bleu(pe, [data["references"][j]], 4, 0)*100).round 2}% %td.center #{ter_scores[j]} + %td #{data["mt_raw"][j]} + %td.center #{hter_scores[j]} %td.center #{data["count_kbd"][j]} %td.center #{data["count_click"][j]} - %td.center #{(data["durations"][j]/1000).round 1}s + %td.center #{((data["durations"][j]/1000.0)/60.0).round 1} min |