From 967e1c98980b07909b03ff5e3e71442cbeb216e8 Mon Sep 17 00:00:00 2001
From: Patrick Simianer
Date: Wed, 19 Oct 2011 20:56:22 +0200
Subject: merged, compiles but not working
---
decoder/ff_klm.cc | 19 -------------------
1 file changed, 19 deletions(-)
(limited to 'decoder')
diff --git a/decoder/ff_klm.cc b/decoder/ff_klm.cc
index 28bcb6b9..ed6f731e 100644
--- a/decoder/ff_klm.cc
+++ b/decoder/ff_klm.cc
@@ -392,22 +392,3 @@ std::string KLanguageModelFactory::usage(bool params,bool verbose) const {
return KLanguageModel::usage(params, verbose);
}
- switch (m) {
- case HASH_PROBING:
- return CreateModel(param);
- case TRIE_SORTED:
- return CreateModel(param);
- case ARRAY_TRIE_SORTED:
- return CreateModel(param);
- case QUANT_TRIE_SORTED:
- return CreateModel(param);
- case QUANT_ARRAY_TRIE_SORTED:
- return CreateModel(param);
- default:
- UTIL_THROW(util::Exception, "Unrecognized kenlm binary file type " << (unsigned)m);
- }
-}
-
-std::string KLanguageModelFactory::usage(bool params,bool verbose) const {
- return KLanguageModel::usage(params, verbose);
-}
--
cgit v1.2.3