diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-11-06 14:51:14 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-11-06 14:51:14 +0300 |
commit | d3e79a63edc0be88bd603455462b1e8161208608 (patch) | |
tree | e2d9f70c5f7609d3842be6bcf0a2d1cb1aff0182 /moses/ExportInterface.cpp | |
parent | 713ba3b2c40fb172a8588f179c33c97026c591a2 (diff) |
count number of hypos
Diffstat (limited to 'moses/ExportInterface.cpp')
-rw-r--r-- | moses/ExportInterface.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/moses/ExportInterface.cpp b/moses/ExportInterface.cpp index f35efac15..e70b0c769 100644 --- a/moses/ExportInterface.cpp +++ b/moses/ExportInterface.cpp @@ -66,6 +66,8 @@ using namespace Moses; namespace Moses { +extern size_t g_numHypos; + void OutputFeatureWeightsForHypergraph(std::ostream &outputSearchGraphStream) { outputSearchGraphStream.setf(std::ios::fixed); @@ -334,5 +336,8 @@ int decoder_main(int argc, char** argv) return EXIT_FAILURE; } #endif + + cerr << "g_numHypos=" << Moses::g_numHypos << endl; + } |