Skip to content

Commit

Permalink
Merge branch 'master' of github.com:moses-smt/mosesdecoder
Browse files Browse the repository at this point in the history
  • Loading branch information
hieuhoang committed Apr 12, 2014
2 parents 46cef77 + 40c819d commit 7521318
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion moses/LM/BackwardTest.cpp
Expand Up @@ -159,7 +159,9 @@ class BackwardLanguageModelTest

BOOST_CHECK( oovCount == 0 );
SLOPPY_CHECK_CLOSE( TransformLMScore(p_licenses + p_the_licenses), fullScore, 0.01);
SLOPPY_CHECK_CLOSE( TransformLMScore( 0.0 ), ngramScore, 0.01);
// Check ngramScore is 0.0
BOOST_CHECK_GT(0.0001, ngramScore);
BOOST_CHECK_LT(-0.0001, ngramScore);
}

// the licenses for
Expand Down

0 comments on commit 7521318

Please sign in to comment.