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:
authorRico Sennrich <rico.sennrich@gmx.ch>2014-09-16 19:36:45 +0400
committerRico Sennrich <rico.sennrich@gmx.ch>2014-09-22 13:49:20 +0400
commit6810b225ccd673c7684ab9b62e0daa0a7af054f3 (patch)
tree570de70e3e57af2bc13782c09e222599c7b26e5d /mert/BleuScorerTest.cpp
parentf40bb2c53c2dcd832bde9e987c921171e2d1e581 (diff)
calculateScore with float (for smoothing support)
Diffstat (limited to 'mert/BleuScorerTest.cpp')
-rw-r--r--mert/BleuScorerTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mert/BleuScorerTest.cpp b/mert/BleuScorerTest.cpp
index a63196a3b..e223c25b1 100644
--- a/mert/BleuScorerTest.cpp
+++ b/mert/BleuScorerTest.cpp
@@ -235,7 +235,7 @@ BOOST_AUTO_TEST_CASE(bleu_clipped_counts)
BOOST_AUTO_TEST_CASE(calculate_actual_score)
{
BOOST_REQUIRE(4 == kBleuNgramOrder);
- std::vector<int> stats(2 * kBleuNgramOrder + 1);
+ std::vector<ScoreStatsType> stats(2 * kBleuNgramOrder + 1);
BleuScorer scorer;
// unigram