diff options
author | machacekmatous <machacekmatous@1f5c12ca-751b-0410-a591-d2e778427230> | 2011-08-20 19:25:19 +0400 |
---|---|---|
committer | machacekmatous <machacekmatous@1f5c12ca-751b-0410-a591-d2e778427230> | 2011-08-20 19:25:19 +0400 |
commit | 642e8dce953127f9b3250b91a8b903d418420c86 (patch) | |
tree | 2bb16eefd84880fe3b73c3ee756f3d497844f216 /mert/BleuScorer.h | |
parent | 63fd490a51be2faf34d6d6ef4ef8104b78814e6e (diff) |
Added evaluator to MERT directory. This tool computes a metric score for given candidate and reference files:
evaluator --sctype PER --reference ref.file --candidate cand.file
usage: evaluator [options] --reference ref1[,ref2[,ref3...]] --candidate cand1[,cand2[,cand3...]]
[--sctype|-s] the scorer type (default BLEU)
[--scconfig|-c] configuration string passed to scorer
This is of the form NAME1:VAL1,NAME2:VAL2 etc
[--reference|-R] comma separated list of reference files
[--candidate|-C] comma separated list of candidate files
[--bootstrap|-b] number of booststraped samples (default 0 - no bootstraping)
[--rseed|-r] the random seed for bootstraping (defaults to system clock)
[--help|-h] print this message and exit
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@4153 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'mert/BleuScorer.h')
-rw-r--r-- | mert/BleuScorer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mert/BleuScorer.h b/mert/BleuScorer.h index c2fce3f5c..73345775c 100644 --- a/mert/BleuScorer.h +++ b/mert/BleuScorer.h @@ -51,7 +51,7 @@ public: static const int LENGTH; size_t NumberOfScores() { - cerr << "BleuScorer: " << (2 * LENGTH + 1) << endl; + // cerr << "BleuScorer: " << (2 * LENGTH + 1) << endl; return (2 * LENGTH + 1); }; |