Latent Attention For If-Then Program Synthesis