cstlstm
cstlstm copied to clipboard
How to get the embedding for each node w.r.t. their original order.
For example, given an input sentence "w1, w2, w3 w4", we feed it to the treeLSTM (ChildSumTreeLSTMEncoder), and get an encoding object. What should I do to obtain the representation r1, r2, r3, r4 for w1, w2, w3, w4, respectively?