From 886337bdf83c33edf2361ffa45239aa5195ca367 Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Fri, 6 Nov 2015 16:10:02 +0100 Subject: cleanup --- derivation_to_json/derivation_to_json.rb | 2 +- external/README | 4 ++-- footer.inc.php | 11 +++++++++++ footer.php | 11 ----------- header.inc.php | 8 ++++++++ header.php | 8 -------- index.php | 4 ++-- interface.php | 4 ++-- js/common.js | 11 +++++++---- js/debug.js | 3 --- js/lfpe.js | 7 +------ 11 files changed, 34 insertions(+), 39 deletions(-) create mode 100644 footer.inc.php delete mode 100644 footer.php create mode 100644 header.inc.php delete mode 100644 header.php diff --git a/derivation_to_json/derivation_to_json.rb b/derivation_to_json/derivation_to_json.rb index afd62b7..f7307cc 100755 --- a/derivation_to_json/derivation_to_json.rb +++ b/derivation_to_json/derivation_to_json.rb @@ -83,7 +83,7 @@ class Rule x -= rx y -= ry if @ha[x] - @ha[x] << y + @ha[x] << y else @ha[x] = [y] end diff --git a/external/README b/external/README index 166b2d9..c14f4eb 100644 --- a/external/README +++ b/external/README @@ -1,5 +1,5 @@ +scripts taken from Moses [https://github.com/moses-smt/mosesdecoder] + github.com/pks/scripts @e137509a77e3a8c12af32852ebba893dacb53f85 moses @7b02017da1e2a09486627b543446ec78e51541a7 -taken from Moses [https://github.com/moses-smt/mosesdecoder] - diff --git a/footer.inc.php b/footer.inc.php new file mode 100644 index 0000000..8709538 --- /dev/null +++ b/footer.inc.php @@ -0,0 +1,11 @@ + +
+ + + + + diff --git a/footer.php b/footer.php deleted file mode 100644 index 8709538..0000000 --- a/footer.php +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - diff --git a/header.inc.php b/header.inc.php new file mode 100644 index 0000000..e812943 --- /dev/null +++ b/header.inc.php @@ -0,0 +1,8 @@ + +