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:
authorHieu Hoang <fishandfrolick@gmail.com>2012-06-23 05:07:05 +0400
committerHieu Hoang <fishandfrolick@gmail.com>2012-06-23 05:07:05 +0400
commitb1ca36387f419dae004505e04e93f7b6f896938d (patch)
tree6b40724a71c04eb5b710d88b908157955bb30439 /mert/PermutationScorer.h
parent7d19fe13ae613d07c3690f6849ce811726ce1169 (diff)
mert now compiles with PermScorer. However, didn't implement score() - assert(false). Update Jamfile
Diffstat (limited to 'mert/PermutationScorer.h')
-rw-r--r--mert/PermutationScorer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mert/PermutationScorer.h b/mert/PermutationScorer.h
index 20e2ad927..30b3dcfb4 100644
--- a/mert/PermutationScorer.h
+++ b/mert/PermutationScorer.h
@@ -39,6 +39,9 @@ public:
return true;
};
+ void score(const candidates_t& candidates, const diffs_t& diffs,
+ statscores_t& scores) const;
+
protected:
statscore_t calculateScore(const std::vector<statscore_t>& scores);
PermutationScorer(const PermutationScorer&);