Hi,

On Sat, Jun 16, 2012 at 11:18 AM, Fong Po Po <[email protected]> wrote:
>            If users want to translate one file, they can type one command
> to do decoding of Moses and translate it, this command like this:
>
> <path to binary file of Moses> -f <configuration file> <input file>
> <output file>
>
>           If users want to translate one sentence, they can type one
> command to do decoding of Moses and translate it, this command like this:
>
> echo <sentence to be translated> | <path to binary file of Moses> -f
> <configuration file>
>
>        If users have not specified output file in their command to do
> decoding, is the output result only printed on screen, not saved in output
> file?

This is not exactly right. By default, Moses expects input in STDIN and
prints translations in STDOUT. The input can be re-directed with the
switch "-input-file" to a file. Output is always STDOUT, there is no switch
to change it.

-phi

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to