Sequence-to-SequenceLearningwith LatentNeuralGrammars