diff options
Diffstat (limited to 'moses/src/PhraseDictionaryBase.cpp')
-rw-r--r-- | moses/src/PhraseDictionaryBase.cpp | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/moses/src/PhraseDictionaryBase.cpp b/moses/src/PhraseDictionaryBase.cpp deleted file mode 100644 index 76b0e52d3..000000000 --- a/moses/src/PhraseDictionaryBase.cpp +++ /dev/null @@ -1,28 +0,0 @@ -#include "PhraseDictionaryBase.h" -#include "StaticData.h" -#include "Input.h" - -PhraseDictionaryBase::PhraseDictionaryBase(size_t noScoreComponent) - : Dictionary(noScoreComponent),m_maxTargetPhrase(0) -{ - const_cast<ScoreIndexManager&>(StaticData::Instance()->GetScoreIndexManager()).AddScoreProducer(this); -} - -PhraseDictionaryBase::~PhraseDictionaryBase() {} - -const TargetPhraseCollection *PhraseDictionaryBase:: -GetTargetPhraseCollection(InputType const& src,WordsRange const& range) const -{ - return GetTargetPhraseCollection(src.GetSubString(range)); -} - -const std::string PhraseDictionaryBase::GetScoreProducerDescription() const -{ - return "Translation score, file=" + m_filename; -} - -unsigned int PhraseDictionaryBase::GetNumScoreComponents() const -{ - return this->GetNoScoreComponents(); -} - |