diff options
author | Rico Sennrich <rico.sennrich@gmx.ch> | 2014-09-16 19:36:45 +0400 |
---|---|---|
committer | Rico Sennrich <rico.sennrich@gmx.ch> | 2014-09-22 13:49:20 +0400 |
commit | 6810b225ccd673c7684ab9b62e0daa0a7af054f3 (patch) | |
tree | 570de70e3e57af2bc13782c09e222599c7b26e5d /mert/BleuScorerTest.cpp | |
parent | f40bb2c53c2dcd832bde9e987c921171e2d1e581 (diff) |
calculateScore with float (for smoothing support)
Diffstat (limited to 'mert/BleuScorerTest.cpp')
-rw-r--r-- | mert/BleuScorerTest.cpp | 2 |
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 |