diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2013-09-28 22:06:04 +0400 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2013-09-28 22:06:04 +0400 |
commit | 9e890479a27d9b89d1b4216c28c729b611152f09 (patch) | |
tree | 87a0e99ac58f18b4eea6732d70e8cfa41f662f30 /moses/InputPath.h | |
parent | 9d9c43f9a780f807f86b2b1682afaeaae4a8ad35 (diff) |
get ready to do lattice for scfg
Diffstat (limited to 'moses/InputPath.h')
-rw-r--r-- | moses/InputPath.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/InputPath.h b/moses/InputPath.h index f05f1ffcb..f580e2ec5 100644 --- a/moses/InputPath.h +++ b/moses/InputPath.h @@ -34,13 +34,13 @@ protected: Phrase m_phrase; WordsRange m_range; const ScorePair *m_inputScore; - const NonTerminalSet m_sourceNonTerms; // for phrase-based model only std::map<const PhraseDictionary*, std::pair<const TargetPhraseCollection*, const void*> > m_targetPhrases; - // for syntax model onlu + // for syntax model only mutable std::vector<std::vector<const Word*> > m_ruleSourceFromInputPath; + const NonTerminalSet m_sourceNonTerms; bool SetPlaceholders(TargetPhrase *targetPhrase) const; |