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
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support