00001 //-*- c++ -*- 00002 #pragma once 00003 #include <vector> 00004 #include <string> 00005 namespace Moses { 00006 00007 // Function to splice the argument list (e.g. before handing it over to 00008 // Moses LoadParam() function. /filter/ is a vector of argument names 00009 // and the number of arguments after each of them 00010 void 00011 filter_arguments(int const argc_in, char const* const* const argv_in, 00012 int & argc_moses, char*** argv_moses, 00013 int & argc_other, char*** argv_other, 00014 std::vector<std::pair<std::string, int> > const& filter); 00015 00016 00017 } // namespace Moses