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:
authorHieu Hoang <hieu@hoang.co.uk>2013-08-13 13:33:04 +0400
committerHieu Hoang <hieu@hoang.co.uk>2013-08-13 13:33:04 +0400
commit4676bca90ff8e67df4c3c034153a70dc25585d4c (patch)
tree25121e454d32ab97bc7bd38a3174082064a4c518 /moses/RuleCubeItem.h
parent154ca336d691f787cf75e59e27aa963a00c62c81 (diff)
minor renaming
Diffstat (limited to 'moses/RuleCubeItem.h')
-rw-r--r--moses/RuleCubeItem.h6
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: