00001 // 00002 // PhraseDictionaryALSuffixArray.h 00003 // moses 00004 // 00005 // Created by Hieu Hoang on 06/11/2011. 00006 // Copyright 2011 __MyCompanyName__. All rights reserved. 00007 // 00008 00009 #ifndef moses_PhraseDictionaryALSuffixArray_h 00010 #define moses_PhraseDictionaryALSuffixArray_h 00011 00012 #include "moses/TranslationModel/PhraseDictionaryMemory.h" 00013 00014 namespace Moses 00015 { 00016 00022 class PhraseDictionaryALSuffixArray : public PhraseDictionaryMemory 00023 { 00024 public: 00025 PhraseDictionaryALSuffixArray(const std::string &line); 00026 void Load(AllOptions::ptr const& opts); 00027 void InitializeForInput(ttasksptr const& ttask); 00028 void CleanUpAfterSentenceProcessing(const InputType& source); 00029 00030 protected: 00031 00032 }; 00033 00034 00035 } 00036 00037 #endif