summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-01 18:20:39 +0000
committerredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-01 18:20:39 +0000
commit16a1e08d79ebe4e10ead48affc4074e8fcbc1b96 (patch)
treee62519c3996b0f0b52beba85dcf37a9202206b22
parent8c08cbaaedd3e3c1609fbf1e7f01171f3c528afe (diff)
use named features
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@89 ec762483-ff6d-05da-a07a-a48fb63a330f
-rw-r--r--extools/score_grammar.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/extools/score_grammar.cc b/extools/score_grammar.cc
index 534b6295..f831ed28 100644
--- a/extools/score_grammar.cc
+++ b/extools/score_grammar.cc
@@ -338,8 +338,8 @@ int main(int argc, char** argv){
scored_grammar << TD::GetString(cur_key);
scored_grammar << " " << TD::GetString(it->first) << " |||";
- scored_grammar << " " << safenlog(pFE_) << " " << safenlog(pEF_);
- scored_grammar << " " << safenlog(final_lex_e2f) << " " << safenlog(final_lex_f2e) << endl;
+ scored_grammar << " FGivenE=" << safenlog(pFE_) << " EGivenF=" << safenlog(pEF_);
+ scored_grammar << " LexE2F=" << safenlog(final_lex_e2f) << " LexF2E=" << safenlog(final_lex_f2e) << endl;
}
}
}