From 958ce7102f5b0c9fac27d164394c8b13cf8b24f2 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Fri, 4 Dec 2015 00:33:21 +0100 Subject: integrated phrase-phrase-extraction, save svg --- help.inc.php | 2 +- interface.php | 4 +- js/debug.js | 4 + js/lfpe.js | 1 + phrase_alignment/example.txt | 3 + phrase_alignment/phrase_alignment.rb | 735 +++++++++++++++++++++++++++++++++++ server.rb | 40 +- views/debug.haml | 2 + 8 files changed, 786 insertions(+), 5 deletions(-) create mode 100644 phrase_alignment/example.txt create mode 100755 phrase_alignment/phrase_alignment.rb diff --git a/help.inc.php b/help.inc.php index 5132620..e571a6d 100644 --- a/help.inc.php +++ b/help.inc.php @@ -1,4 +1,4 @@ -

Press the 'Next' button to submit your post-edit and to request the next segment for post-edition. +

Press the 'Next' button to submit your post-edit and to request the next segment for post-edition. Alternatively, in the textual interface, you may just press return when you finished the post-edit ('Target' text area is in focus).

The session can be paused 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 segment to reset the timer.

diff --git a/interface.php b/interface.php index d8b7a72..dd08b10 100644 --- a/interface.php +++ b/interface.php @@ -91,8 +91,8 @@ foreach($db->raw_source_segments as $s) { - -