Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lm
diff options
context:
space:
mode:
authorKenneth Heafield <kenlm@kheafield.com>2012-01-14 10:23:54 +0400
committerKenneth Heafield <kenlm@kheafield.com>2012-01-14 10:23:54 +0400
commit23c79b81693e883172737c5ea7ee02112f14174b (patch)
treea14884ce0ca7f9fc3999cb5ad85c70d2d7e5b387 /lm
parente36ab4fcdf4662dab4609b033eccac2f28d478a1 (diff)
Remove uncalled and broken function
Diffstat (limited to 'lm')
-rw-r--r--lm/ngram_query.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/lm/ngram_query.cc b/lm/ngram_query.cc
index 19a63fb25..3603cf25a 100644
--- a/lm/ngram_query.cc
+++ b/lm/ngram_query.cc
@@ -1,12 +1,5 @@
#include "lm/ngram_query.hh"
-
-template <class Model> void Query(const char *name) {
- lm::ngram::Config config;
- Model model(name, config, std::cin, std::cout);
- Query(model);
-}
-
int main(int argc, char *argv[]) {
if (!(argc == 2 || (argc == 3 && !strcmp(argv[2], "null")))) {
std::cerr << "Usage: " << argv[0] << " lm_file [null]" << std::endl;