From 1c47931c5669099899e2d2667f87e191e7aa2dbd Mon Sep 17 00:00:00 2001 From: "linh.kitty" Date: Fri, 16 Jul 2010 20:34:09 +0000 Subject: add git-svn-id: https://ws10smt.googlecode.com/svn/trunk@291 ec762483-ff6d-05da-a07a-a48fb63a330f --- gi/scfg/abc/Release/scfg | Bin 4437132 -> 4438644 bytes gi/scfg/abc/agrammar.h | 2 +- gi/scfg/abc/scfg.cpp | 6 ++++++ 3 files changed, 7 insertions(+), 1 deletion(-) (limited to 'gi/scfg/abc') diff --git a/gi/scfg/abc/Release/scfg b/gi/scfg/abc/Release/scfg index 41b6b583..3faa52cc 100755 Binary files a/gi/scfg/abc/Release/scfg and b/gi/scfg/abc/Release/scfg differ diff --git a/gi/scfg/abc/agrammar.h b/gi/scfg/abc/agrammar.h index 0a8a60ac..0910aae6 100644 --- a/gi/scfg/abc/agrammar.h +++ b/gi/scfg/abc/agrammar.h @@ -9,7 +9,7 @@ using namespace std; class aTRule: public TRule{ public: - aTRuleTRule : TRule(){ResetScore(0.00000001); } + aTRule() : TRule(){ResetScore(0.00000001); } aTRule(TRulePtr rule_); void ResetScore(double initscore){//cerr<<"Reset Score "<AsString()<(g)->UpdateHgProsteriorProb(hg); hg.clear(); + if (k%1000 ==0 ) cerr<<"sentences "<