From a99ff09bc2c850f45950dde03644f38aab164090 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Fri, 11 Dec 2015 15:48:36 +0100 Subject: whitespace --- phrase_alignment/phrase_alignment.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phrase_alignment/phrase_alignment.rb b/phrase_alignment/phrase_alignment.rb index 9d29798..1c1a0ed 100755 --- a/phrase_alignment/phrase_alignment.rb +++ b/phrase_alignment/phrase_alignment.rb @@ -125,7 +125,7 @@ class Rule def base_alignment2 correct_src, correct_tgt, start_source, start_target @alignment.each_with_index { |p,j| - if p[0] > start_source + if p[0] > start_source @alignment[j][0] = [0,p.first-correct_src].max end if p[1] > start_target @@ -328,7 +328,7 @@ class Rule end j += 1 } - + el = [] new_rule.target.each { |i| if i.is_a? Range -- cgit v1.2.3