Hi,
I was working on word-lattice decoding functionality of Moses decoder. In
order to do that, I need to put the morphologically analysed input text into
form of PLF, mentioned on http://www.statmt.org/moses/?n=Moses.WordLattices.
In PLF, each edge includes the information of the produced string
Hi Mehmet,
The following lattice will do what you are asking for, I think:
((('x',0.5,1),('xy',0.5,2)),(('yz',1,2),),(('z',1,1),),)
The trick is ot use the last element of the tuples to indicate what
node the edge ends up in. The first two nodes, have single edges
leaving, but the edges don't