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>2013-12-12 00:03:30 +0400
committerHieu Hoang <hieuhoang@gmail.com>2013-12-12 00:03:30 +0400
commitbc9ce334d0e432e210cc57c2a99e20e53e62f52e (patch)
treef73b7837d5e4bb8bc8a95cc475c02aa27638d232 /moses/ChartTranslationOptions.h
parentfb356606e9c0177a2618d036296424cd2783395b (diff)
more debug functions
Diffstat (limited to 'moses/ChartTranslationOptions.h')
-rw-r--r--moses/ChartTranslationOptions.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/moses/ChartTranslationOptions.h b/moses/ChartTranslationOptions.h
index 02791eaed..7dd930118 100644
--- a/moses/ChartTranslationOptions.h
+++ b/moses/ChartTranslationOptions.h
@@ -59,6 +59,9 @@ public:
static float CalcEstimateOfBestScore(const TargetPhraseCollection &,
const StackVec &);
+ size_t GetSize() const
+ { return m_collection.size(); }
+
//! @todo dunno
const StackVec &GetStackVec() const {
return m_stackVec;