When the syntactic parser fails to output a parse tree for a sentence, we encode the sentence with the sequential encoder by setting h (phr) root = 0.
our encoder differs from the original Tree-LSTM in the calculation of the LSTM units for the leaf nodes.