00001 // -*- mode: c++; indent-tabs-mode: nil; tab-width: 2 -*- 00002 #pragma once 00003 #include <string> 00004 #include "moses/Parameter.h" 00005 #include "moses/TypeDef.h" 00006 #include "moses/Util.h" 00007 #include "OptionsBaseClass.h" 00008 00009 namespace Moses 00010 { 00011 00012 class ContextParameters : public OptionsBaseClass 00013 { 00014 public: 00015 ContextParameters(); 00016 bool init(Parameter const& params); 00017 size_t look_ahead; // # of words to look ahead for context-sensitive decoding 00018 size_t look_back; // # of works to look back for context-sensitive decoding 00019 std::string context_string; // fixed context string specified on command line 00020 }; 00021 00022 }