summaryrefslogtreecommitdiff
path: root/hopefear.rb
diff options
context:
space:
mode:
Diffstat (limited to 'hopefear.rb')
-rw-r--r--hopefear.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/hopefear.rb b/hopefear.rb
index ef1fd43..49ef593 100644
--- a/hopefear.rb
+++ b/hopefear.rb
@@ -115,6 +115,7 @@ def gethopefear_fear_no_exec_hope_exec_skip kbest, feedback, gold, max
return hope, fear, skip, type1, type2
end
+# new variant w/ "real" reference
def gethopefear_only_exec kbest, feedback, gold, max, own_reference=nil
hope = fear = nil; hope_idx = 0; new_reference = nil
type1 = type2 = false