diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-08-13 13:33:04 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-08-13 13:33:04 +0400 |
commit | 4676bca90ff8e67df4c3c034153a70dc25585d4c (patch) | |
tree | 25121e454d32ab97bc7bd38a3174082064a4c518 /moses/RuleCubeItem.h | |
parent | 154ca336d691f787cf75e59e27aa963a00c62c81 (diff) |
minor renaming
Diffstat (limited to 'moses/RuleCubeItem.h')
-rw-r--r-- | moses/RuleCubeItem.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/moses/RuleCubeItem.h b/moses/RuleCubeItem.h index 2c086f0b3..0abc905f7 100644 --- a/moses/RuleCubeItem.h +++ b/moses/RuleCubeItem.h @@ -53,16 +53,16 @@ public: return m_pos+1 < m_orderedTargetPhrases.size(); } - const boost::shared_ptr<ChartTranslationOption> &GetTargetPhrase() const { + const boost::shared_ptr<ChartTranslationOption> &GetTranslationOption() const { return m_orderedTargetPhrases[m_pos]; } bool operator<(const TranslationDimension &compare) const { - return GetTargetPhrase() < compare.GetTargetPhrase(); + return GetTranslationOption()->GetPhrase() < compare.GetTranslationOption()->GetPhrase(); } bool operator==(const TranslationDimension &compare) const { - return GetTargetPhrase() == compare.GetTargetPhrase(); + return GetTranslationOption()->GetPhrase() == compare.GetTranslationOption()->GetPhrase(); } private: |