From 30c3f2b7186e6dc19acb8856b280b8dd97d1f679 Mon Sep 17 00:00:00 2001 From: Kenneth Heafield Date: Mon, 16 Jul 2012 10:50:56 -0400 Subject: Fix slow backoff lookup --- klm/lm/model.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'klm/lm/model.cc') diff --git a/klm/lm/model.cc b/klm/lm/model.cc index c081788c..a2d31ce0 100644 --- a/klm/lm/model.cc +++ b/klm/lm/model.cc @@ -53,9 +53,6 @@ template void GenericModel void GenericModel::InitializeFromARPA(const char *file, const Config &config) { // Backing file is the ARPA. Steal it so we can make the backing file the mmap output if any. util::FilePiece f(backing_.file.release(), file, config.messages); @@ -126,7 +123,7 @@ template FullScoreReturn GenericModel