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:
authorpjwilliams <pjwilliams@1f5c12ca-751b-0410-a591-d2e778427230>2011-07-19 01:44:27 +0400
committerpjwilliams <pjwilliams@1f5c12ca-751b-0410-a591-d2e778427230>2011-07-19 01:44:27 +0400
commitbeba4b475f7dd349073d3e0d8e720837deb2401b (patch)
treef022f0ea4f87fc5b78cf6cc55f309d389d33bbaf /moses-chart-cmd
parent1190b75528ca797286985c90aa3d84e37ea0a1a3 (diff)
moses_chart: merge DottedRule and CoveredChartSpan classes. This saves
some memory for models that require a lot of lookup state (generally grammars with lots of target categories). git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@4078 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'moses-chart-cmd')
-rw-r--r--moses-chart-cmd/src/IOWrapper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/moses-chart-cmd/src/IOWrapper.cpp b/moses-chart-cmd/src/IOWrapper.cpp
index 31ec4c4ee..48f9bd7ca 100644
--- a/moses-chart-cmd/src/IOWrapper.cpp
+++ b/moses-chart-cmd/src/IOWrapper.cpp
@@ -45,7 +45,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include "ChartTrellisPath.h"
#include "ChartTranslationOption.h"
#include "ChartHypothesis.h"
-#include "CoveredChartSpan.h"
+#include "DotChart.h"
using namespace std;
@@ -229,7 +229,7 @@ void OutputTranslationOptions(std::ostream &out, const ChartHypothesis *hypo, lo
if (hypo != NULL) {
out << "Trans Opt " << translationId
<< " " << hypo->GetCurrSourceRange()
- << ": " << hypo->GetTranslationOption().GetLastCoveredChartSpan()
+ << ": " << hypo->GetTranslationOption().GetDottedRule()
<< ": " << hypo->GetCurrTargetPhrase().GetTargetLHS()
<< "->" << hypo->GetCurrTargetPhrase()
<< " " << hypo->GetTotalScore() << hypo->GetScoreBreakdown()