diff options
author | Patrick Simianer <p@simianer.de> | 2011-10-19 21:41:00 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2011-10-19 21:41:00 +0200 |
commit | 1f54c7b765d4f933f4b631f265933f28e4ae2c93 (patch) | |
tree | 884bc61734d05ad0a8a3d906be002fc30699ea89 /klm/lm/model_test.cc | |
parent | 967e1c98980b07909b03ff5e3e71442cbeb216e8 (diff) |
debug
Diffstat (limited to 'klm/lm/model_test.cc')
-rw-r--r-- | klm/lm/model_test.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/klm/lm/model_test.cc b/klm/lm/model_test.cc index 3585d34b..2654071f 100644 --- a/klm/lm/model_test.cc +++ b/klm/lm/model_test.cc @@ -264,14 +264,6 @@ template <class M> void NoUnkCheck(const M &model) { BOOST_CHECK_CLOSE(-100.0, ret.prob, 0.001); } -template <class M> void NoUnkCheck(const M &model) { - WordIndex unk_index = 0; - State state; - - FullScoreReturn ret = model.FullScoreForgotState(&unk_index, &unk_index + 1, unk_index, state); - BOOST_CHECK_CLOSE(-100.0, ret.prob, 0.001); -} - template <class M> void Everything(const M &m) { Starters(m); Continuation(m); |