diff options
author | Hieu Hoang <fishandfrolick@gmail.com> | 2012-08-28 20:01:08 +0400 |
---|---|---|
committer | Hieu Hoang <fishandfrolick@gmail.com> | 2012-08-28 20:01:08 +0400 |
commit | c639cdbb38c3140454be62f4d88843f0bfa05aa8 (patch) | |
tree | c909c3a4669b170be3a93baa776b0ab433067846 /phrase-extract | |
parent | 4519b2b14c254ecefa9f01742ca20431c253943a (diff) |
binary hiero reordering feature. Integrated into train-model.perl and experiment.perl. In the 2nd to last position in phrase table, just in front of 2.718
Diffstat (limited to 'phrase-extract')
-rw-r--r-- | phrase-extract/score.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/phrase-extract/score.cpp b/phrase-extract/score.cpp index 8ce704f7d..af0c5466a 100644 --- a/phrase-extract/score.cpp +++ b/phrase-extract/score.cpp @@ -488,14 +488,6 @@ int calcCrossedNonTerm(const PHRASE &phraseS, const PhraseAlignment &bestAlignme for (int sourcePos = 0; sourcePos < alignedToS.size(); ++sourcePos) { const std::set<size_t> &targetSet = alignedToS[sourcePos]; - cerr << "size=" << targetSet.size() << " "; - std::set<size_t>::const_iterator iter; - for (iter = targetSet.begin(); iter != targetSet.end(); ++iter) - { - size_t targetPos = *iter; - cerr << sourcePos << "-" << targetPos << " "; - } - cerr << endl; WORD_ID wordId = phraseS[sourcePos]; const WORD &word = vcbS.getWord(wordId); |