From 72aa78cbfa4e35a117af3a7f9837d817d16d8fc8 Mon Sep 17 00:00:00 2001
From: Patrick Simianer
Date: Fri, 29 Jan 2016 18:18:03 +0100
Subject: cleanup
---
footer.inc.php | 11 -----------
header.inc.php | 8 --------
help.inc.php | 35 -----------------------------------
util/convlr.rb | 28 ----------------------------
4 files changed, 82 deletions(-)
delete mode 100644 footer.inc.php
delete mode 100644 header.inc.php
delete mode 100644 help.inc.php
delete mode 100755 util/convlr.rb
diff --git a/footer.inc.php b/footer.inc.php
deleted file mode 100644
index 8709538..0000000
--- a/footer.inc.php
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
diff --git a/header.inc.php b/header.inc.php
deleted file mode 100644
index e812943..0000000
--- a/header.inc.php
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
diff --git a/help.inc.php b/help.inc.php
deleted file mode 100644
index 0fa396d..0000000
--- a/help.inc.php
+++ /dev/null
@@ -1,35 +0,0 @@
-
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.
-
-
Please use only a single browser window at the same time. Going back to earlier examples is not possible, please take great care when interacting with the system.
-
-
Instructions for the graphical interface:
-
To submit a post-edition in the graphical interface all phrases have to be marked as finished.
-
- - Moving around: Press 'S', then select phrases using the arrow keys.
- - Editing text: Double click on a phrase or press 'E' to edit the contents of the current phrase. Press 'Return' to save.
- - Reordering of target phrases: Press 'M', then use the arrow keys to move the selected phrase. Press 'Return' to fix the position.
- - Mark phrase as finished: Press 'Return' to mark phrases as finished (press 'Return' again to undo). Moving, editing or deleting of finished phrases is not possible.
- - Adding target phrases: To add a phrase right next to the currently selected one press 'A'.
- - Removing target phrases: Press 'D' to delete the currently selected phrase.
- - Adding/removing alignments: Select a source phrase by clicking on it, then click on a suitable target phrase to connect or disconnect. Click the selected source phrase again to cancel.
- - Undo: Press 'U' to undo alignments, text edits and deletion of phrases.
- - Reset: Click 'Reset' button to start from scratch.
-
-
-
The interface was tested with Firefox 31 and 38.
-
-
Known issues:
-
-
-
- - The width of the canvas of graphical editor may be to small when adding a lot of phrases.
- - The in-line editor may change height and span several lines.
- - When editing phrases that have no contents, the input box is lower than normal.
- - Post-edits in the session overview may be partially tokenized due to phrase segmentation.
- - Horizontal scrollbar doesn't follow highlighted phrase.
- - Mouseover is not detected for undoing.
-
-
diff --git a/util/convlr.rb b/util/convlr.rb
deleted file mode 100755
index c845847..0000000
--- a/util/convlr.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env ruby
-
-require 'zipf'
-
-updates = SparseVector.new
-ReadFile.readlines_strip(ARGV[0]).each { |line|
- k,v = line.split
- updates[k] = v.to_f
-}
-grads = SparseVector.new
-ReadFile.readlines_strip(ARGV[1]).each { |line|
- k,v = line.split
- grads[k] = v.to_f
-}
-
-smooth = 0.000001
-
-ks = updates.keys + grads.keys
-
-rates = SparseVector.new
-ks.each { |k|
- rates[k] = Math.sqrt(updates[k]+smooth)/Math.sqrt(grads[k]+smooth)
-}
-
-rates.each { |k,v|
- puts "#{k} #{v}"
-}
-
--
cgit v1.2.3