diff options
author | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2014-01-15 23:33:58 -0500 |
---|---|---|
committer | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2014-01-15 23:33:58 -0500 |
commit | 7f5aa4fbf1165b769265376269e0b46dfbb8b342 (patch) | |
tree | bf1b3a3a3d1089fe6a1eb09a0d739b478f61eed0 /training/dtrain/dtrain.h | |
parent | 7a1db9fe7cb79fdb5544a33ddc2f9f3612adf1ae (diff) | |
parent | aa5520768619eb15e0c1c70addbfaff0f150c345 (diff) |
Merge branch 'master' of github.com:redpony/cdec
Diffstat (limited to 'training/dtrain/dtrain.h')
-rw-r--r-- | training/dtrain/dtrain.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/training/dtrain/dtrain.h b/training/dtrain/dtrain.h index ccb5ad4d..eb23b813 100644 --- a/training/dtrain/dtrain.h +++ b/training/dtrain/dtrain.h @@ -64,7 +64,7 @@ struct LocalScorer vector<score_t> w_; virtual score_t - Score(vector<WordID>& hyp, vector<WordID>& ref, const unsigned rank, const unsigned src_len)=0; + Score(const vector<WordID>& hyp, const vector<WordID>& ref, const unsigned rank, const unsigned src_len)=0; virtual void Reset() {} // only for ApproxBleuScorer, LinearBleuScorer |