From 7d29a7baf144090f61c8f0b9665bab7eb271f3a2 Mon Sep 17 00:00:00 2001 From: graehl Date: Fri, 23 Jul 2010 21:31:30 +0000 Subject: more FF_FSA_DEBUG logs git-svn-id: https://ws10smt.googlecode.com/svn/trunk@388 ec762483-ff6d-05da-a07a-a48fb63a330f --- decoder/ff_from_fsa.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/decoder/ff_from_fsa.h b/decoder/ff_from_fsa.h index 42fa1e80..820f2433 100755 --- a/decoder/ff_from_fsa.h +++ b/decoder/ff_from_fsa.h @@ -141,7 +141,7 @@ public: const void* residual_state, FeatureVector* final_features) const { - ff.init_features(final_features); // estimated_features is fresh + ff.init_features(final_features); Sentence const& ends=ff.end_phrase(); if (!ssz) { AccumFeatures(ff,smeta,begin(ends),end(ends),final_features,0); @@ -150,19 +150,23 @@ public: SP ss=ff.start_state(); WP l=(WP)residual_state,lend=left_end(residual_state); SP rst=fsa_state(residual_state); + FSAFFDBG("(FromFsa) Final "< score(full left unscored phrase) + FSAFFDBG(" left: "<") + FSAFFDBG(" right: "< "<