Training Neural Machine Translation To Apply Terminology Constraints