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:
authorhieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230>2006-07-08 08:44:12 +0400
committerhieuhoang1972 <hieuhoang1972@1f5c12ca-751b-0410-a591-d2e778427230>2006-07-08 08:44:12 +0400
commit1b9437bfd54ea13f8ed67e99fe9cfe1cc0c83d1e (patch)
tree2d5ea57fc1f93bb39f76bc7fe1975d7487bcbc34 /moses-cmd
parentaf6d8fdb53834b2516cf10cb16bb44fc41fd989e (diff)
variable number of translation component scores
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@15 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'moses-cmd')
-rwxr-xr-xmoses-cmd/src/IOCommandLine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses-cmd/src/IOCommandLine.cpp b/moses-cmd/src/IOCommandLine.cpp
index 67fdb6711..270cbf49d 100755
--- a/moses-cmd/src/IOCommandLine.cpp
+++ b/moses-cmd/src/IOCommandLine.cpp
@@ -142,7 +142,7 @@ void IOCommandLine::SetNBest(const LatticePathList &nBestList, long translationI
TransScoreComponentCollection::const_iterator iterTrans;
for (iterTrans = transScoreComponent.begin() ; iterTrans != transScoreComponent.end() ; ++iterTrans)
{
- const TransScoreComponent &transScore = iterTrans->second;
+ const TransScoreComponent &transScore = *iterTrans->second;
for (size_t i = 0 ; i < transScore.GetNoScoreComponent() ; i++)
{
m_nBestFile << transScore[i] << " ";