diff options
author | Patrick Simianer <simianer@cl.uni-heidelberg.de> | 2012-05-15 00:44:03 +0200 |
---|---|---|
committer | Patrick Simianer <simianer@cl.uni-heidelberg.de> | 2012-05-15 00:44:03 +0200 |
commit | 78a0ee61c2d2d846306b60a8ac862a2d649bcf59 (patch) | |
tree | 7fe54c5f63c360a6d43428a57386ac934394dc51 /dtrain/score.h | |
parent | fb42639b433d2fc0c68f300666be1192dc3b4f59 (diff) |
loss margin cfg, XYX improved, smooth bleu variant
Diffstat (limited to 'dtrain/score.h')
-rw-r--r-- | dtrain/score.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dtrain/score.h b/dtrain/score.h index eb8ad912..d4fba22c 100644 --- a/dtrain/score.h +++ b/dtrain/score.h @@ -128,6 +128,11 @@ struct SmoothBleuScorer : public LocalScorer score_t Score(vector<WordID>& hyp, vector<WordID>& ref, const unsigned /*rank*/, const unsigned /*src_len*/); }; +struct SmoothSingleBleuScorer : public LocalScorer +{ + score_t Score(vector<WordID>& hyp, vector<WordID>& ref, const unsigned /*rank*/, const unsigned /*src_len*/); +}; + struct ApproxBleuScorer : public BleuScorer { NgramCounts glob_onebest_counts_; |