diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-02-22 23:17:57 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-02-22 23:17:57 +0400 |
commit | 194adf81308b4b0d82c2710d3ea47a5882d1cdce (patch) | |
tree | dd0c3530e61883c62a3b31eb408a4aa408ee7954 /moses/DecodeStep.cpp | |
parent | 5e23eb502d94aae7829d40b220c8e760e506f432 (diff) |
change format for phrase model
Diffstat (limited to 'moses/DecodeStep.cpp')
-rw-r--r-- | moses/DecodeStep.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/DecodeStep.cpp b/moses/DecodeStep.cpp index a4ab70d3e..0bb71a6eb 100644 --- a/moses/DecodeStep.cpp +++ b/moses/DecodeStep.cpp @@ -50,9 +50,9 @@ DecodeStep::DecodeStep(const DecodeFeature *decodeFeature, const DecodeStep* pre DecodeStep::~DecodeStep() {} /** returns phrase feature (dictionary) for translation step */ -const PhraseDictionaryFeature* DecodeStep::GetPhraseDictionaryFeature() const +const PhraseDictionary* DecodeStep::GetPhraseDictionaryFeature() const { - return dynamic_cast<const PhraseDictionaryFeature*>(m_decodeFeature); + return dynamic_cast<const PhraseDictionary*>(m_decodeFeature); } /** returns generation feature (dictionary) for generation step */ |