Thank you Hieu.

2013/1/24 Hieu Hoang <[email protected]>

> The same function in ChartManager should be what you want
>
> Hieu
> Sent while bumping into things
>
> On 24 Jan 2013, at 05:55 PM, "Jesús González Rubio" <
> [email protected]> wrote:
>
> Thanks Christian.
>
> I have read the code of OutputSearchNode and it seems to be designed to
> write a word-grap, not a hypergraph. ¿May be possible that OutputSearchNode
> is the function called when the -osg option is passed to moses, and a
> different function is called for the same option of moses-chart?
>
> These are two example lines of the search graph generated by moses-chat
> and do not seem to match the format followed by OutputSearchNode.
> 0 228 i go :: pC=-2.69474, c=-4.29439 [1..2] [total=-4.29439] <<-0.868589,
> 0, -4.93649, -0.538997, -4.52822, -4.26469, -5.14167, 0.999896, 0>>
> 0 245->228 X go :0-0 : pC=-3.04609, c=-4.20798 [1..2] 1 [total=-4.70939]
> <<-0.868589, 0, -4.93649, -4.14475, -4.52822, -3.73385, -5.14167, 1.99979,
> 0>>
>
> Cheers.
>
>
> 2013/1/24 Christian Buck <[email protected]>
>
>> Hi,
>>
>> I am not aware of updated documentation on this. Your best chance is
>> probably to read through
>>
>> void OutputSearchNode
>>
>> in moses/src/Manager.cpp which is pretty readable.
>>
>> cheers,
>> Christian
>>
>> On 24/01/13 17:24, Jesús González Rubio wrote:
>> > Hi,
>> >
>> > I'm generating some translations using the -osg option of moses-chart
>> > and I have some difficulties to fully understand the format in which the
>> > search hypergraph is outputted. ¿Is there a description of the osg
>> > format available?
>> >
>> > Cheers.
>> > --
>> > Jesús
>> >
>> >
>> > _______________________________________________
>> > Moses-support mailing list
>> > [email protected]
>> > http://mailman.mit.edu/mailman/listinfo/moses-support
>> >
>> _______________________________________________
>> Moses-support mailing list
>> [email protected]
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>
>
>
>
> --
> Jesús
>
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>


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

Reply via email to