Currently I'm trying to build syntax-aware NMT model.
In this project, I need the sequence of one of three transition actions (SHIFT, REDUCE-L, REDUCE-R)
Similar to what is in the image a
This chunk represents the transition-based dependency for 2 sentences(1 for 1 chunk split by empty lines)
I'm using Syntaxnet
to get the dependency parse tree first, but it doesn't directly provide that transition action sequences.
It's results are as follows,
Is it possible to get the action sequences similar to this image? Is it possible to convert what is achieved from this image to the original image's format.