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:
Diffstat (limited to 'scripts/training/phrase-extract/SentenceAlignment.cpp')
-rw-r--r--scripts/training/phrase-extract/SentenceAlignment.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/training/phrase-extract/SentenceAlignment.cpp b/scripts/training/phrase-extract/SentenceAlignment.cpp
index 33ec74813..a94a34e36 100644
--- a/scripts/training/phrase-extract/SentenceAlignment.cpp
+++ b/scripts/training/phrase-extract/SentenceAlignment.cpp
@@ -40,6 +40,7 @@ bool SentenceAlignment::processSourceSentence(const char * sourceString, int)
bool SentenceAlignment::create( char targetString[], char sourceString[], char alignmentString[], int sentenceID)
{
using namespace std;
+ this->sentenceID = sentenceID;
// process sentence strings and store in target and source members.
if (!processTargetSentence(targetString, sentenceID)) {