, w i,l i from the root to a leaf.
this can be easily represented as a loop that traverses the input sentence from left to right, linking each word to another from the same sentence or to the dummy root.