summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}
}
}