Re: [Moses-support] moses_chart: usage information for phrase_extract
Hi, thanks for catching this - I fixed it. -phi On Fri, Feb 5, 2010 at 1:01 AM, Christof Pintaske christof.pinta...@sun.com wrote: Hi, here's a minor discovery in phrase_extract phrase_extract does not give any usage information, even though it seems somebody had the intention to do so: if (argc 1) { cerr syntax: relax-parse in-parse out-parse [ --LeftBinarize | ---RightBinarize | --SAMT 1-4 ] endl; exit(1); } argc is of course always 1 or greater. It would be great if phrase_extract would support something like --help or -h. Or maybe require at least one argument and then provides usage on if (argc 2) of course this is just minor stuff. best regards Christof ___ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support ___ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support
Re: [Moses-support] moses_chart: usage information for phrase_extract
hi christof i can't find the file you're referring to. if you can send me a diff of the change, i'll check it in On 5 February 2010 01:01, Christof Pintaske christof.pinta...@sun.comwrote: Hi, here's a minor discovery in phrase_extract phrase_extract does not give any usage information, even though it seems somebody had the intention to do so: if (argc 1) { cerr syntax: relax-parse in-parse out-parse [ --LeftBinarize | ---RightBinarize | --SAMT 1-4 ] endl; exit(1); } argc is of course always 1 or greater. It would be great if phrase_extract would support something like --help or -h. Or maybe require at least one argument and then provides usage on if (argc 2) of course this is just minor stuff. best regards Christof ___ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support ___ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support
[Moses-support] moses_chart: usage information for phrase_extract
Hi, here's a minor discovery in phrase_extract phrase_extract does not give any usage information, even though it seems somebody had the intention to do so: if (argc 1) { cerr syntax: relax-parse in-parse out-parse [ --LeftBinarize | ---RightBinarize | --SAMT 1-4 ] endl; exit(1); } argc is of course always 1 or greater. It would be great if phrase_extract would support something like --help or -h. Or maybe require at least one argument and then provides usage on if (argc 2) of course this is just minor stuff. best regards Christof ___ Moses-support mailing list Moses-support@mit.edu http://mailman.mit.edu/mailman/listinfo/moses-support