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:
-rw-r--r--moses2/TranslationModel/MSPT/MSPT.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/moses2/TranslationModel/MSPT/MSPT.cpp b/moses2/TranslationModel/MSPT/MSPT.cpp
index 17dea92a0..529efbb69 100644
--- a/moses2/TranslationModel/MSPT/MSPT.cpp
+++ b/moses2/TranslationModel/MSPT/MSPT.cpp
@@ -6,6 +6,7 @@
*/
#include <cassert>
+#include <sstream>
#include <boost/foreach.hpp>
#include "MSPT.h"
#include "../../PhraseBased/PhraseImpl.h"
@@ -66,7 +67,7 @@ MSPT::~MSPT()
// vector<string> toks;
// size_t lineNum = 0;
-// InputFileStream strme(m_path);
+// istringstream strme(phraseTableString);
// string line;
// while (getline(strme, line)) {
// if (++lineNum % 1000000 == 0) {
@@ -159,7 +160,7 @@ void MSPT::InitializeForInput(const InputType &input)
// downcast to SentenceWithCandidates
const SentenceWithCandidates& inputObj = dynamic_cast<const SentenceWithCandidates&>(input);
cerr << "Casting done." << endl;
- // cerr << "PhraseTableString member: " << inputObj.getPhraseTableString() << endl;
+ cerr << "PhraseTableString member: " << inputObj.getPhraseTableString() << endl;
}