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
diff options
context:
space:
mode:
authorHieu Hoang <hieuhoang@gmail.com>2015-11-06 14:51:14 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-11-06 14:51:14 +0300
commitd3e79a63edc0be88bd603455462b1e8161208608 (patch)
treee2d9f70c5f7609d3842be6bcf0a2d1cb1aff0182 /moses/ExportInterface.cpp
parent713ba3b2c40fb172a8588f179c33c97026c591a2 (diff)
count number of hypos
Diffstat (limited to 'moses/ExportInterface.cpp')
-rw-r--r--moses/ExportInterface.cpp5
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;
+
}