diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-08-05 16:46:54 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-08-05 16:46:54 +0400 |
commit | a83c166678de92e19c1008865f82d05d1885152e (patch) | |
tree | 024f80a08c64e3c89bbeef0d65462c64d2bdf988 /moses/Hypothesis.h | |
parent | 6872689bc236883d355359cd18a46265b5372fb2 (diff) |
delete Hypothesis::GetSourcePhrase(). Take it directly from TranslationOption::GetSourcePhrase()
Diffstat (limited to 'moses/Hypothesis.h')
-rw-r--r-- | moses/Hypothesis.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/moses/Hypothesis.h b/moses/Hypothesis.h index 3845fbd81..943574c36 100644 --- a/moses/Hypothesis.h +++ b/moses/Hypothesis.h @@ -70,7 +70,6 @@ protected: const Hypothesis* m_prevHypo; /*! backpointer to previous hypothesis (from which this one was created) */ // const Phrase &m_targetPhrase; /*! target phrase being created at the current decoding step */ const TargetPhrase &m_targetPhrase; /*! target phrase being created at the current decoding step */ - Phrase const* m_sourcePhrase; /*! input sentence */ WordsBitmap m_sourceCompleted; /*! keeps track of which words have been translated so far */ //TODO: how to integrate this into confusion network framework; what if //it's a confusion network in the end??? @@ -156,10 +155,6 @@ public: return m_currTargetWordsRange.GetEndPos() + 1; } - inline const Phrase* GetSourcePhrase() const { - return m_sourcePhrase; - } - std::string GetSourcePhraseStringRep(const std::vector<FactorType> factorsToPrint) const; std::string GetTargetPhraseStringRep(const std::vector<FactorType> factorsToPrint) const; std::string GetSourcePhraseStringRep() const; |