Linguistic Knowledge for Neural Language Generation and Machine Translation