Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormachacekmatous <machacekmatous@1f5c12ca-751b-0410-a591-d2e778427230>2011-08-20 19:25:19 +0400
committermachacekmatous <machacekmatous@1f5c12ca-751b-0410-a591-d2e778427230>2011-08-20 19:25:19 +0400
commit642e8dce953127f9b3250b91a8b903d418420c86 (patch)
tree2bb16eefd84880fe3b73c3ee756f3d497844f216 /mert/TerScorer.h
parent63fd490a51be2faf34d6d6ef4ef8104b78814e6e (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/TerScorer.h')
-rw-r--r--mert/TerScorer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mert/TerScorer.h b/mert/TerScorer.h
index aaba29fed..2f63676b6 100644
--- a/mert/TerScorer.h
+++ b/mert/TerScorer.h
@@ -38,7 +38,7 @@ public:
cerr << "I AM TerScorer" << std::endl;
}
size_t NumberOfScores() {
- cerr << "TerScorer: " << (LENGTH + 1) << endl;
+ // cerr << "TerScorer: " << (LENGTH + 1) << endl;
return (LENGTH + 1);
};