Dear Samish,

as you can get from the manual's page
http://www.statmt.org/moses/?n=Moses.DecoderParameters
-output-word-graph (-owg): Output stack info as word graph. Takes filename, 
0=only hypos in stack, 1=stack + nbest hypos

in other words:
-output-word-graph FILE [0|1]
or similarly the shortname version
-owg FILE [0|1]

where you can choose 0 or 1 according to the description




Possibly you are also interested in the paragraph "-output-search-graph"
See the section "Output Search Graph"  of this manual's page
http://www.statmt.org/moses/?n=Moses.AdvancedFeatures

Nicola


On 10/28/09 6:48 PM, "Samidh Chatterjee" <[email protected]> wrote:

Hi,

I have a quick question about the decoder flag "-owg". I passed it as "-owg 0 
<filename>" and it produced a filename called "0" !!! From the reference it was 
not clear whether the <filename> precedes the binary flag, but when I did so, 
it behaved the same way as if this flag has not been passed. With option I 
mentioned at first, it showed a message "Scan<bool>: didn't understand 
'working-dir/graph', returning false".  I have no idea what did this mean, I am 
trying to find it out from the code, without any success yet.

Also, I do not understand the content of the file "0"!

Any help on this will be greatly appreciated.

Samidh




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

Reply via email to