2010-05-27 12:37:25 +04:00
|
|
|
// $Id: MainMT.cpp 3045 2010-04-05 13:07:29Z hieuhoang1972 $
|
2006-07-04 22:04:38 +04:00
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
Moses - factored phrase-based language decoder
|
2010-05-27 12:37:25 +04:00
|
|
|
Copyright (C) 2009 University of Edinburgh
|
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU Lesser General Public
|
|
|
|
License as published by the Free Software Foundation; either
|
|
|
|
version 2.1 of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
This library is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
Lesser General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Lesser General Public
|
|
|
|
License along with this library; if not, write to the Free Software
|
|
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
2006-07-04 22:04:38 +04:00
|
|
|
***********************************************************************/
|
|
|
|
|
2010-05-27 12:37:25 +04:00
|
|
|
/**
|
2015-02-05 22:35:49 +03:00
|
|
|
* Moses main wrapper for executable for single-threaded and multi-threaded, simply calling decoder_main.
|
2010-05-27 12:37:25 +04:00
|
|
|
**/
|
2015-02-05 22:35:49 +03:00
|
|
|
#include "moses/ExportInterface.h"
|
2015-10-02 22:12:39 +03:00
|
|
|
#include "util/string_stream.hh"
|
2012-07-02 20:05:11 +04:00
|
|
|
|
2011-03-02 22:02:07 +03:00
|
|
|
/** main function of the command line version of the decoder **/
|
2011-02-24 15:39:29 +03:00
|
|
|
int main(int argc, char** argv)
|
|
|
|
{
|
2015-02-05 22:35:49 +03:00
|
|
|
return decoder_main(argc, argv);
|
2006-07-04 22:04:38 +04:00
|
|
|
}
|
2015-02-05 22:35:49 +03:00
|
|
|
|