Latent Grammar Flow