We showcase the framework using Recurrent Neural Network Grammars (RNNGs;<cite> Dyer et al. 2016</cite> ), a recently proposed probabilistic model of phrase-structure trees based on neural transition systems.