diff options
author | Kenneth Heafield <kenlm@kheafield.com> | 2012-01-14 10:23:54 +0400 |
---|---|---|
committer | Kenneth Heafield <kenlm@kheafield.com> | 2012-01-14 10:23:54 +0400 |
commit | 23c79b81693e883172737c5ea7ee02112f14174b (patch) | |
tree | a14884ce0ca7f9fc3999cb5ad85c70d2d7e5b387 /lm | |
parent | e36ab4fcdf4662dab4609b033eccac2f28d478a1 (diff) |
Remove uncalled and broken function
Diffstat (limited to 'lm')
-rw-r--r-- | lm/ngram_query.cc | 7 |
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; |